Template Internal tools · Admin console
Admin Console
An internal admin console: tenants with suspend and reactivate, users across tenants with simulated impersonation, subscriptions with cancel and resume, and an audit log of every staff action, with role-gated destructive actions behind confirmation.
A starting point: runs as a live demo, and copies into a new prototype.
Screenshot · shown in its full screen shell
Live preview
No live preview yet.
Each prototype stores its data in IndexedDB for the address it runs on. Data you create at localhost:5173 is separate from a build at localhost:4173 or a published URL, and the framed preview shares
storage with that address opened directly.
Highlights
- Suspend and reactivate tenants
- Simulated impersonation of users across tenants
- Cancel and resume subscriptions
- Audit log of every staff action, with confirmed destructive actions
Scenarios 5
- empty
- operations default
- incident
- support-agent
- auditor
Each scenario rebuilds a deterministic world. Open one with ?scenario=<id>.
Spec kit
Every prototype carries a spec any agent can follow to rebuild it in a real app: the files below, in templates/admin-console/, with generated regions kept in sync with the code.
- AGENTS.md
- docs/SPEC.md
- docs/DATA_MODEL.md
- docs/FLOWS.md
- docs/SCREENS.md
- docs/PERMISSIONS.md
Check that the spec is current
pnpm protoyard spec admin-console --check Rebuild kit (ZIP)
pnpm protoyard spec admin-console --bundle