From 61a2dc5457e94a3a2438264bde7459d313ed3463 Mon Sep 17 00:00:00 2001 From: Remi <73385395+itsrubberduck@users.noreply.github.com> Date: Fri, 19 Sep 2025 09:19:33 +0200 Subject: [PATCH] Add lesson repeat control and improve learn layout --- app/pages/learn.vue | 362 ++++++++++++++++++++++++++++++-------------- 1 file changed, 250 insertions(+), 112 deletions(-) diff --git a/app/pages/learn.vue b/app/pages/learn.vue index af12065..dd2d9bd 100644 --- a/app/pages/learn.vue +++ b/app/pages/learn.vue @@ -209,123 +209,145 @@ - -
-
Briefing
-
-
-
-
{{ activeLesson.desc }}
-
- {{ targetPhrase }} +
+
+
Briefing
+
+
+
+
{{ activeLesson.desc }}
+
+ {{ targetPhrase }} +
+
+ Audio challenge active – listen first. +
-
- Audio challenge active – listen first. +
+ + +
-
- - - +
+
+
+ mdi-lightbulb-on-outline + {{ hint }} +
+
+ mdi-information-outline + {{ info }}
-
-
- mdi-lightbulb-on-outline - {{ hint }} + +
+
Your readback
+
+
+ +
-
- mdi-information-outline - {{ info }} +
+ + + +
+
+
{{ result.score }}%
+
+ Fields correct: {{ result.hits }}/{{ activeLesson.fields.length }} · Similarity: {{ Math.round(result.sim * 100) }}% +
+
+
+
+
{{ field.label }}
+
{{ field.answer || '—' }}
+
Expected: {{ field.expected }}
+
-
-
Your readback
-
-
- +
+
+
+ Next: {{ nextLessonMeta.lesson.title }} · Lesson {{ nextLessonMeta.position }} of {{ nextLessonMeta.total }} +
+
+ Last lesson in this module.
-
- - - -
-
-
{{ result.score }}%
-
- Fields correct: {{ result.hits }}/{{ activeLesson.fields.length }} · Similarity: {{ Math.round(result.sim * 100) }}% -
-
-
-
-
{{ field.label }}
-
{{ field.answer || '—' }}
-
Expected: {{ field.expected }}
-
@@ -413,7 +435,7 @@