Skip to content

feat(THI-225): refresh Tour + ShortcutsSheet for v0.2 coverage#109

Merged
tdody merged 1 commit into
mainfrom
thibaultdody/thi-225-tour-shortcuts-refresh
Jun 7, 2026
Merged

feat(THI-225): refresh Tour + ShortcutsSheet for v0.2 coverage#109
tdody merged 1 commit into
mainfrom
thibaultdody/thi-225-tour-shortcuts-refresh

Conversation

@tdody

@tdody tdody commented Jun 7, 2026

Copy link
Copy Markdown
Owner

Summary

The first-run tour and shortcuts sheet were stuck on v0.1 feature coverage. A
new user clicking through the 4-step tour learned about cards, the Waiting
filter, ⌘K, and then got dropped into a dashboard with a stack of v0.2
features they had no way to discover.

Tour (4 → 8 steps)

Added four new stops between the existing card / waiting / ⌘K steps:

  1. Pin the panes that matter — uses the compound `[data-tour="first-card"] .act-pin` selector so no prop-threading through WindowCard is needed.
  2. Save filter presets — new `data-tour="preset-save"` anchor on Subhead's Save button.
  3. Three ways to see your panes — new `data-tour="layout-switcher"` anchor on Subhead's layout switcher span.
  4. ⌘⇧F searches every buffer — reuses the `kbar-hint` anchor (same global-hotkey neighbourhood as the ⌘K step).

Storage key bumped from `switchboard:tour:v1:dismissed` → `v2:dismissed` so users who already dismissed v1 see v2 once. Pre-existing version-bump pattern (see comment in `lib/tour.ts`).

ShortcutsSheet

New "Search" section with ⌘⇧F + Ctrl+Shift+F. The hotkey was wired in THI-100
but the sheet was never refreshed.

Out of scope

The ticket explicitly defers:

  • Broadcast palette tour stop + shortcut entry — depends on THI-207 (no global broadcast entry point yet).
  • Pin hotkey — not wired anywhere yet.

Test plan

  • `Tour.test.tsx` updated for the 8-step count + new anchors (`preset-save`, `layout-switcher`).
  • `DocsModal.test.tsx` updated for the new storage key.
  • Full suite: 536 tests pass.
  • `npm run typecheck`: clean.
  • `npm run build`: clean.

🤖 Generated with Claude Code

The first-run tour and shortcuts sheet were stuck on v0.1 feature
coverage — neither mentioned pinning (THI-98), filter presets (THI-98),
the layout switcher (THI-59 / 60), or pane-history search (THI-100). A
new user clicking through the tour learned about cards, the Waiting
filter, and the command palette, then got dropped into a dashboard
with a stack of v0.2 features they had no way to discover.

Tour now ships 8 steps instead of 4. The new four cover pin, presets,
layout switcher, and ⌘⇧F pane-history search. The tour storage key
bumps from v1 → v2 so users who already dismissed v1 see v2 once.
The pin step uses a compound `[data-tour="first-card"] .act-pin`
selector to scope onto the first card without threading a new prop
through WindowCard.

ShortcutsSheet gains a new "Search" section listing ⌘⇧F (and the
Ctrl+Shift+F variant) — the only wired hotkey that wasn't surfaced.

Out of scope (the ticket called both out):
- Broadcast palette tour step + shortcut entry — depends on THI-207
  (no global entry point for broadcast yet).
- Pin hotkey — not wired anywhere.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@tdody tdody merged commit 7cb27ff into main Jun 7, 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