From 6c6050703f8c49888fe9530ca8bf7a9168305cb1 Mon Sep 17 00:00:00 2001 From: Markus Graf Date: Sun, 29 Mar 2026 21:33:10 +0200 Subject: [PATCH] docs(quick-260329-tv5): complete Uebungsanleitung dauerhaft statt Titel anzeigen --- .planning/STATE.md | 5 ++- .../260329-tv5-SUMMARY.md | 38 +++++++++++++++++++ 2 files changed, 41 insertions(+), 2 deletions(-) create mode 100644 .planning/quick/260329-tv5-bungsanleitung-dauerhaft-statt-titel-anz/260329-tv5-SUMMARY.md diff --git a/.planning/STATE.md b/.planning/STATE.md index 38b2958..3e92a37 100644 --- a/.planning/STATE.md +++ b/.planning/STATE.md @@ -127,9 +127,10 @@ None yet. | 260329-ten | Leertaste-Symbol in Entdecken-Phase erklären | 2026-03-29 | a7afe06 | [260329-ten-leertaste-symbol-in-entdecken-phase-erkl](./quick/260329-ten-leertaste-symbol-in-entdecken-phase-erkl/) | | 260329-tk2 | Ueben/Woerter-Phase kindgerechte Erklaerung hinzugefuegt | 2026-03-29 | 4cb5fa6 | [260329-tk2-ben-phase-kindgerechte-erkl-rung-statt-n](./quick/260329-tk2-ben-phase-kindgerechte-erkl-rung-statt-n/) | | 260329-ton | Markdown in Companion-Texten zu HTML rendern | 2026-03-29 | d038cc3 | [260329-ton-markdown-in-companion-texten-zu-html-ren](./quick/260329-ton-markdown-in-companion-texten-zu-html-ren/) | +| 260329-tv5 | Uebungsanleitung dauerhaft statt Titel anzeigen | 2026-03-29 | bbb1edb | [260329-tv5-bungsanleitung-dauerhaft-statt-titel-anz](./quick/260329-tv5-bungsanleitung-dauerhaft-statt-titel-anz/) | ## Session Continuity -Last session: 2026-03-29T19:26:12Z -Stopped at: Completed quick task 260329-ton +Last session: 2026-03-29T19:32:00Z +Stopped at: Completed quick task 260329-tv5 Resume file: None diff --git a/.planning/quick/260329-tv5-bungsanleitung-dauerhaft-statt-titel-anz/260329-tv5-SUMMARY.md b/.planning/quick/260329-tv5-bungsanleitung-dauerhaft-statt-titel-anz/260329-tv5-SUMMARY.md new file mode 100644 index 0000000..5dde27a --- /dev/null +++ b/.planning/quick/260329-tv5-bungsanleitung-dauerhaft-statt-titel-anz/260329-tv5-SUMMARY.md @@ -0,0 +1,38 @@ +--- +type: quick +task: 260329-tv5 +description: "Uebungsanleitung dauerhaft statt Titel anzeigen" +date: "2026-03-29" +commit: bbb1edb +files_modified: + - src/ui/screens.ts +key-decisions: + - "Instruction text placed in phase indicator via setPhase() labels map, not companionText, so it stays visible for entire phase duration" +tags: [ui, lesson, ux, phase-indicator] +--- + +# Quick Task 260329-tv5: Uebungsanleitung dauerhaft statt Titel anzeigen + +**One-liner:** Replaced "Ueben"/"Woerter" phase titles with full instruction texts and removed the 2.5s delay so children always see what to do throughout practice and words phases. + +## What Was Done + +- `setPhase()` labels map updated: `practice` now shows "Jetzt kannst du ueben! Druecke die Taste zu dem Buchstaben, der herunterfaellt." and `words` now shows "Jetzt kommen ganze Woerter! Tippe die Buchstaben nacheinander ein." +- `runPracticePhase()` simplified: removed `companionText.textContent` assignment, `companionArea.style.display = "flex"`, the `setTimeout 2500ms` delay, the `cancelled` check after delay, and `companionText.textContent = ""` clearing +- `runWordsPhase()` simplified: same pattern removed — only `setPhase("words")` remains before the word count logic + +## Verification + +- `npx tsc --noEmit`: passed (no errors) +- `npx vitest run`: 92 tests passed across 8 test files + +## Deviations from Plan + +None - plan executed exactly as written. + +## Self-Check: PASSED + +- [x] `src/ui/screens.ts` modified +- [x] Commit `bbb1edb` exists +- [x] TypeScript compiles clean +- [x] All tests pass