fix: QA audit — lint cleanup, i18n fixes, module visibility, sidebar UX
Some checks failed
Workflow / ʦ TypeScript (push) Failing after 5m40s
Workflow / ⚫️ Test (push) Has been skipped

- Fix 97 lint errors → 0 (unused imports, params, variables across 40+ files)
- Fix i18n key format: colon → dot notation for next-intl compatibility
- Add missing i18n keys (routes.application, routes.home, confirm)
- Fix module visibility: sidebar now respects per-account DB features
- Fix inject function: use dot-notation keys, add collapsed:true defaults
- Fix ConfirmDialog: use useTranslations instead of hardcoded German defaults
- Fix events page: replace placeholder 'Beschreibung' with proper description
- Fix Dockerfile: add NEXT_PUBLIC_CI ARG for Docker builds
- Collapse secondary sidebar sections by default for cleaner UX
This commit is contained in:
Zaid Marzguioui
2026-04-02 14:39:20 +02:00
parent c6d564836f
commit 0bd5d0cf42
56 changed files with 387 additions and 234 deletions

View File

@@ -170,7 +170,7 @@
},
"events": {
"title": "Veranstaltungen",
"description": "Beschreibung",
"description": "Veranstaltungen planen, verwalten und Anmeldungen erfassen",
"newEvent": "Neue Veranstaltung",
"registrations": "Anmeldungen",
"holidayPasses": "Ferienpässe",

View File

@@ -137,7 +137,9 @@
"associationReporting": "Berichte",
"associationTemplates": "Geteilte Vorlagen",
"administration": "Administration",
"accountSettings": "Kontoeinstellungen"
"accountSettings": "Kontoeinstellungen",
"application": "Anwendung",
"home": "Startseite"
},
"roles": {
"owner": {
@@ -219,5 +221,6 @@
"title": "Konto nicht gefunden",
"description": "Das angeforderte Konto existiert nicht oder Sie haben keine Berechtigung darauf zuzugreifen.",
"action": "Zum Dashboard"
}
},
"confirm": "Bestätigen"
}

View File

@@ -170,7 +170,7 @@
},
"events": {
"title": "Events",
"description": "Description",
"description": "Plan, manage, and track event registrations",
"newEvent": "New Event",
"registrations": "Registrations",
"holidayPasses": "Holiday Passes",

View File

@@ -138,7 +138,8 @@
"associationReporting": "Reports",
"associationTemplates": "Shared Templates",
"administration": "Administration",
"accountSettings": "Account Settings"
"accountSettings": "Account Settings",
"application": "Application"
},
"roles": {
"owner": {
@@ -220,5 +221,6 @@
"title": "Account not found",
"description": "The requested account does not exist or you do not have permission to access it.",
"action": "Go to Dashboard"
}
},
"confirm": "Confirm"
}