Feat v0.2.7 user settings audit (#11)
Some checks failed
CI/CD / detect-changes (push) Successful in 4s
CI/CD / test-frontend (push) Successful in 5s
CI/CD / test-go-pg (push) Failing after 2m36s
CI/CD / test-sqlite (push) Successful in 2m48s
CI/CD / build-and-deploy (push) Has been skipped

Co-authored-by: Jeffrey Smith <jasafpro@gmail.com>
Co-committed-by: Jeffrey Smith <jasafpro@gmail.com>
This commit was merged in pull request #11.
This commit is contained in:
2026-03-27 15:55:06 +00:00
committed by xcaliber
parent c9effb0285
commit 82430a2cb2
14 changed files with 50 additions and 99 deletions

View File

@@ -2,7 +2,33 @@
All notable changes to Switchboard Core are documented here.
## [Unreleased] — v0.2.6
## v0.2.7 — User Settings Audit
### Changed
- **localStorage namespace**: Renamed `cs-appearance` key to `sb-appearance`
across appearance settings, base template, and workflow template. One-time
migration preserves existing user preferences.
- **Policy-gating tests**: Replaced stale `allow_user_byok` / `allow_user_personas`
assertions with `allow_registration` check (the only policy still in admin UI).
### Removed
- **Dead BYOK nav section** in user settings: empty `BYOK_ITEMS` array,
`byokEnabled` state, "BYOK Enabled" footer badge, and the nav group
that rendered an empty section.
- **Dead personas gate**: `personasEnabled` state and `.filter()` on
NAV_ITEMS for a `gate` property no items have. `auth.permissions.changed`
listener removed (existed solely for BYOK + personas state).
- **Dead Message Font Size**: Slider, `msgFont` state, and `--msg-font`
CSS variable application from appearance section and base template.
- **Dead policy defaults**: `allow_user_byok` and `allow_user_personas`
removed from `PolicyDefaults`, profile bootstrap, permissions handler,
and `PublicSettings`. Test seed data cleaned.
---
## v0.2.6 — Admin Settings Audit
### Changed