Add course retrieval by share code feature and enhance course search functionality

- Implemented a new endpoint in VocabController to retrieve courses using a share code.
- Updated VocabService to include logic for validating share codes and checking course access permissions.
- Enhanced course listing functionality with search and language filtering options in the frontend.
- Added a dialog for users to input share codes and search for courses, improving user experience.
- Updated internationalization files to include new strings for share code functionality and search features.
This commit is contained in:
Torsten Schulz (local)
2026-01-19 11:33:20 +01:00
parent e1b3dfb00a
commit 714e144329
7 changed files with 211 additions and 9 deletions

View File

@@ -347,7 +347,13 @@
"confirmDelete": "Lektion wirklich löschen?",
"titleLabel": "Titel",
"descriptionLabel": "Beschreibung",
"languageLabel": "Sprache"
"languageLabel": "Sprache",
"findByCode": "Kurs per Code finden",
"shareCode": "Share-Code",
"searchPlaceholder": "Kurs suchen...",
"allLanguages": "Alle Sprachen",
"invalidCode": "Ungültiger Code",
"courseNotFound": "Kurs nicht gefunden"
}
}
}

View File

@@ -347,7 +347,13 @@
"confirmDelete": "Really delete lesson?",
"titleLabel": "Title",
"descriptionLabel": "Description",
"languageLabel": "Language"
"languageLabel": "Language",
"findByCode": "Find Course by Code",
"shareCode": "Share Code",
"searchPlaceholder": "Search courses...",
"allLanguages": "All Languages",
"invalidCode": "Invalid code",
"courseNotFound": "Course not found"
}
}
}