Skip to content

feat(site): end Estonian lessons without a repeat drill - #1385

Open
krambertech wants to merge 5 commits into
mainfrom
kateryna/estonian-grammar-grilling-review-9fdeee
Open

krambertech wants to merge 5 commits into
mainfrom
kateryna/estonian-grammar-grilling-review-9fdeee

Conversation

@krambertech

@krambertech krambertech commented Nov 27, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • No more grilling at the end of a lesson. The ten-question drill that repeated what the lesson had just asked is gone. A lesson whose bank has a kind of question its quizzes never ask, such as writing what you hear, ends with up to six of those: 51 lessons do, 21 end at their last quiz. Finishing a lesson puts ten of its questions into Review for the next day.
  • Every sound can be stopped. A second press stops it. Listen shows a pause sign. Hear both and Hear the whole conversation turn into Pause, and the conversation resumes from the line where it stopped.
  • Alignment. The form cue sits on the word's line, twenty dots fit on a phone, a word list never starts a line with "·", course-list titles sit closer to their numbers, and notes use body-size text.

Screenshots

Before After
Form question before Form question after
Twenty dots at 375 px before Twenty dots at 375 px after
Course list before Course list after
Note before Note after
End of Osastav before, with the drill End of Osastav after, at its last quiz

Last exercise in Olen lugenud while Listen plays, with its pause sign

Last exercise in Tegevusnimed at 375 px

Juba, veel, alles gap asked as a sentence (it showed "aeg / already" before)

Try it: pnpm --filter @lymi/site dev, then open /estonian/learn/olen-lugenud and go to "Write what you hear" (press Listen twice), /estonian/learn/osastav (no drill), /estonian/learn/kontrolltoo-5 at 375 px, and /estonian/learn.

Instrumentation

Question: do learners still come back to Review once lessons stop ending on a drill? The existing events answer it. learn_quiz_finished reports the last exercise as quiz: last (it was drill) and still reports review and warm-up. learn_lesson_finished is unchanged. docs/analytics.md is updated.

Verification

  • lesson-checks.test.ts renders every lesson, works out which bank kinds its quizzes don't ask, and fails when LAST_EXERCISE disagrees.
  • player.test.ts covers the toggles, pause and resume, and a stopped sequence that no longer skips on. It fails on main, where the toggles don't exist. review.test.ts covers scheduling a finished lesson's questions.
  • All site unit tests pass: 81 files.
  • progress.test.ts: a lesson whose sections were all stored before its drill left now finishes. Fails on main.
  • Drove a whole conversation in Kohvikus: Hear, Pause, Resume and Try again during playback.
  • Drove the site locally at 375 and 1280 px. The last exercise started in 8 lessons with nothing past the right edge and no console errors. A Listen press was seen pressed while playing and unpressed after the second press. Notes were checked in light and dark.
  • pnpm verify:changed: one failure, in apps/web this-mac-section.browser.test.tsx (touch-webkit). It also fails when run alone, and this branch changes nothing in apps/web or packages.
  • pnpm reliability: no item matches this diff.

Review: an independent Claude subagent, two rounds. Round one found two blockers (stored progress that could never finish a lesson, and lesson-file play buttons that didn't stop) and four smaller issues; all fixed. One I first declined, a failed bank load when a lesson finishes losing its schedule, Codex raised too: a finished lesson with nothing in review now schedules on its next visit, driven in the browser on Osastav. Round two: no blocking findings.

Also fixed on the way: the juba, veel, alles bank asked its gaps as "make a form of aeg (already)". They now show the sentence with its gap and are typed.

Follow-ups: the pronoun table explorer in lesson 2 (Mina, sina, tema) is hard to follow and needs its own redesign.

🤖 Generated with Claude Code

krambertech and others added 4 commits November 27, 2026 18:14
…ausable

- Lessons no longer end on a ten-question drill of what they just asked. A
  lesson whose drill bank asks a kind of question its own quizzes don't
  (writing what you hear, changing a sentence, making a form, asking the
  question) ends with up to six of those as its last exercise. 51 lessons
  keep one; 21 end at their last quiz. lesson-checks works the list out.
- Finishing a lesson puts ten of its questions into Review for the next day,
  so Review and warm-ups stay fed without the drill.
- Every play control stops its own sound on a second press. Listen shows a
  pause sign while it plays; Hear both and the whole conversation turn into
  Pause, and the conversation resumes from the line it stopped at. A stopped
  sequence no longer skips on to its next clip.
- Alignment: a form question's cue sits on the word's line, long dot rows
  fit on a phone, a word list never starts a line with its separator, and
  the course list's numbers sit closer to their titles.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…y lesson sound

- A lesson whose sections were all recorded before its drill section was
  taken out now finishes the next time a section is reached.
- The play buttons inside 18 lesson files stop their sound on a second
  press, as the kit's do.
- Try again ends the whole conversation, even between two lines, and a
  replaced run no longer leaves the button on Resume.
- Stopping a compare clip no longer fills its bar.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…f aeg

The bank showed "aeg / already" as the word to change, with the sentence
as the cue. The sentence with its gap is now the line, its meaning the gloss,
and the four words the cue; the word is typed, since alles is the only
five-letter option and a pick would give it away.

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

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 61d0b98480

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-27T16:36:43.193356Z 61d0b98 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

When the bank failed to load as the lesson finished, its questions never
reached review. A finished lesson with none of its questions in review now
schedules them the next time it opens.

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

This branch was successfully deployed

1 active deployment
site-preview — 9d949a07 Deployed Nov 27, 2026 by krambertech via site preview #4140
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