docs(quick-260329-tv5): complete Uebungsanleitung dauerhaft statt Titel anzeigen

This commit is contained in:
2026-03-29 21:33:10 +02:00
parent bbb1edb433
commit 6c6050703f
2 changed files with 41 additions and 2 deletions
+3 -2
View File
@@ -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
@@ -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