Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(walkthrough): correct step order in test and step definitions

Steven Enamakel5131bdb4e549
diff --git a/app/src/components/walkthrough/__tests__/AppWalkthrough.test.tsx b/app/src/components/walkthrough/__tests__/AppWalkthrough.test.tsx
index 94034a83f6..da0c7a5542 100644
--- a/app/src/components/walkthrough/__tests__/AppWalkthrough.test.tsx
+++ b/app/src/components/walkthrough/__tests__/AppWalkthrough.test.tsx
@@ -603,13 +603,15 @@ describe('createWalkthroughSteps', () => {
'[data-walkthrough="skills-channels"]',
'[data-walkthrough="settings-menu"]',
'[data-walkthrough="tab-chat"]',
- '[data-walkthrough="tab-human"]',
'[data-walkthrough="tab-brain"]',
'[data-walkthrough="tab-connections"]',
'[data-walkthrough="tab-feedback"]',
'[data-walkthrough="chat-agent-panel"]',
]);
expect(targets).not.toContain('[data-walkthrough="tab-activity"]');
+ // Human has no nav row — the chat composer's idle button opens it — so a
+ // tour step pointing at one would stall on a target that never mounts.
+ expect(targets).not.toContain('[data-walkthrough="tab-human"]');
expect(targets).not.toContain('[data-walkthrough="intelligence-header"]');
});
diff --git a/app/src/components/walkthrough/walkthroughSteps.ts b/app/src/components/walkthrough/walkthroughSteps.ts
index 2112288bc6..0da8e3e78d 100644
--- a/app/src/components/walkthrough/walkthroughSteps.ts
+++ b/app/src/components/walkthrough/walkthroughSteps.ts
@@ -141,7 +141,16 @@ export function createWalkthroughSteps(
},
},
- // ── Step 8 — primary nav: Connections ────────────────────────────────
+ // ── Step 8 — primary nav: Brain ───────────────────────────────────────
+ {
+ target: '[data-walkthrough="tab-brain"]',
+ title: t('walkthrough.steps.brainTab.title'),
+ content: t('walkthrough.steps.brainTab.content'),
+ placement: 'top',
+ skipBeacon: true,
+ },
+
+ // ── Step 9 — primary nav: Connections ────────────────────────────────
{
target: '[data-walkthrough="tab-connections"]',
title: t('walkthrough.steps.connectionsTab.title'),
@@ -150,7 +159,7 @@ export function createWalkthroughSteps(
skipBeacon: true,
},
- // ── Step 9 — primary nav: Feedback ───────────────────────────────────
+ // ── Step 10 — primary nav: Feedback ───────────────────────────────────
{
target: '[data-walkthrough="tab-feedback"]',
title: t('walkthrough.steps.feedbackTab.title'),
@@ -159,7 +168,7 @@ export function createWalkthroughSteps(
skipBeacon: true,
},
- // ── Step 10 — /chat (pre-seeded welcome message) ──────────────────────
+ // ── Step 11 — /chat (pre-seeded welcome message) ──────────────────────
{
target: '[data-walkthrough="chat-agent-panel"]',
title: t('walkthrough.steps.allSet.title'),