Page states¶
Status: Placeholder — to be developed. Last reviewed: —
Scope¶
System-wide patterns for non-happy-path page states: empty (no rows yet, no permission, search returned nothing), loading (initial render, HTMX fetches, long jobs), error (4xx, 5xx, partial failure), and no-permission. Independent of the component the state appears in.
Goal: every list, detail, and dashboard page handles these four states consistently — same icon style, same copy structure, same call-to-action placement.
Sources to mine when writing this¶
- Existing empty-state implementations across
templates/(grep forempty,aucun,no). - Loading patterns currently in use (HTMX
hx-indicator, spinners in partials). - Django error templates (
templates/404.html,500.htmlif present). - Recent dataquality and imports pages — likely the most-iterated examples.