Skip to content

feat(site): add the Estonian at the doctor lesson - #1375

Merged
krambertech merged 4 commits into
mainfrom
t3/arsti-juures
Nov 25, 2026
Merged

krambertech merged 4 commits into
mainfrom
t3/arsti-juures

Conversation

@krambertech

Copy link
Copy Markdown
Owner

Summary

Adds the stage 4 situation lesson /estonian/learn/arsti-juures (“At the doctor”). Teaches body parts (pea, kurk, kõht, selg), pain with mul valutab, symptoms with mul 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

At the doctor at 375 px

Try it: open /estonian/learn/arsti-juures, /uk/estonian/learn/arsti-juures, and /ru/estonian/learn/arsti-juures at 375 px.

Instrumentation

Reuses learn_quiz_finished and learn_lesson_finished via 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 (plus valutama headword).
  • Audio: 35 clips recorded (1,878 chars) and checked via lesson:audio:check --lesson arsti-juures.
  • pnpm check, pnpm i18n:check, pnpm --filter @lymi/site typecheck, pnpm --filter @lymi/site test --run, and pnpm --filter @lymi/site build passed.
  • Playwright at 375 px in en, uk and ru: 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

  • Placed in Stage 4 right after keegi so learners already know -ga/-ta/-ks, ordinals/dates, mul on, and polite -ge/-ke commands before combining them at a clinic.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 25, 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-25T00:12:12.355585Z 927ea76 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: 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`]}

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 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",

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 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 👍 / 👎.

krambertech and others added 3 commits November 25, 2026 10:11
…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
@krambertech
krambertech merged commit 3234e84 into main Nov 25, 2026
2 of 7 checks passed
@krambertech
krambertech deleted the t3/arsti-juures branch November 25, 2026 08:37

This branch was successfully deployed

1 active deployment
app-preview — 95df788b Deployed Nov 25, 2026 by krambertech via cleanup #937
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