Fix a lot og stuff #148

Merged
djalim merged 6 commits from feature/fix-up-everything into develop 2026-05-01 16:31:50 +00:00
Collaborator

This Pull Request represents a major milestone for the PolyMPR platform. It introduces significant new functional areas (Internships and International Mobility), finalizes the API documentation
(OpenAPI), and aligns the user interface with academic terminology (ECUE).

Key Changes

  1. New Functional Modules
  • Internships (Stages): Full implementation of internship management, including dedicated API endpoints, overview dashboards, and partials.
  • International Mobility: A new tracking system for student mobility abroad, featuring contract management (PDF uploads) and a global overview.
  • Advanced Administration:
    • New dedicated editing interfaces for Users, ECUEs, and UEs.
    • Curriculum Import (Maquette): Implementation of an Excel-based import system to automate the creation of pedagogical structures.
  1. Terminology Update (ECUE)
  • System-wide replacement of "Module" with "ECUE" (Élément Constitutif d'une Unité d'Enseignement) across the entire frontend.
  • Updated API error messages, navigation labels, table headers, and import format descriptions to reflect this change.
  1. Technical & Architectural Improvements
  • API & Schema:
    • Drizzle schema updates (migrations 0003 and 0004) to support session 2 grades, penalties (malus), internships, and mobility records.
    • Publication of a comprehensive OpenAPI v3 specification (openapi.yml).
  • Components & Islands:
    • Refactored Admin Islands for granular management of assignments (Teacher assignments, UE-ECUE links).
    • Improved Excel import previews for grades, students, and curricula.
  • Core System:
    • Optimized navigation middleware and application property management (props.ts).
    • Integrated a new theme management system (theme.js) and a major overhaul of the design system (ui.css).
  1. Testing & Tooling
  • Added scripts for template generation and curriculum inspection.
  • Updated E2E tests to align with the new structural changes.

Technical Details

  • Lines changed: +8,565 / -1,452.
  • Files impacted: 114 files, including migrations, API routes, Fresh islands, and shared components.
  • Database: Requires running new migrations to add stages and mobilites tables.

User Impact

  • Teachers and administrators will now see "ECUE" instead of "Module" throughout the platform.
  • New application catalogs are available for managing internships and mobility.
  • Streamlined curriculum setup for new semesters via the "Import Maquette" tool.
This Pull Request represents a major milestone for the PolyMPR platform. It introduces significant new functional areas (Internships and International Mobility), finalizes the API documentation (OpenAPI), and aligns the user interface with academic terminology (ECUE). Key Changes 1. New Functional Modules - Internships (Stages): Full implementation of internship management, including dedicated API endpoints, overview dashboards, and partials. - International Mobility: A new tracking system for student mobility abroad, featuring contract management (PDF uploads) and a global overview. - Advanced Administration: - New dedicated editing interfaces for Users, ECUEs, and UEs. - Curriculum Import (Maquette): Implementation of an Excel-based import system to automate the creation of pedagogical structures. 2. Terminology Update (ECUE) - System-wide replacement of "Module" with "ECUE" (Élément Constitutif d'une Unité d'Enseignement) across the entire frontend. - Updated API error messages, navigation labels, table headers, and import format descriptions to reflect this change. 3. Technical & Architectural Improvements - API & Schema: - Drizzle schema updates (migrations 0003 and 0004) to support session 2 grades, penalties (malus), internships, and mobility records. - Publication of a comprehensive OpenAPI v3 specification (openapi.yml). - Components & Islands: - Refactored Admin Islands for granular management of assignments (Teacher assignments, UE-ECUE links). - Improved Excel import previews for grades, students, and curricula. - Core System: - Optimized navigation middleware and application property management (props.ts). - Integrated a new theme management system (theme.js) and a major overhaul of the design system (ui.css). 4. Testing & Tooling - Added scripts for template generation and curriculum inspection. - Updated E2E tests to align with the new structural changes. Technical Details - Lines changed: +8,565 / -1,452. - Files impacted: 114 files, including migrations, API routes, Fresh islands, and shared components. - Database: Requires running new migrations to add stages and mobilites tables. User Impact - Teachers and administrators will now see "ECUE" instead of "Module" throughout the platform. - New application catalogs are available for managing internships and mobility. - Streamlined curriculum setup for new semesters via the "Import Maquette" tool.
djalim added 2 commits 2026-04-30 11:53:40 +00:00
Add routes for modules, users, notes import, recap, and islands edit.
Update middleware to filter pages based on user role.

feat(admin): add modal for assigning teaching, replace delete icon with SVG

refactor(server): rename port variable to uppercase and add env support
feat(admin): add enseignants, users, filtering and role colors

refactor(AdminRoles): improve role UI and add permission mapping

feat(admin-users): add role colors, role filter, and modal for creating users

feat(admin): add EditModule component for module editing

feat(admin): add EditUser page for editing users and managing enseignements

feat(promo-select): display id and name in options for promo dropdown

feat: add edit module/user routes, inline coeff editing, UI tweaks

refactor: UI – icons, modal overlay, grid, subtitles, import margin
feat : fix a lot of stuff
Check Deno code / Check Deno code (pull_request) Failing after 8s
Tests / Unit tests (pull_request) Successful in 13s
Tests / Integration tests (pull_request) Failing after 1m0s
df3957741d
djalim changed title from WIP : Fix a lot og stuff to WIP: Fix a lot og stuff 2026-04-30 11:53:46 +00:00
djalim added 3 commits 2026-05-01 12:26:09 +00:00
- Add stages module with full CRUD API and admin overview island
- Add mobility overview island (Liste, Kanban, Detail CRUD views)
- Add contract PDF upload/download endpoints for mobilites
- Add light/dark theme toggle in header
- Add employeeOnly flag to hide entire modules from students (admin, students, stages)
- Add read-only GET endpoints for modules/ues/ue-modules in notes module
- Add [slug].tsx catch-all routes for direct URL navigation
- Replace old mobility table with mobilites + stages schema (migration 0004)
- Allow students to create mobilites and upload contracts
- Redirect authenticated users from / to /apps catalog
refactor: rename Module to ECUE, update routes, UI, and API messages
Check Deno code / Check Deno code (pull_request) Failing after 27s
Tests / Unit tests (pull_request) Successful in 12s
Tests / Integration tests (pull_request) Successful in 1m16s
ae4d4d3020
refactor: rename Module to ECUE in API, UI, and error messages
djalim added 1 commit 2026-05-01 12:36:07 +00:00
style: fix formatting of ImportMaquette error handling block
Check Deno code / Check Deno code (push) Successful in 7s
Tests / Unit tests (push) Successful in 13s
Tests / Integration tests (push) Failing after 13m46s
Check Deno code / Check Deno code (pull_request) Successful in 14s
Tests / Unit tests (pull_request) Successful in 13s
Tests / Integration tests (pull_request) Successful in 3m54s
77e0b966a5
djalim marked the pull request as ready for review 2026-05-01 16:31:41 +00:00
djalim merged commit 77e0b966a5 into develop 2026-05-01 16:31:50 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: admin/PolyMPR#148