feat(demo): add demo manifest, Dutch demo entry, permanent badge and About page
Adds GET /api/v1/demo/manifest as a single source of truth for the demo's fictional org identity (Northstar Mobility -- surfacing the project's already-locked tenant name), synthetic-data/reset state, and live scenario readiness. Rewrites the login screen in Dutch with an honest, no-password demo entry and a guided-demo entry point, replaces the loud full-width demo banner with a subtle badge + popover, and adds a compact About page explaining what's real vs. synthetic vs. not yet connected.
This commit is contained in:
@@ -11,10 +11,17 @@ The demo may use signed server-issued sessions or short-lived JWTs. Demo-role bu
|
||||
### System and demo
|
||||
|
||||
- `GET /health`
|
||||
- `GET /api/v1/demo/manifest` — unauthenticated; demo org name/description, synthetic-data
|
||||
flag, reset allowance and timestamp, guide availability, the 5 named scenarios (with
|
||||
live readiness derived from actual records, not hardcoded), and plain-language
|
||||
integration summaries. Single source of truth for the demo-entry screen, the permanent
|
||||
demo badge, the scenario overview and the About page — avoids duplicating this logic
|
||||
per surface.
|
||||
- `POST /api/v1/demo/login`
|
||||
- `GET /api/v1/demo/session` — confirms the current session; `Cache-Control: no-store`
|
||||
- `POST /api/v1/demo/logout` — safe to call without a session
|
||||
- `POST /api/v1/demo/reset` — Operations Manager only; invalidates the caller's own session
|
||||
- `POST /api/v1/demo/reset` — Operations Manager only; invalidates the caller's own
|
||||
session; returns 403 if `DEMO_ALLOW_RESET=false`
|
||||
|
||||
### Dashboard
|
||||
|
||||
|
||||
Reference in New Issue
Block a user