shell: settings — the pinned Settings inventory and brand-kit editor #37
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
Depends on
Reference
Matou/idss#37
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parent
Feature spec: #22 (shell).
What to build
The Settings tab (DS,
docs/ux/wireframes/shell/shell-ds-settings.html) with a small, predictable, pinned v1 inventory so Settings never becomes the dumping ground for every orphan control. DS shows exactly three sections and nothing else (DDR 0099): the Brand kit, Updates & update policy (provisioning's, mounted here), and read-only Community details. The not-here list is load-bearing: alert contact, roles & credentials, backup policy, enrollment codes, and the app's own update are each absent from Settings because each is homed elsewhere (monitoring P5-S2 / members P6-S4 / backups P7-S2 / the Fleet ledger DF2 / the app's AU) — a community setting never governs the app (ADR 0033).Community details shows name, apex domain, DNS arrangement and community ID as read-only, with an honest note that changing the domain or DNS wiring is founding-scale work (registrar, certificates, sign-in origins — ADRs 0014/0049) directing to support/docs; renaming the display name is directed to the brand kit. Edit brand kit opens DS2 (
docs/ux/wireframes/shell/shell-ds2-settings-brand-kit.html, edge DS → DS2) — the theming seam's Settings caller: edit name/logo/colours/greeting with inlineValidate(contrast shortfalls are warnings, never blocks), a debouncedcompile-preview, and an "Apply" action. On apply, the kit commits, oneCompileruns, every surface wears it, and the coverage Report renders honestly per surface (e.g. "colours reach the portal and Nextcloud; Mattermost shows your logo; the sign-in screen is name+logo only, by design" — ADR 0038; edge DS2 → DS). The Updates section shows provisioning's update status and policy summary and mounts provisioning's P4b surfaces (edge DS → P4b-U1) — the tab set stays closed (ADR 0094); a pending release's attention path is the chrome (indicator / needs-attention), not a tab badge.Acceptance criteria
Validate(contrast shortfalls are warnings, never blocks), a debouncedcompile-preview, and an "Apply" action.Compileruns, every surface wears it, and the coverage Report renders honestly per surface (e.g. "colours reach the portal and Nextcloud; Mattermost shows your logo; the sign-in screen is name+logo only, by design" — ADR 0038; edge DS2 → DS).Blocked by
Task manifest
brandkitpackage + golden corpusDone in commit
28ec371.DS (SettingsScreen.vue) — the pinned v1 inventory (DDR 0099): exactly three sections and nothing else (brand kit, provisioning's mounted Updates & update policy, read-only community details), plus the load-bearing not-here list naming each orphan control and where it lives (alert contact→monitoring P5-S2, roles & credentials→members P6-S4, backup policy→backups P7-S2, enrollment codes→Fleet DF2, the app's own update→AU — a community setting never governs the app, ADR 0033). Community details render name/apex-domain/DNS/community-ID read-only with the founding-scale “bigger step than a setting” note (registrar/certificates/sign-in origins, ADRs 0014/0049) and renaming directed to the brand kit. The Updates section shows provisioning's status + policy with an in-section pending pill (never a tab badge — tab set closed, ADR 0094) and routes into P4b (edge DS→P4b-U1).
DS2 (BrandKitScreen.vue) — the theming seam's Settings caller, unchanged (DDR 0099 §1): edit → inline Validate (contrast = warning, never a block) → debounced compile-preview → Apply (commit, one Compile, every surface wears it) → the honest per-surface coverage Report (portal/Nextcloud applied, Mattermost partial, sign-in screen name+logo only by design — ADR 0038), then rests back to DS.
Seam not truth (out_of_scope honoured): DS2 calls the theming seam across a narrow TS
BrandKitSeam+FakeBrandKitSeam(the Gointernal/brandkitstays the one authority; the fake asserts apply runs exactly one Compile). Provisioning's Updates truth stays P4b behindFakeUpdatesMount.Evidence: 11 new dashboard component tests in
dashboard/tests/unit/settings.test.tscovering all five acceptance clauses (stories 23–26); full dashboard suite 25/25 green,vue-tsc+ eslint clean. Files:dashboard/src/lib/brandkit.ts,dashboard/src/lib/settings.ts,dashboard/src/components/shell/{SettingsSurface,SettingsScreen,BrandKitScreen}.vue.