From 393265987be812e0088967922e99375a82be1372 Mon Sep 17 00:00:00 2001 From: Manus Date: Mon, 12 Jan 2026 06:07:28 -0500 Subject: [PATCH] =?UTF-8?q?Checkpoint:=20Correction=20du=20menu=20de=20nav?= =?UTF-8?q?igation=20manquant=20dans=20l'espace=20formateur=20:=20-=20Ajou?= =?UTF-8?q?t=20du=20composant=20DashboardLayout=20=C3=A0=20la=20page=20For?= =?UTF-8?q?mateurDashboard=20-=20Le=20menu=20de=20navigation=20lat=C3=A9ra?= =?UTF-8?q?l=20s'affiche=20maintenant=20correctement=20pour=20les=20utilis?= =?UTF-8?q?ateurs=20avec=20le=20r=C3=B4le=20formateur=20-=20Navigation=20c?= =?UTF-8?q?oh=C3=A9rente=20entre=20toutes=20les=20pages=20de=20l'espace=20?= =?UTF-8?q?formateur=20(Dashboard=20et=20=C3=89margement)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/src/pages/FormateurDashboard.tsx | 31 ++++++++++++++----------- todo.md | 7 ++++++ 2 files changed, 25 insertions(+), 13 deletions(-) diff --git a/client/src/pages/FormateurDashboard.tsx b/client/src/pages/FormateurDashboard.tsx index 7cd81d6..5c802d1 100644 --- a/client/src/pages/FormateurDashboard.tsx +++ b/client/src/pages/FormateurDashboard.tsx @@ -6,6 +6,7 @@ import { Calendar, Users, GraduationCap, Clock, MapPin, AlertCircle } from "luci import { format } from "date-fns"; import { fr } from "date-fns/locale"; import { Skeleton } from "@/components/ui/skeleton"; +import DashboardLayout from "@/components/DashboardLayout"; export default function FormateurDashboard() { const { data: stats, isLoading: statsLoading } = trpc.formateurs.dashboardStats.useQuery(); @@ -13,23 +14,26 @@ export default function FormateurDashboard() { if (statsLoading) { return ( -
-
- - + +
+
+ + +
+
+ + + +
+
-
- - - -
- -
+ ); } return ( -
+ +
{/* En-tête */}

Tableau de bord formateur

@@ -198,6 +202,7 @@ export default function FormateurDashboard() { )} -
+
+
); } diff --git a/todo.md b/todo.md index c5bbbbe..f692877 100644 --- a/todo.md +++ b/todo.md @@ -705,3 +705,10 @@ - [x] Ajouter le bouton "Tester l'URL" avec indicateur de statut - [x] Ajouter une section "Historique des modifications" dans la page - [x] Tester toutes les fonctionnalités + +## Correction menu de navigation formateur + +- [x] Identifier les pages formateur sans DashboardLayout +- [x] Ajouter DashboardLayout à toutes les pages formateur +- [x] Vérifier que le menu s'affiche correctement pour le rôle formateur +- [x] Tester la navigation dans l'espace formateur