Skip to content

feat(guide): first-visit coach-marks - #36

Merged
prodelt merged 5 commits into
mainfrom
feat/coach-marks
Oct 5, 2026
Merged

prodelt merged 5 commits into
mainfrom
feat/coach-marks

Conversation

@prodelt

@prodelt prodelt commented Oct 5, 2026

Copy link
Copy Markdown
Owner

Stacked on #27 (tooltips) — merge that first.

  • Lazy coach-mark engine (apps/web/src/app/guide/): one ink bubble at a time with a ring on the target, arrow, step counter, «Далі» (Enter) / «Пропустити» (Esc), role="dialog", focus in and back, flip/clamp to the viewport, missing targets skipped, reduced motion respected.
  • Steps on Home (only with progress, never over the first run), Map, exercise pre-start (not the first exercise's start card) and Result, pointed at data-guide attributes.
  • Seen flags in localStorage typing-race:guide-seen; a «?» button in the status bar replays the current screen's guide.
  • Never auto-shown during Play Mode or when navigator.webdriver is true, so e2e flows are not blocked.
  • Initial JS 148.1 KB gzip (budget 150); unit tests for the seen store and step filtering.

🤖 Generated with Claude Code

One ink bubble at a time next to its target, with a ring on the target,
a step counter, "Далі" (Enter) and "Пропустити" (Esc). The engine is a
lazy chunk; screens declare their steps through data-guide attributes and
useGuideScreen(). Seen screens are remembered in typing-race:guide-seen.
A "?" button in the status bar replays the current screen's guide.

Never auto-shown during a run, on the first-run flow, on the first
exercise's start card, or in an automated browser (navigator.webdriver).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Oct 5, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
typing-race Ready Ready Preview Oct 5, 2026 8:54pm UTC

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…to its side

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts:
#	apps/web/src/app/Shell.tsx
#	apps/web/src/features/home/HomeScreen.tsx
@prodelt
prodelt merged commit 80d8375 into main Oct 5, 2026
2 checks passed

This branch was successfully deployed

1 active deployment
Preview — 4c777989 Deployed Oct 5, 2026 by vercel[bot]
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