feat(VocabPracticeDialog, VocabCourseView): implement SRS rating feature and enhance user feedback
All checks were successful
Deploy to production / deploy (push) Successful in 2m48s

- Added SRS rating buttons in VocabPracticeDialog to allow users to rate their confidence after answering vocabulary questions.
- Updated methods to handle SRS ratings and integrated them into the review process, improving spaced repetition feedback.
- Enhanced UI with new styles for SRS rating buttons and updated translations for SRS-related terms in multiple languages.
- Modified VocabCourseView to display appropriate introductory text based on SRS due items, improving user guidance.
This commit is contained in:
Torsten Schulz (local)
2026-04-17 09:27:29 +02:00
parent e2c1147d75
commit 8be215761d
5 changed files with 149 additions and 16 deletions

View File

@@ -731,7 +731,8 @@
"srsEyebrow": "Dugay nga memorya",
"srsTitle": "{count} ka termino ang angay karon",
"srsIntro": "Kini nga balik-balik gikan sa SRS nga plano sa matag pulong. Una kini kaysa bag-ong materyal kay nagpalig-on kini sa mga pulong nga hapit malimtan.",
"srsStart": "Sugdi ang daily review"
"srsStart": "Sugdi ang daily review",
"courseTodayPlanIntroSrs": "Didaktik nga han-ay: una ang SRS daily review sa tagsa-tagsa ka pulong. Human ana, mubo nga review, padayon sa block, ug intensive review kung kinahanglan. Mao ni ang pagpalig-on sa daan nga materyal sa dili pa modugang ug bag-o."
},
"title": "Trainer sa bokabularyo",
"description": "Paghimo og pinulongans (or subscribe aron them) ug share them uban sa friends.",
@@ -787,7 +788,16 @@
"acceptable": "Acceptable answers:",
"stats": "Stats",
"success": "Malampuson",
"fail": "Fail"
"fail": "Fail",
"srsRateTitle": "Unsa ka lig-on sa imong pagbati?",
"srsAgain": "Usab",
"srsAgainHint": "balikon dayon",
"srsHard": "Lisod",
"srsHardHint": "mubo nga interval",
"srsGood": "Maayo",
"srsGoodHint": "normal nga iskedyul",
"srsEasy": "Sayon",
"srsEasyHint": "mas layo nga interval"
},
"search": {
"open": "Pangita",

View File

@@ -453,7 +453,16 @@
"acceptable": "Mögliche richtige Übersetzungen:",
"stats": "Statistik",
"success": "Erfolg",
"fail": "Misserfolg"
"fail": "Misserfolg",
"srsRateTitle": "Wie sicher war das?",
"srsAgain": "Nochmal",
"srsAgainHint": "sehr bald wiederholen",
"srsHard": "Schwer",
"srsHardHint": "kurzes Intervall",
"srsGood": "Gut",
"srsGoodHint": "normal planen",
"srsEasy": "Leicht",
"srsEasyHint": "größerer Abstand"
},
"search": {
"open": "Suche",
@@ -813,7 +822,8 @@
"srsEyebrow": "Langzeitgedächtnis",
"srsTitle": "{count} Begriffe sind heute fällig",
"srsIntro": "Diese Wiederholung kommt aus dem SRS-Plan einzelner Begriffe. Sie hat Vorrang vor neuem Stoff, weil sie kurz vor dem Vergessen stabilisiert.",
"srsStart": "Tageswiederholung starten"
"srsStart": "Tageswiederholung starten",
"courseTodayPlanIntroSrs": "Didaktische Reihenfolge: Zuerst die fällige SRS-Tageswiederholung einzelner Begriffe. Danach kommen Kurz-Wiederholungen, Blockfortschritt und ggf. intensive Wiederholung. So wird altes Material stabilisiert, bevor neues Material dazukommt."
}
}
}

View File

@@ -453,7 +453,16 @@
"acceptable": "Acceptable answers:",
"stats": "Stats",
"success": "Success",
"fail": "Fail"
"fail": "Fail",
"srsRateTitle": "How solid did it feel?",
"srsAgain": "Again",
"srsAgainHint": "repeat very soon",
"srsHard": "Hard",
"srsHardHint": "short interval",
"srsGood": "Good",
"srsGoodHint": "normal schedule",
"srsEasy": "Easy",
"srsEasyHint": "longer interval"
},
"search": {
"open": "Search",
@@ -813,7 +822,8 @@
"srsEyebrow": "Long-term memory",
"srsTitle": "{count} terms are due today",
"srsIntro": "This review comes from the SRS schedule of individual terms. It should come before new material because it stabilizes items close to forgetting.",
"srsStart": "Start daily review"
"srsStart": "Start daily review",
"courseTodayPlanIntroSrs": "Pedagogical order: start with the due SRS daily review for individual terms. Then quick reviews, block progress, and intensive review if needed. This stabilizes old material before new material is added."
}
}
}