Date : 17/02/2026 Status : EN ATTENTE Scope : Backend (monitoring) + Frontend (dashboard-33800-frontend)
Remplacer les 2 sections "Pipelines" et "Recent Deploys" par une seule liste de TOUS les projets GitLab, triée par déploiement le plus récent, avec lien vers GitLab.
La section "Builds en cours" (running pipelines avec progress bars) reste inchangée en haut.
collectors/gitlab.tsNouveau collecteur collectProjects() :
GET /projects?per_page=100)/pipelines?per_page=1)/deployments?per_page=1)routes/gitlab.tsNouvel endpoint : GET /api/gitlab/projects (cache 60s)
lib/types.tsNouveau type GitlabProject :
export interface GitlabProject {
name: string; // path_with_namespace (ex: gouroubleu/connectors-api)
webUrl: string; // URL projet GitLab
lastPipeline: {
id: number;
ref: string;
status: string;
createdAt: string;
duration: number | null;
webUrl: string; // Lien direct vers la pipeline
} | null;
lastDeploy: {
environment: string;
status: string;
createdAt: string;
} | null;
}
lib/api.tsNouveau : gitlabProjects: () => fetchApi('/api/gitlab/projects')
routes/gitlab/index.tsxcollectPipelines(), collectDeploys(), collectRunningPipelines() : conservés (utilisés potentiellement ailleurs + pour running)Actuel : ~65 appels (20 projets × 3 pipelines + 15 projets × 2 deploys) Nouveau : ~60 appels (30 projets × 1 pipeline + 30 projets × 1 deploy) → Comparable, avec cache 60s
monitoring/backend/src/collectors/gitlab.ts — ajout collectProjects()monitoring/backend/src/routes/gitlab.ts — ajout route /projectsdashboard-33800-frontend/src/lib/types.ts — ajout GitlabProjectdashboard-33800-frontend/src/lib/api.ts — ajout gitlabProjects()dashboard-33800-frontend/src/routes/gitlab/index.tsx — refonte affichage