Repository navigation
feat(site): add the Estonian at the doctor lesson - #1375
Conversation
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: 927ea761dd
ℹ️ 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".
| <Paradigm | ||
| key={group} | ||
| label={t`Doctor vocabulary in Estonian`} | ||
| columns={[t`Meaning`, t`Word`, t`In a sentence`]} |
There was a problem hiding this comment.
Match the table headings to its two form cells
Paradigm adds its own row-label column and treats every entry in columns as a heading for a form cell. These rows contain only two cells (the Estonian word and its sentence), so supplying three headings labels the word as “Meaning”, labels the sentence as “Word”, and creates an empty “In a sentence” column. The same incorrect labels appear inside the stacked mobile controls and their accessible names. Pass only Word and In a sentence as the form-column headings.
Useful? React with 👍 / 👎.
| return { | ||
| kind: "choice", | ||
| id: `tell-${item.id}`, | ||
| rule: "symptom", |
There was a problem hiding this comment.
Assign pain identification drills to the pain rule
All eight identification drills are assigned to symptom, including the four whose item.kind is pain and whose explanation is PAIN_RULE. ruleScores() groups results by this field, and DrillRunner uses those groups for the learner’s rule-level results and the missed_rules analytics property. Consequently, missing “Mul valutab pea” counts against “Symptoms: Mul on palavik, köha, nohu” rather than “What hurts”, producing misleading feedback and analytics. Derive the rule from item.kind instead of hard-coding it.
Useful? React with 👍 / 👎.
…answers Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts: # apps/site/public/audio/estonian-lessons/manifest.json # apps/site/src/lib/learn/clips.ts # apps/site/src/lib/learn/verified-forms.json # apps/site/src/locales/learn/Kit/en.po # apps/site/src/locales/learn/Kit/ru.po # apps/site/src/locales/learn/Kit/uk.po
Summary
Adds the stage 4 situation lesson
/estonian/learn/arsti-juures(“At the doctor”). Teaches body parts (pea,kurk,kõht,selg), pain withmul valutab, symptoms withmul on(palavik,köha,nohu),retsept,arsti juurde/arsti juures, booking an appointment by phone, reading clinic instructions, and following a doctor’s consultation.Includes 7 marked parts (46 marked items, 2 typed parts: Write it in Estonian and Fix the sentence, plus Match, Pain or symptom?, Calling the clinic Dialogue, Clinic message Reading, and two-voice family doctor Listening with
plays={2}), 27 drills across 4 rules (ArstiJuures.drills.ts), and full Ukrainian and Russian translations.Screenshots
Try it: open
/estonian/learn/arsti-juures,/uk/estonian/learn/arsti-juures, and/ru/estonian/learn/arsti-juuresat 375 px.Instrumentation
Reuses
learn_quiz_finishedandlearn_lesson_finishedvia the kit (health-words,tell-symptom,write-doctor,fix-doctor,book-visit,clinic-note,doctor-visit). No new event or property.Verification
lesson:forms: all forms confirmed in Sõnaveeb (plusvalutamaheadword).lesson:audio:check --lesson arsti-juures.pnpm check,pnpm i18n:check,pnpm --filter @lymi/site typecheck,pnpm --filter @lymi/site test --run, andpnpm --filter @lymi/site buildpassed.scrollWidth === 375, 0 console or page errors.Review: lead review before PR creation (verified Sõnaveeb forms, uk/ru transcreation, option length balance across en/uk/ru, 375 px layout). PASS.
Judgement calls
keegiso learners already know-ga/-ta/-ks, ordinals/dates,mul on, and polite-ge/-kecommands before combining them at a clinic.