Skip to content

feat: onboarding empty state UX - #358

Closed
Jinwoo-H wants to merge 1 commit into
mainfrom
Jinwoo-H/onboarding-2
Closed

Jinwoo-H wants to merge 1 commit into
mainfrom
Jinwoo-H/onboarding-2

Conversation

@Jinwoo-H

@Jinwoo-H Jinwoo-H commented Apr 7, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Split the generic Landing screen into repo-contextual onboarding states: no-repos, repo with main checkout only, and repo with existing linked worktrees
  • Auto-select newly added repo when no repo is currently selected so first-time users land on the onboarding panel immediately
  • Surface existing linked worktrees with Open action (activates worktree + creates initial terminal, no git operations)
  • Add session-scoped "Skip for now" dismissal, Configure Repo shortcut to settings, and Create Worktree with pre-selected repo
  • Extract PreflightBanner and KeyboardShortcuts into shared components

Test plan

  • Fresh launch (no repos): see logo + "Add a repository to get started" + preflight checks + shortcuts
  • Add a repo with no linked worktrees: see "Set up your first worktree" onboarding panel
  • Add a repo with existing linked worktrees: see worktree list with Open buttons
  • Click "Open" on a linked worktree: activates it with a terminal tab
  • Click "Create first/new worktree": opens create dialog with repo pre-selected
  • Click "Configure repo": navigates to repo settings pane
  • Click "Skip for now": dismisses onboarding, shows fallback text
  • Add a second repo while first is selected: no context switch
  • "View all" / "Show less" toggle works and scrolls when list is long
  • Restart app after skip: onboarding reappears (session-scoped dismissal)

🤖 Generated with Claude Code

Split the generic Landing screen into distinct states:
- No repos: shows logo, preflight checks, Add Repo + Create Worktree buttons
- Repo added (main checkout only): repo onboarding panel with Create First Worktree
- Repo added (with linked worktrees): surfaces existing worktrees with Open action

Key changes:
- Landing.tsx becomes orchestration shell delegating to sub-components
- addRepo auto-selects newly added repo when no repo is currently selected
- Session-scoped "Skip for now" dismissal per repo
- Shared PreflightBanner and KeyboardShortcuts components

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@Jinwoo-H
Jinwoo-H force-pushed the Jinwoo-H/onboarding-2 branch from 88711a1 to 573d7d9 Compare April 7, 2026 05:22
@Jinwoo-H Jinwoo-H closed this Apr 7, 2026
@Jinwoo-H
Jinwoo-H deleted the Jinwoo-H/onboarding-2 branch April 7, 2026 05:25
@Jinwoo-H
Jinwoo-H restored the Jinwoo-H/onboarding-2 branch April 7, 2026 05:25
@Jinwoo-H
Jinwoo-H deleted the Jinwoo-H/onboarding-2 branch April 7, 2026 06:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant