From 8be215761dbbee5fbb2d449feef403a4e6b8d5d8 Mon Sep 17 00:00:00 2001 From: "Torsten Schulz (local)" Date: Fri, 17 Apr 2026 09:27:29 +0200 Subject: [PATCH] feat(VocabPracticeDialog, VocabCourseView): implement SRS rating feature and enhance user feedback - 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. --- .../socialnetwork/VocabPracticeDialog.vue | 119 ++++++++++++++++-- .../src/i18n/locales/ceb/socialnetwork.json | 14 ++- .../src/i18n/locales/de/socialnetwork.json | 14 ++- .../src/i18n/locales/en/socialnetwork.json | 14 ++- frontend/src/views/social/VocabCourseView.vue | 4 +- 5 files changed, 149 insertions(+), 16 deletions(-) diff --git a/frontend/src/dialogues/socialnetwork/VocabPracticeDialog.vue b/frontend/src/dialogues/socialnetwork/VocabPracticeDialog.vue index f80578f..e2e0a6b 100644 --- a/frontend/src/dialogues/socialnetwork/VocabPracticeDialog.vue +++ b/frontend/src/dialogues/socialnetwork/VocabPracticeDialog.vue @@ -47,6 +47,22 @@ +
+
{{ $t('socialnetwork.vocab.practice.srsRateTitle') }}
+ +
+