From d1dcd903d71dbd6a114f3054b9c0c351f6b9f461 Mon Sep 17 00:00:00 2001 From: Arnaud Dartois Date: Fri, 13 Nov 2026 12:16:47 +0100 Subject: [PATCH] docs: remove stale UI page count from technical spec (#400) Co-authored-by: Arnaud Dartois --- docs/specs.md | 6 +++++- skills/ui-unknown-route/SKILL.md | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/specs.md b/docs/specs.md index c1f5ed2..d171f3c 100644 --- a/docs/specs.md +++ b/docs/specs.md @@ -195,7 +195,11 @@ d’accès, la cadence et les limites de validation SMTP/ntfy. ## Interface Web (Blazor) — `docs/ui-pages.md` - MudBlazor, Interactive Server Rendering -- 8 pages : Login, Dashboard, Sites, Cameras, Persons, Events, Admin, Alertes +- Parcours documentés : authentification, dashboard, sites/caméras, personnes, + événements, alertes/notifications, profil et administration. Les routes et + pages détaillées sont recensées dans [`docs/ui-pages.md`](ui-pages.md); + l’administration est répartie entre pages protégées et ne correspond pas à + une route unique `/admin`. - Live vidéo depuis le détail caméra : publication RTSP Agent→MediaMTX et lecture WHEP/WebRTC via `live-view.js` - Thème Light/Dark/Auto, localisation française - Voir `docs/ui-pages.md` pour les maquettes ASCII complètes diff --git a/skills/ui-unknown-route/SKILL.md b/skills/ui-unknown-route/SKILL.md index 6286347..62bc39f 100644 --- a/skills/ui-unknown-route/SKILL.md +++ b/skills/ui-unknown-route/SKILL.md @@ -9,7 +9,7 @@ Heimdall renders its root `Routes` component in an interactive server circuit wi The reusable interactive error screen is `Components/Pages/NotFound.razor`. It owns its `MainLayout`, title/body localization, and the return link to `/dashboard`. Keep it assigned as `Router.NotFoundPage` for client-side unknown navigation. Keep the static HTTP fallback's resource keys and link target aligned with this component. -When maintaining route documentation, verify each current route against the Razor `@page` directives. Also check route examples in navigation and authorization guides against the current layout links and their visibility conditions. Mark removed mockups as historical and link to the replacement pages; do not preserve a retired route such as `/admin` as if it were still mapped. +When maintaining route documentation or the UI summary in `docs/specs.md`, verify current routes against the Razor `@page` directives and point detailed inventories to `docs/ui-pages.md` instead of copying a hard page count. Also check route examples in navigation and authorization guides against the current layout links and their visibility conditions. Mark removed mockups as historical and link to the replacement pages; do not preserve a retired route such as `/admin` as if it were still mapped. ## Acceptance workflow