Skip to content

feat(site): add the Estonian café lesson - #1373

Merged
krambertech merged 6 commits into
mainfrom
t3/add-kohvikus-lesson
Nov 25, 2026
Merged

krambertech merged 6 commits into
mainfrom
t3/add-kohvikus-lesson

Conversation

@krambertech

Copy link
Copy Markdown
Owner

Summary

Adds the Stage 1 lesson At a café (/estonian/learn/kohvikus, after Practice: meeting someone). It teaches ordering with palun, Kas teil on …?, Siin või kaasa?, Kaardiga või sularahas?, Palun arve. and Kui 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

Phone, light, English
Phone, night, Ukrainian
Phone, light, Russian
Whole lesson, phone, night

Try it: /estonian/learn/kohvikus, /uk/…, /ru/… at 375 px.

Instrumentation

Reuses learn_quiz_finished and learn_lesson_finished from 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

  • Counts: 8 marked parts, 51 marked items (the self-marked writing checklist excluded), typed parts 2 (translate, fix), Reading 60 words, Listening 76 words with two voices, drill 25 items.
  • pnpm check, pnpm i18n:check, site typecheck, 4,171 site tests and the site build pass on the head merged with main.
  • lesson:forms added six forms (arve, arvet, isu, mahl, saiake, võileib), confirmed in Sõnaveeb.
  • Audio: 1,478 characters recorded, 52 clips. lesson:audio:check: 0 sentences differ, 5 single words (kook, meil, piim, supp, tee) transcribe badly, as single words do.
  • Driven in Chromium at 375 px in en, uk and ru, light and dark: 0 overflow, 0 console errors or failed requests; dialogue, sort, fix and writing exercised. Not driven: every quiz to its score, 1280 px.
  • Title candidates, uk: Замовлення в кав’ярні естонською (picked), Як замовити каву естонською. ru: Заказ в кафе по-эстонски (picked), Как заказать кофе по-эстонски.

Review: none yet; the lead sends it to an independent review.

Judgement calls

  • Prices are left out because numbers come after this lesson; 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 isu are new words, glossed.

krambertech and others added 2 commits November 25, 2026 01:51
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>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 24, 2026 •

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-24T23:58:05.778430Z f549424 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.

@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: 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".

Comment on lines +113 to +117
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.` },

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge 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>
krambertech and others added 2 commits November 25, 2026 10:25
# 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>
@krambertech
krambertech merged commit 188766a into main Nov 25, 2026
1 check passed
@krambertech
krambertech deleted the t3/add-kohvikus-lesson branch November 25, 2026 08:27

This branch was successfully deployed

2 active (1 outdated) deployments
app-preview — b5978169 Deployed Nov 25, 2026 by krambertech via cleanup #934
site-preview — 7e8890f1 Deployed Nov 25, 2026 by krambertech via site preview #4097
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