From fe2e6a53e9adc720dcc572c33183aff951aad469 Mon Sep 17 00:00:00 2001 From: "Torsten Schulz (local)" Date: Mon, 19 Jan 2026 23:28:45 +0100 Subject: [PATCH] Implement dialog prompts for lesson navigation and error handling in VocabLessonView - Removed the manual check answer button, transitioning to automatic answer verification upon option selection. - Added dialog overlays for navigating to the next lesson, course completion notifications, and error messages, enhancing user interaction. - Introduced methods to handle dialog confirmations and cancellations, improving the flow of lesson transitions and error management. - Updated styles for dialog components to ensure a consistent and user-friendly interface. --- frontend/src/views/social/VocabLessonView.vue | 199 +++++++++++++++--- 1 file changed, 175 insertions(+), 24 deletions(-) diff --git a/frontend/src/views/social/VocabLessonView.vue b/frontend/src/views/social/VocabLessonView.vue index 31d7e19..a2cf2f9 100644 --- a/frontend/src/views/social/VocabLessonView.vue +++ b/frontend/src/views/social/VocabLessonView.vue @@ -106,9 +106,7 @@ {{ option }} - +
@@ -257,6 +255,55 @@
+ + +
+
+
+ {{ $t('socialnetwork.vocab.courses.lessonCompleted') }} + +
+
+

{{ $t('socialnetwork.vocab.courses.goToNextLesson') }}

+
+ +
+
+ + +
+
+
+ {{ $t('socialnetwork.vocab.courses.allLessonsCompleted') }} + +
+
+

{{ $t('socialnetwork.vocab.courses.allLessonsCompleted') }}

+
+ +
+
+ + +
+
+
+ {{ $t('error-title') }} + +
+
+

{{ errorMessage }}

+
+ +
+