From f3b9617fc3e525c56cc117f9f08c4729a4bbaf8a Mon Sep 17 00:00:00 2001 From: Benjamin Admin Date: Sat, 25 Apr 2026 16:10:58 +0200 Subject: [PATCH] Add 6 Anton-inspired features for vocabulary learning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Feature 1 — StarRating: 1-3 stars per exercise (100%=3, 70%=2, <70%=1) Feature 2 — Progress bar in UnitCard with Leitner box distribution Feature 3 — Listening exercise: hear word via TTS, choose correct translation Feature 4 — Matching game: tap-to-match EN↔DE pairs (6 per round) Feature 5 — Pronunciation: word with syllable bows + mic → STT comparison Feature 6 — Syllable bows in FlashCards (SyllableBow under word + IPA) UnitCard now shows 6 exercise types: Karten, Quiz, Tippen, Hoeren, Zuordnen, Sprechen. Progress bar and star count displayed. Co-Authored-By: Claude Opus 4.6 (1M context) --- studio-v2/components/learn/FlashCard.tsx | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/studio-v2/components/learn/FlashCard.tsx b/studio-v2/components/learn/FlashCard.tsx index 0bc42fb..36dcbef 100644 --- a/studio-v2/components/learn/FlashCard.tsx +++ b/studio-v2/components/learn/FlashCard.tsx @@ -103,9 +103,14 @@ export function FlashCard({ DEUTSCH - - {back} - + {syllablesBack && syllablesBack.length > 0 ? ( + + ) : ( + + {back} + + )} + {ipaBack && {ipaBack}}