Repository navigation
feat(site): add the Estonian café lesson - #1373
Conversation
Stage 1 situation lesson at /estonian/learn/kohvikus: ordering at the counter, asking if they have something, here or to take away, card or cash, and the bill. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f549424b82
ℹ️ 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".
| ja: { en: msg`and` }, | ||
| või: { en: msg`or` }, | ||
| siin: { en: msg`here` }, | ||
| kaasa: { en: msg`to take away; along`, note: msg`Siin või kaasa? Here or to take away?` }, | ||
| kaardiga: { en: msg`by card`, note: msg`Kaart, card, with -ga: with the card.` }, |
There was a problem hiding this comment.
Disable glossary audio for words without recordings
After checking the reading or listening exercise, tapping glossary words such as ja, siin, kaasa or kaardiga requests nonexistent audio. Sentence in PassagePlayer.tsx renders these as Word controls, and useWord() defaults to /audio/estonian-lessons/kohvikus/<word>.mp3 unless the glossary specifies otherwise. A repository-wide asset search and the commit’s file tree confirm those recordings are absent. Add the recordings or set clip: false on unrecorded glossary entries so these controls do not attempt playback or show a nonfunctional play button.
Useful? React with 👍 / 👎.
# Conflicts: # apps/site/public/audio/estonian-lessons/manifest.json # apps/site/src/lib/learn/clips.ts
…vary listening answers Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts: # apps/site/public/audio/estonian-lessons/manifest.json # apps/site/src/lib/learn/verified-forms.json
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Summary
Adds the Stage 1 lesson At a café (
/estonian/learn/kohvikus, after Practice: meeting someone). It teaches ordering withpalun,Kas teil on …?,Siin või kaasa?,Kaardiga või sularahas?,Palun arve.andKui palju see maksab?, with eleven café words. Parts: phrase and word explorers, Match, Dialogue, heard-word Quiz, Sort (ordering or paying), typed translate and fix quizzes, Reading, Listening with two voices and a Writing part. A 26-item drill bank comes with it.Screenshots
Try it:
/estonian/learn/kohvikus,/uk/…,/ru/…at 375 px.Instrumentation
Reuses
learn_quiz_finishedandlearn_lesson_finishedfrom the kit. Quiz ids:match-menu,order-at-the-counter,which-thing,sort-phrases,translate-counter,fix-counter,mari-note,andres-at-the-cafe,write-order. No new event.Verification
pnpm check,pnpm i18n:check, site typecheck, 4,171 site tests and the site build pass on the head merged with main.lesson:formsadded six forms (arve, arvet, isu, mahl, saiake, võileib), confirmed in Sõnaveeb.lesson:audio:check: 0 sentences differ, 5 single words (kook, meil, piim, supp, tee) transcribe badly, as single words do.Review: none yet; the lead sends it to an independent review.
Judgement calls
Kui palju see maksab?is taught as a phrase only.Kas teil on piima?takes the partitive before its lesson; the page says so and teaches the six questions as phrases.meil,siis,head isuare new words, glossed.