Fix admin lock-on-load, settings hint, theme swatches (#112) #113

Merged
fen merged 1 commits from fix-112-admin-settings-ui into dev 2026-09-10 00:54:43 +00:00
Collaborator

Fixes #112

  • /admin shows only the lock (title + key box) on every fresh page load; the panel appears only after submitting a valid key in that visit. The key is still stored in sessionStorage after a successful unlock so in-page actions keep working.
  • Removed the 'Applies instantly and is saved in this browser.' hint from settings.html.
  • Theme swatches on /settings are now derived at runtime from the real app.css preset variables (--bg, --surface, --surface-2, --muted, --accent) via getComputedStyle, so they can no longer drift.

go vet ./... and go test ./... pass.

Fixes #112 - /admin shows only the lock (title + key box) on every fresh page load; the panel appears only after submitting a valid key in that visit. The key is still stored in sessionStorage after a successful unlock so in-page actions keep working. - Removed the 'Applies instantly and is saved in this browser.' hint from settings.html. - Theme swatches on /settings are now derived at runtime from the real app.css preset variables (--bg, --surface, --surface-2, --muted, --accent) via getComputedStyle, so they can no longer drift. `go vet ./...` and `go test ./...` pass.
fen added 1 commit 2026-09-10 00:52:56 +00:00
Admin lock on every load, drop settings hint, derive theme swatches from CSS vars (#112)
CI / docker (pull_request) Skipped
CI / test (pull_request) Successful in 24s
6b95994c53
fen merged commit 7a2fa00f4a into dev 2026-09-10 00:54:43 +00:00
Sign in to join this conversation.