UI (students) : Admin – Gestion des promotions #80

Closed
opened 2026-04-21 16:26:03 +00:00 by djalim · 0 comments
Collaborator

Fonctionnalité à implémenter :
Interface de création et consultation des promotions avec génération automatique de l'idPromo.
Accessible uniquement par un administrateur.

Route : /apps/students/promotions

Écran Figma : Admin – Student : Promotions (node 1:317)

Éléments UI :

  • Sidebar avec liens : Élèves, Promotions (actif)
  • Titre "Gestion des Promotions"
  • Sous-titre : GET /promotions · POST /promotions · DELETE /promotions/{idPromo}
  • Section création (cadre avec fond) :
    • Titre "Créer une promotion"
    • Sous-titre : "POST /promotions – idPromo est généré automatiquement"
    • Sélecteur "Année" : boutons radio 3A, 4A, 5A
    • Sélecteur "Filière" : boutons radio FISE, FISA
    • Champ "Année scolaire" : saisie libre (ex: "25/26") avec placeholder "ex: 25/26, 26/27..."
    • Aperçu "idPromo généré :" avec chip vert (ex: "4AFISE25/26")
    • Formule : = annee + A + filiere + anneeSco
    • Bouton "+ Créer la promo" (vert)
  • Section liste — "Promotions existantes" :
    • Tableau avec colonnes :
      • idPromo (chip jaune cliquable)
      • Année (ex: "4A")
      • Filière (chip vert "FISE" ou "FISA")
      • Année sco. (ex: "25/26")
      • Nb étudiants (ex: "43 étudiants")
      • Actions — bouton supprimer (icône poubelle rouge)

API consommées :

  • GET /promotions
  • POST /promotions
  • DELETE /promotions/{idPromo}
  • GET /students?idPromo={idPromo} (pour compter les étudiants)
**Fonctionnalité à implémenter :** Interface de création et consultation des promotions avec génération automatique de l'idPromo. Accessible uniquement par un administrateur. **Route :** `/apps/students/promotions` **Écran Figma :** `Admin – Student : Promotions` (node 1:317) **Éléments UI :** - Sidebar avec liens : Élèves, Promotions (actif) - Titre "Gestion des Promotions" - Sous-titre : `GET /promotions · POST /promotions · DELETE /promotions/{idPromo}` - **Section création** (cadre avec fond) : - Titre "Créer une promotion" - Sous-titre : "POST /promotions – idPromo est généré automatiquement" - Sélecteur "Année" : boutons radio 3A, **4A**, 5A - Sélecteur "Filière" : boutons radio **FISE**, FISA - Champ "Année scolaire" : saisie libre (ex: "25/26") avec placeholder "ex: 25/26, 26/27..." - Aperçu "idPromo généré :" avec chip vert (ex: "4AFISE25/26") - Formule : `= annee + A + filiere + anneeSco` - Bouton "+ Créer la promo" (vert) - **Section liste** — "Promotions existantes" : - Tableau avec colonnes : - **idPromo** (chip jaune cliquable) - **Année** (ex: "4A") - **Filière** (chip vert "FISE" ou "FISA") - **Année sco.** (ex: "25/26") - **Nb étudiants** (ex: "43 étudiants") - **Actions** — bouton supprimer (icône poubelle rouge) **API consommées :** - `GET /promotions` - `POST /promotions` - `DELETE /promotions/{idPromo}` - `GET /students?idPromo={idPromo}` (pour compter les étudiants)
djalim added this to the Module Managment project 2026-04-21 16:30:27 +00:00
djalim moved this to 🗂️ Project Backlog in Module Managment on 2026-04-21 16:31:36 +00:00
djalim moved this to 🔴 high priority in Module Managment on 2026-04-22 12:55:21 +00:00
djalim moved this to 🗂️ Project Backlog in Module Managment on 2026-04-22 13:11:03 +00:00
djalim moved this to ⚙️ in progress in Module Managment on 2026-04-26 21:09:26 +00:00
djalim moved this to ✅ done in Module Managment on 2026-04-27 17:01:22 +00:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: admin/PolyMPR#80