Repository navigation
Center empty state agrees with the first-run tour and offers a next step - #427
frenchie4111 wants to merge 2 commits into
Conversation
While the tour is on its home step the center pane now says the project is ready and offers the same Start something new action as the popout (shared handler). Otherwise it suggests picking a project or starting a new task, with the New worktree hotkey, and the zero-repo case offers Open Repository. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
❔ Evidence review: inconclusiveI could not reach the center empty state in the fixture, so the PR's new copy and buttons were never seen on screen in either build. Every route left a workspace visible: a worktree with an open tab stays selected, and closing its Claude Code tab does nothing in either build. The PR's claims are untested, not disproven. Reaching this state probably needs a fixture with no open tabs, or a tour-home state that I could not set up.
Test plan
E1Blocked state: the acme-app/main worktree with its Claude Code tab stays selected in both builds, so neither the old "Select a worktree to begin" fallback nor the new CenterEmptyState renders.
Model
Automated evidence review of |
The zero-worktree branch only fired when repos existed but had no rows yet (boot, remote connecting, missing dirs), where telling the user to add a project points the wrong way; with no repos the welcome wizard owns the screen. Mode selection is now a pure tested helper, and the tour's Start something new button is shared with the center empty state so styling and busy state can't drift. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>


Found in a new-user dogfood pass. Right after adding their first repo, the center pane said "Select a worktree to begin" while the tour popout said "This is your main workspace… Start something new". The two messages contradicted each other, and "worktree" is jargon at that point.
Change
New
CenterEmptyState(src/renderer/components/CenterEmptyState.tsx) replaces the fallback text inApp.tsx:home(popout visible): "Your project is ready" plus Start something new. This button and the popout's now call the samehandleTourStartcallback, so the kickoff and tour progress behave the same from either one. The center button also gives a way forward if the popout hides because its row is scrolled out of view.newWorktreehotkey (⌘N by default).No new slice state; the tour step already lives in the onboarding slice. Uses the canonical
text-*/icon-*sizes from CLAUDE.md §11.Before / after
Checked in the headless web client with a throwaway data dir and a sandbox repo. Both have been deleted.
I also clicked New task and confirmed it opens the New worktree screen. I didn't click Start something new in the sandbox, because it would launch a real agent kickoff. It's the same handler the popout already used.
Verification
npm run typecheck✅npx electron-vite build✅npx vitest run: 2843 passed ✅🤖 Generated with Claude Code