[WIP] Add first-run onboarding flow for new installs - #453
Conversation
Guides new users through the popup menu, AI prompt command, and link preview right after install via a dedicated onboarding tab, with a final Customize/Complete screen that persists hasShownOnboarding so it only runs once. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019NHfjgYsFbd7tPbEdQSg4p
…d Hub link Add a slow-blink hint on Step1 while waiting for the user to return from the search command's tab, short pattern captions on Steps 1-3 to reinforce the select-command-result mental model, and a Command Hub link on Step4. Also route onboarding tab close through the background script (closeTab) so the settings write completes before the tab closes. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017QRxn2pRzMCWvf9nK2w7Kq
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #453 +/- ##
==========================================
- Coverage 46.57% 45.54% -1.04%
==========================================
Files 239 263 +24
Lines 25710 26957 +1247
Branches 2053 2111 +58
==========================================
+ Hits 11975 12278 +303
- Misses 13735 14679 +944 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
コードレビュー新規インストール時のオンボーディングフロー追加、お疲れ様です。全体的にステップの状態管理( 以下、気になった点を挙げます。 1.
|
…orcement Replace the per-step spotlight overlay with a constant vignette, add a persistent select-command-result progress rail, demonstrate the drag-to- select gesture at runtime (locale-proof via Range.getClientRects), and distinguish actionable buttons from decorative state with fill/tint. Move CSS off Onboarding.module.css onto Tailwind, and add a canvas-confetti celebration on the completion screen. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WaFfYLgE9pcwo3wSwEeG8D
コードレビュー: #453 初回インストール向けオンボーディングフロー追加大規模な機能追加(新規ファイル約30個、全14ロケールの 1.
|
Summary
BgCommand.closeTab) sohasShownOnboardingis persisted before the tab closesmessages.jsonfiles updated with the onboarding stringsRedesign pass
OnboardingLayout(brand header, 4-segment progress + counter, fixed-position Skip) replaces per-step chrome and the old per-step spotlight overlay with a constant vignette so nothing shifts between screensOnboardingRailreinforces the mental model across Steps 1-3 and the value-shown payoff screensuseSelectionDemo, measured viaRange.getClientRects()so it's correct across all 14 locales' line-wrapping, not hardcoded pixel keyframes)canvas-confetticelebration and closes to "try it now" as the primary actionOnboarding.module.cssonto Tailwind (tailwind.config.jskeyframes + utility classes)e2e/onboarding-shots.spec.ts,CAPTURE=1 yarn test:e2e onboarding-shots) using a?step=&phase=dev-only override inuseOnboardingStateto capture every step/phase across locales for design reviewCloses #452
Test plan
tsc --noEmitpassesyarn lintpasses (0 errors)yarn test:runpasses (1057 tests, including newonboardingProgress/useSelectionDemocoverage)yarn build/yarn build:e2epass🤖 Generated with Claude Code
https://claude.ai/code/session_01WaFfYLgE9pcwo3wSwEeG8D