feat(vocab): add dashboard learning summary and related endpoints
All checks were successful
Deploy to production / deploy (push) Successful in 2m52s

- Introduced `getDashboardLearningSummary` method in `VocabService` to provide a compact overview of enrolled courses and current lessons for users.
- Updated `vocabController` to include a new route for the dashboard widget, allowing users to access their learning summary.
- Enhanced `vocabRouter` to route requests for the new dashboard widget endpoint.
- Added localization support for the new dashboard features across multiple languages, improving user engagement and accessibility.
- Updated UI components to integrate the new dashboard widget, ensuring a seamless user experience.
This commit is contained in:
Torsten Schulz (local)
2026-04-02 15:06:50 +02:00
parent 77e6f8d3e8
commit 5fcd55be43
28 changed files with 1095 additions and 39 deletions

View File

@@ -433,7 +433,28 @@
"bookmarkCandidate": "Timan-i kining kandidatura",
"voteError": "Sayop sa paghatag sa boto",
"voteAllError": "Sayop sa paghatag sa mga boto",
"applyError": "Dili mapadala ang aplikasyon."
"applyError": "Dili mapadala ang aplikasyon.",
"benefits": {
"daily_salary": "Adlaw-adlaw nga suhol (usa ra kada adlaw): mga {amount}",
"tax_exemption": "Way buhis: {regions}",
"tax_exemption_all": "Way buhis: tanang lebel sa rehiyon",
"generic": "Benepisyo ({code})"
},
"regionLevels": {
"city": "Siyudad",
"county": "County",
"shire": "Shire",
"markgrave": "Margravate",
"duchy": "Duchy",
"country": "Nasud"
},
"current": {
"benefit": "Benepisyo",
"benefit_all": "Tanang rehiyon",
"holder": "Tag-iya",
"none": "Walay karon nga posisyon.",
"termEnds": "Matapos sa"
}
},
"family": {
"title": "Pamilya",