Skip to content

fix(firstrun): first exercise starts at the home-row anchors - #34

Merged
prodelt merged 1 commit into
mainfrom
fix/first-exercise-home-row
Oct 5, 2026
Merged

prodelt merged 1 commit into
mainfrom
fix/first-exercise-home-row

Conversation

@prodelt

@prodelt prodelt commented Oct 5, 2026

Copy link
Copy Markdown
Owner

Ticket: first-minute-ux 02.

The Start Card says "start from the home row and space, key by key", but the first run opened the first closed key «п» (yq.run.KeyG). Now "Ще не друкую наосліп" / "Never touch-typed" opens the anchors run of the chosen layout (yq.run.anchors / qwerty.run.anchors, "Ряд · а"): home-row anchor letters only.

  • firstExerciseId(layout, level, firstClosedScaleId) in features/firstrun/model.ts; FirstRun.tsx uses it.
  • The other levels still open at the first closed key.
  • Unlock rules, the three-Test-Attempts rule and Stage 2 are unchanged. The anchors run unlocks no key, so after it Home's next action is still «п» as before. The learner just gets one home-row exercise first.
  • Unit test covers both layouts (ЙЦУКЕН, QWERTY) and the other levels. e2e/shell.spec.ts now asserts the first URL is <layout>.run.anchors. jury.spec.ts and path-progress.spec.ts open exercises by URL and do not depend on the first-run target.

Checked locally: typecheck, lint, firstrun unit tests, build. The shell first-run test passes on chromium (run serially). A parallel run across all three browsers failed locally and was not investigated, so CI is the gate.

🤖 Generated with Claude Code

A learner who picks "never touch-typed" now opens the anchors run
(yq.run.anchors / qwerty.run.anchors, "Ряд · а") that the Start Card
names, instead of the first closed key «п» (run.KeyG). The other levels
still open at the first closed key. Unlock rules are unchanged.

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:42pm UTC

@prodelt
prodelt merged commit 01efff5 into main Oct 5, 2026
2 of 6 checks passed

This branch was successfully deployed

1 active deployment
Preview — ad4743b4 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