feat(vocab): implement user vocab lesson progress reset functionality
All checks were successful
Deploy to production / deploy (push) Successful in 2m59s
All checks were successful
Deploy to production / deploy (push) Successful in 2m59s
- Added `resetUserVocabLessonProgress` method in `AdminController` to allow admins to reset a user's progress for a specific vocab lesson. - Introduced corresponding route in `adminRouter` for the new reset functionality. - Enhanced `VocabService` with methods to purge lesson progress for users, ensuring that only the specified lesson's progress is affected. - Updated UI components in `UsersView` to facilitate the selection of courses and lessons for resetting progress, including confirmation dialogs and loading states. - Added localization support for the new reset functionality across multiple languages. - Implemented reset functionality in `VocabLessonView` for users to reset their own lesson progress.
This commit is contained in:
@@ -69,17 +69,19 @@ const LESSON_DIDACTICS = {
|
||||
{ target: 'Si Tatay.', gloss: 'Das ist Papa.' },
|
||||
{ target: 'Si Kuya nako.', gloss: 'Das ist mein älterer Bruder.' },
|
||||
{ target: 'Si Ate nako.', gloss: 'Das ist meine ältere Schwester.' },
|
||||
{ target: 'Si Dodong nako.', gloss: 'Das ist mein jüngerer Bruder.' },
|
||||
{ target: 'Si Inday nako.', gloss: 'Das ist meine jüngere Schwester.' },
|
||||
{ target: 'Si Lola nako.', gloss: 'Das ist meine Großmutter.' },
|
||||
{ target: 'Si Lolo nako.', gloss: 'Das ist mein Großvater.' }
|
||||
],
|
||||
grammarFocus: [
|
||||
{ title: 'Respekt in Familienanreden', text: 'Kuya und Ate werden nicht nur in der Familie, sondern auch respektvoll für ältere Personen benutzt.', example: 'Kuya, palihug.' },
|
||||
{ title: 'Respekt in Familienanreden', text: 'Kuya und Ate richtest du an ältere Geschwister (oder respektvoll an andere). Dodong und Inday nutzt du für jüngere Brüder bzw. Schwestern; „Ading“ ist eine weiche Anrede an jüngere Geschwister.', example: 'Kuya, palihug. / Si Dodong nako.' },
|
||||
{ title: 'si als Personenmarker', text: 'Mit "si" markierst du im einfachen Satz eine konkrete Person.', example: 'Si Nanay. Si Tatay.' }
|
||||
],
|
||||
speakingPrompts: [
|
||||
{ title: 'Meine Familie', prompt: 'Stelle vier Familienmitglieder mit kurzen Sätzen vor.', cue: 'Si Nanay. Si Tatay. Si Lola nako. Si Kuya nako.' }
|
||||
{ title: 'Meine Familie', prompt: 'Stelle vier Familienmitglieder mit kurzen Sätzen vor.', cue: 'Si Nanay. Si Tatay. Si Kuya nako. Si Dodong nako.' }
|
||||
],
|
||||
practicalTasks: [{ title: 'Familienpraxis', text: 'Nenne laut sechs Familienwörter und bilde danach drei Mini-Sätze über deine Familie.' }]
|
||||
practicalTasks: [{ title: 'Familienpraxis', text: 'Nenne laut die acht Kern-Familienwörter und bilde danach drei Mini-Sätze über deine Familie.' }]
|
||||
},
|
||||
'Überlebenssätze - Teil 1': {
|
||||
learningGoals: [
|
||||
@@ -116,6 +118,8 @@ const LESSON_DIDACTICS = {
|
||||
{ target: 'Asa si Tatay?', gloss: 'Wo ist Papa?' },
|
||||
{ target: 'Naa siya sa balay.', gloss: 'Er ist zu Hause.' },
|
||||
{ target: 'Kumusta na ang Kuya?', gloss: 'Wie geht es dem älteren Bruder?' },
|
||||
{ target: 'Kumusta na ang Dodong?', gloss: 'Wie geht es dem jüngeren Bruder?' },
|
||||
{ target: 'Kumusta na ang Inday?', gloss: 'Wie geht es der jüngeren Schwester?' },
|
||||
{ target: 'Gutom na ko, Nanay.', gloss: 'Ich habe Hunger, Mama.' },
|
||||
{ target: 'Hapit na ang pagkaon.', gloss: 'Das Essen ist fast fertig.' }
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user