Skip to content

feat(onboarding): first-run spotlight tour#4

Merged
ohernandezdev merged 2 commits into
mainfrom
feature/onboarding-tour
Jul 20, 2026
Merged

feat(onboarding): first-run spotlight tour#4
ohernandezdev merged 2 commits into
mainfrom
feature/onboarding-tour

Conversation

@ohernandezdev

Copy link
Copy Markdown
Owner

Summary

  • Adds a 4-step spotlight tour (new tab, terminal, file preview, global search) shown automatically on first launch, replayable anytime from Settings ("Guided tour").
  • Persisted via localStorage("tour-seen"), replacing the old static help-card-on-first-run trigger; the help card is unchanged and still reachable from the help button.
  • Full i18n for all 4 supported languages (es/en/fr/it).
  • Version bumped to 0.8.14 (package.json, package-lock.json, src-tauri/Cargo.toml, src-tauri/Cargo.lock, src-tauri/tauri.conf.json).

Test plan

  • npm run build (tsc + vite build) passes with no new TypeScript errors
  • Manually drove the real tour.ts module against the app's real DOM/CSS via an isolated vite dev server + Chrome (avoided the packaged Tauri build since another AFKode instance was already running and single-instance would interfere with it)
  • Verified all 4 steps render with correct spotlight positioning and tooltip content
  • Verified "Skip" and "Done" (last-step Next) both close the overlay and persist state correctly — caught and fixed a real bug where finish() threw on the last step due to a stale array index
  • Verified the file-preview panel opens for its tour step and closes again afterward if it wasn't already open

🤖 Generated with Claude Code

https://claude.ai/code/session_01JUpVoQXhYinHSuVCMQMj8o

ohernandezdev and others added 2 commits July 20, 2026 01:55
Walks new users through the new-tab button, terminal, file preview
panel, and global search on first launch via a 4-step spotlight
overlay. Persists via localStorage (tour-seen), replacing the old
static help-card-on-first-run trigger; the help card itself stays
reachable from the help button. Replayable anytime from Settings.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JUpVoQXhYinHSuVCMQMj8o
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JUpVoQXhYinHSuVCMQMj8o
@ohernandezdev
ohernandezdev merged commit 572a895 into main Jul 20, 2026
3 checks passed
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