Design sweep: tokens and base styles, connection summary, secret picker, access panel layout, sample data

- Add a token-based design system (light/dark colours, type and spacing scales)
  and style buttons, forms, tables, tabs and the app shell.
- Show a server and session summary (version, status, cluster, server time,
  token expiry) instead of the connect form while connected.
- Replace the free-text secret path in the Access panel with a browsable picker
  and an "everything inside" tickbox; typing a path is still available.
- Re-lay out the Access panel: header bar, current access beside the grant form.
- Seed the docker-compose stack with sample secrets, users, entities, a group,
  policies and a token via docker/seed.sh (safe to re-run).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
mattandClaude Sonnet 5.5 committed 2026-10-20 12:07:39 +01:00
1 parent a63f7c0faa
commit fbe9cc9262
11 files changed
+1188 -169

No files matched your search

+5 -3
View File
@@ -15,8 +15,8 @@ services:
interval: 2s
retries: 15
# One-shot: allow the UI origin to call OpenBao from the browser. OpenBao's own
# web UI (:8200) is same-origin but still sends an Origin header, so it is listed too.
# One-shot: allow the UI origin to call OpenBao from the browser, then load sample
# secrets, users, entities, a group and a token (see docker/seed.sh).
openbao-setup:
image: openbao/openbao:latest
depends_on:
@@ -25,7 +25,9 @@ services:
environment:
BAO_ADDR: http://openbao:8200
BAO_TOKEN: root
entrypoint: ["bao", "write", "sys/config/cors", "enabled=true", "allowed_origins=http://localhost:8080,http://localhost:8200", "allowed_headers=X-Vault-Token,Content-Type"]
volumes:
- ./docker/seed.sh:/seed.sh:ro
entrypoint: ["sh", "/seed.sh"]
restart: "no"
ui: