Skip to content

Commit cbf5519

Browse files
committed
tour bugfixes
1 parent 08b5c74 commit cbf5519

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

src/ui/tourSteps.js

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -244,23 +244,23 @@ export const getTours = (appContext) => {
244244
//primaryAction: { text: 'Open World Setup' },
245245
advanceOn: { type: 'event', eventName: EVENTS.VIEW_SHOWN, condition: (data) => data.contentComponentType === WorldSetupComponent }
246246
}, {
247-
element: () => '#world-setup-config-grid .world-config-cell:nth-child(5) .density-control',
248-
title: 'Step 6: Set Initial Density',
249-
content: "Let's test this ruleset in a denser environment. <span class=\"onboarding-highlight-text\">Set the density for the central world to 50%.</span>",
250-
//primaryAction: { text: 'Set Density' },
251-
onBeforeShow: () => showView({ desktop: { type: 'panel', name: 'worldsetup' }, mobile: { view: 'worlds' } }),
247+
element: () => '#world-setup-config-grid .world-config-cell:nth-child(5) [data-action="edit-state"]',
248+
title: 'Step 6: Configure Central World Density',
249+
content: "Click 'Edit...' for the central world (World 4) to open the initial state modal. In the modal, ensure 'Density' mode is selected and set the density slider to 50%. Then save the changes.",
250+
//primaryAction: { text: 'Configure Density' },
251+
onBeforeShow: () => showView({ desktop: { type: 'panel', name: 'worldsetup' }, mobile: { view: 'worlds' } }),
252252
advanceOn: { type: 'event', eventName: EVENTS.COMMAND_SET_WORLD_INITIAL_STATE, condition: (data) => (data.worldIndex === 4 && data.initialState?.mode === 'density' && data.initialState?.params?.density > 0.49 && data.initialState?.params?.density < 0.51) }
253253
}, {
254-
element: () => '#world-setup-panel-actions [data-action="apply-density-all"]',
254+
element: () => '#world-setup-panel-actions [data-action="apply-state-all"]',
255255
title: 'Step 7: Apply to All Worlds',
256-
content: "Now apply this 50% density to all worlds to create a level playing field for our mutations.",
257-
//primaryAction: { text: 'Apply Density to All' },
258-
advanceOn: { type: 'event', eventName: EVENTS.COMMAND_APPLY_SELECTED_DENSITY_TO_ALL }
256+
content: "Now click 'Apply Initial State to All' to set the same 50% density configuration across all worlds, creating a level playing field for our mutations.",
257+
//primaryAction: { text: 'Apply to All' },
258+
advanceOn: { type: 'event', eventName: EVENTS.COMMAND_APPLY_SELECTED_INITIAL_STATE_TO_ALL }
259259
}, {
260260
element: () => '#world-setup-panel-actions [data-action="reset-all-worlds"]',
261261
title: 'Step 8: Reset Worlds',
262-
content: "Finally, reset all worlds to apply the new density settings.",
263-
//primaryAction: { text: 'Apply & Reset All' },
262+
content: "Finally, click 'Apply & Reset All Worlds' to reset all worlds with the new initial density settings.",
263+
//primaryAction: { text: 'Reset All' },
264264
advanceOn: { type: 'event', eventName: EVENTS.COMMAND_RESET_ALL_WORLDS_TO_INITIAL_DENSITIES }
265265
}, {
266266
element: () => appContext.uiManager.isMobile() ? '.tab-bar-button[data-view="rules"]' : '[data-tour-id="ruleset-actions-button"]',

0 commit comments

Comments
 (0)