Checkpoint: Ajout des pages Calendrier et Rappels dans le menu de navigation
✅ **Corrections apportées** - Routes /admin/calendrier et /admin/rappels ajoutées dans App.tsx - Liens "Calendrier" et "Rappels" ajoutés dans le menu de navigation (DashboardLayout) - Imports des icônes CalendarDays et Bell ajoutés - Pages AdminCalendrier et AdminRappels maintenant accessibles depuis le menu ✅ **Fonctionnalités complètes disponibles** 1. Barre de progression colorée dans le tableau des séquences 2. Vue calendrier mensuel avec navigation 3. Système de rappels automatiques configurables 4. Gestion des formateurs avec autocomplétion 5. Public cible "Tous" ajouté 6. Formulaires réorganisés sans chevauchement
This commit is contained in:
@@ -14,6 +14,8 @@ import AdminSequenceInscrits from "./pages/AdminSequenceInscrits";
|
||||
import AdminUsers from "./pages/AdminUsers";
|
||||
import AdminEmailTemplates from "./pages/AdminEmailTemplates";
|
||||
import AdminEmailConfig from "./pages/AdminEmailConfig";
|
||||
import AdminCalendrier from "./pages/AdminCalendrier";
|
||||
import AdminRappels from "./pages/AdminRappels";
|
||||
import Inscription from "./pages/Inscription";
|
||||
|
||||
function Router() {
|
||||
@@ -30,6 +32,8 @@ function Router() {
|
||||
<Route path={"/admin/users"} component={AdminUsers} />
|
||||
<Route path={"/admin/email-templates"} component={AdminEmailTemplates} />
|
||||
<Route path={"/admin/email-config"} component={AdminEmailConfig} />
|
||||
<Route path={"/admin/calendrier"} component={AdminCalendrier} />
|
||||
<Route path={"/admin/rappels"} component={AdminRappels} />
|
||||
<Route path={"/404"} component={NotFound} />
|
||||
{/* Final fallback route */}
|
||||
<Route component={NotFound} />
|
||||
|
||||
@@ -21,7 +21,7 @@ import {
|
||||
} from "@/components/ui/sidebar";
|
||||
import { APP_LOGO, APP_TITLE, getLoginUrl } from "@/const";
|
||||
import { useIsMobile } from "@/hooks/useMobile";
|
||||
import { LayoutDashboard, LogOut, PanelLeft, Users, GraduationCap, Calendar, BarChart3, UserCog, Mail, Settings } from "lucide-react";
|
||||
import { LayoutDashboard, LogOut, PanelLeft, Users, GraduationCap, Calendar, CalendarDays, Bell, BarChart3, UserCog, Mail, Settings } from "lucide-react";
|
||||
import { CSSProperties, useEffect, useRef, useState } from "react";
|
||||
import { useLocation } from "wouter";
|
||||
import { DashboardLayoutSkeleton } from './DashboardLayoutSkeleton';
|
||||
@@ -31,6 +31,8 @@ const menuItems = [
|
||||
{ icon: LayoutDashboard, label: "Tableau de bord", path: "/admin" },
|
||||
{ icon: GraduationCap, label: "Formations", path: "/admin/formations" },
|
||||
{ icon: Calendar, label: "Séquences", path: "/admin/sequences" },
|
||||
{ icon: CalendarDays, label: "Calendrier", path: "/admin/calendrier" },
|
||||
{ icon: Bell, label: "Rappels", path: "/admin/rappels" },
|
||||
{ icon: Users, label: "Apprenants", path: "/admin/apprenants" },
|
||||
{ icon: UserCog, label: "Utilisateurs", path: "/admin/users" },
|
||||
{ icon: Mail, label: "Templates d'emails", path: "/admin/email-templates" },
|
||||
|
||||
10
todo.md
10
todo.md
@@ -264,3 +264,13 @@
|
||||
- [x] Redémarrer le serveur pour détecter tous les nouveaux fichiers
|
||||
- [ ] Vérifier que tous les imports et routes sont corrects
|
||||
- [ ] Créer un checkpoint complet avec toutes les fonctionnalités
|
||||
|
||||
## Correction affichage page calendrier
|
||||
|
||||
- [x] Ajouter la route /admin/calendrier dans App.tsx
|
||||
- [x] Ajouter la route /admin/rappels dans App.tsx
|
||||
- [x] Ajouter le lien "Calendrier" dans DashboardLayout
|
||||
- [x] Ajouter le lien "Rappels" dans DashboardLayout
|
||||
- [x] Ajouter les imports CalendarDays et Bell
|
||||
- [x] Redémarrer le serveur
|
||||
- [x] Tester l'accès aux pages calendrier et rappels
|
||||
|
||||
Reference in New Issue
Block a user