feat: Regrouper les cartes du dashboard admin par section thématique
Some checks failed
CI / Backend Tests (push) Has been cancelled
CI / Frontend Tests (push) Has been cancelled
CI / E2E Tests (push) Has been cancelled
CI / Naming Conventions (push) Has been cancelled
CI / Build Check (push) Has been cancelled

Le dashboard admin affichait 16 cartes dans une grille unique sans
organisation logique, obligeant l'administrateur à scanner visuellement
toutes les cartes pour trouver la fonctionnalité souhaitée.

Les cartes sont désormais regroupées en 5 sections cohérentes
(Personnes, Organisation, Année scolaire, Paramètres, Imports)
qui reflètent la structure du menu de navigation latéral.
This commit is contained in:
2026-03-18 01:30:43 +01:00
parent 876307a99d
commit 706ec43473
3 changed files with 142 additions and 105 deletions

View File

@@ -207,14 +207,6 @@
}
}
function ruleTypeLabel(type: string): string {
return type === 'minimum_delay'
? 'Délai minimum'
: type === 'no_monday_after'
? 'Pas de devoir pour lundi'
: type;
}
function formatDate(dateStr: string): string {
const d = new Date(dateStr);
return d.toLocaleDateString('fr-FR', {