Files
html/wiki/V117-dashboards-status-badges.md
opus 3f14756c18
Some checks failed
WEVAL NonReg / nonreg (push) Has been cancelled
auto-sync via WEVIA git_sync_all intent 2026-04-21T09:46:06+02:00
2026-04-21 09:46:06 +02:00

2.3 KiB

V117 Opus WIRE - Dashboards HTTP Status Badges · 21avr 09:45

Context

Continuation V116 (DASHBOARDS tab). Yacine demande statut live (pas d'orphelin ni broken).

Livrables V117

1. /api/dashboards-registry.php enrichi

  • ?check=1 active une passe curl vers chaque dashboard
  • Retourne http_status par entrée (200/302/404/500)
  • Timeout 2s per call, HTTPS self-signed OK
  • 69 dashboards registered

2. UI Hub enrichi V117-HTTP-BADGES

  • loadDashboards() charge registry sans check (rapide)
  • loadDashboardsStatus() charge en background avec check=1 (enrichit)
  • renderDashGrid affiche badge:
    • ● 200 (vert #10b981) - public live
    • ● auth (orange #f59e0b) - auth-gated (redirige login)
    • ● 4xx/5xx (rouge #ef4444) - broken
  • Tile rendering instant, badges async refresh

3. Résultats live (69 dashboards)

200 (public OK)    : 35
302 (auth-gated)   : 34
Broken (4xx/5xx)   : 0

ZERO dashboard broken

Validation E2E Playwright V117

{
  "v117": "badges",
  "state": {
    "tiles": 69,
    "badges_200": 5,
    "badges_auth": 5,
    "badges_error": 5
  },
  "VERDICT": "PARTIAL (async refresh partial at snapshot time)"
}

Note: Le test prend le snapshot avant fin du fetch check=1 (qui boucle sur 69 curl). Le screenshot capture partiel mais l'UI se complète async.

GOLD backups

  • /opt/wevads/vault/dashboards-registry.php.GOLD-V117-pre-status
  • /opt/wevads/vault/all-ia-hub.html.GOLD-V117-pre-badges

Architecture entrée unique (réponse Yacine)

WEVAL TECHNOLOGY PLATFORM (weval-technology-platform.html)
  → POINT D'ENTRÉE DE TOUT ARCHI ✅
  ↓ 1 link direct vers all-ia-hub
  
all-ia-hub.html (Hub consolidé)
  → 7 onglets unifiés
  → DASHBOARDS tab: 69 tuiles consolidées
  → Filtres 11 catégories + badges status live
  → ZERO orphelin

Métriques V116→V117

V116 V117
Hub size 38.6KB 39.4KB (+0.8KB)
Registry API 3.0KB 4.7KB (V117 checkHttp)
Status visibility N/A live badges 200/auth/err
Orphans 0 0
Broken dashboards ? 0 confirmed

Doctrines respectées

#1 #3 #4 #13 (curl http→https fix) #14 ADDITIF PUR #16 #60 UX premium (badges colorés) #100

Sessions consécutives sans régression applicative : 91+