shell: settings — the pinned Settings inventory and brand-kit editor #37

Closed
opened 2026-07-25 04:54:58 +00:00 by ben · 1 comment
Owner

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 inline Validate (contrast shortfalls are warnings, never blocks), a debounced compile-preview, and an "Apply" action. On apply, the kit commits, one Compile runs, 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

  • (story 23) Given the Settings tab, When DS renders, Then it shows exactly three sections — Brand kit, Updates & update policy (provisioning's, mounted here), and read-only Community details — and nothing else (DDR 0099's pinned v1 inventory).
  • (story 23) Given the not-here list is load-bearing, When an operator looks for alert contact / roles & credentials / backup policy / enrollment codes / the app's own update, Then each is absent from Settings because it 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).
  • (story 24) Given DS, When Community details renders, Then it shows name, apex domain, DNS arrangement and community ID as read-only, with a note that changing the domain or DNS wiring is founding-scale work (registrar, certificates, sign-in origins — ADRs 0014/0049) and to contact support/see docs; renaming the display name is directed to the brand kit.
  • (story 25) Given DS, When I choose "Edit brand kit", Then DS2 opens (edge DS → DS2) — the theming seam's Settings caller: edit name/logo/colours/greeting with inline Validate (contrast shortfalls are warnings, never blocks), a debounced compile-preview, and an "Apply" action.
  • (story 25) Given DS2, When I apply, Then the kit commits, one Compile runs, 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).
  • (story 26) Given DS, When the Updates section renders, Then it 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.

Blocked by

  • #29 — Settings mounts in the frame
  • #27 — DS2 is the brandkit seam's Settings caller

Task manifest

task: shell:settings
implements_flow: shell
implements_edge: DN→DS, DS→DS2, DS2→DS, DS→P4b-U1
wireframe:
  - docs/ux/wireframes/shell/shell-ds-settings.html
  - docs/ux/wireframes/shell/shell-ds2-settings-brand-kit.html
interface: Settings (DS) pinned three-section inventory + the not-here list; DS2 as the brandkit seam's Settings caller (Validate / compile-preview / Compile / Report, unchanged); provisioning's Updates & update policy mounted (DS → P4b-U1); read-only community details
seam: Settings component tests — faked brandkit seam and mounted provisioning Updates; asserts the pinned three-section inventory (nothing else), the not-here list, read-only community details with the bigger-step note, and the brandkit caller flow (validate → preview → apply → coverage report)
acceptance:
  - given: the Settings tab
    when: DS renders
    then: exactly three sections show — Brand kit, Updates & update policy (provisioning's), read-only Community details — and nothing else
  - given: the not-here list
    when: an operator looks for alert contact / roles & credentials / backup policy / enrollment codes / the app's update
    then: each is absent because homed elsewhere (monitoring/members/backups/DF2/AU); a community setting never governs the app
  - given: DS
    when: Community details renders
    then: name/apex domain/DNS/community ID show read-only with the founding-scale "bigger step" note; renaming is directed to the brand kit
  - given: DS
    when: I choose "Edit brand kit" and apply in DS2
    then: DS2 opens with Validate (warnings not blocks) + debounced compile-preview; apply commits, runs one Compile, and renders the honest per-surface coverage Report
  - given: DS
    when: the Updates section renders
    then: it shows provisioning's status/policy and mounts P4b surfaces; the tab set stays closed; attention rides the chrome, not a tab badge
depends_on: [ui-kit-mount-slot-contract, bootstrap:brandkit-seam]
out_of_scope: [the brandkit seam's own compile/validate truth (theming's spec), provisioning's Updates truth (provisioning P4b), alert contact/roles/backup-policy/codes/app-update (homed elsewhere)]
needs_human_decision: []
## 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 inline `Validate` (contrast shortfalls are warnings, never blocks), a debounced `compile-preview`, and an "Apply" action. On apply, the kit commits, one `Compile` runs, 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 - [ ] (story 23) Given the Settings tab, When DS renders, Then it shows exactly three sections — Brand kit, Updates & update policy (provisioning's, mounted here), and read-only Community details — and nothing else (DDR 0099's pinned v1 inventory). - [ ] (story 23) Given the not-here list is load-bearing, When an operator looks for alert contact / roles & credentials / backup policy / enrollment codes / the app's own update, Then each is absent from Settings because it 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). - [ ] (story 24) Given DS, When Community details renders, Then it shows name, apex domain, DNS arrangement and community ID as read-only, with a note that changing the domain or DNS wiring is founding-scale work (registrar, certificates, sign-in origins — ADRs 0014/0049) and to contact support/see docs; renaming the display name is directed to the brand kit. - [ ] (story 25) Given DS, When I choose "Edit brand kit", Then DS2 opens (edge DS → DS2) — the theming seam's Settings caller: edit name/logo/colours/greeting with inline `Validate` (contrast shortfalls are warnings, never blocks), a debounced `compile-preview`, and an "Apply" action. - [ ] (story 25) Given DS2, When I apply, Then the kit commits, one `Compile` runs, 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). - [ ] (story 26) Given DS, When the Updates section renders, Then it 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. ## Blocked by - #29 — Settings mounts in the frame - #27 — DS2 is the brandkit seam's Settings caller ## Task manifest ```yaml task: shell:settings implements_flow: shell implements_edge: DN→DS, DS→DS2, DS2→DS, DS→P4b-U1 wireframe: - docs/ux/wireframes/shell/shell-ds-settings.html - docs/ux/wireframes/shell/shell-ds2-settings-brand-kit.html interface: Settings (DS) pinned three-section inventory + the not-here list; DS2 as the brandkit seam's Settings caller (Validate / compile-preview / Compile / Report, unchanged); provisioning's Updates & update policy mounted (DS → P4b-U1); read-only community details seam: Settings component tests — faked brandkit seam and mounted provisioning Updates; asserts the pinned three-section inventory (nothing else), the not-here list, read-only community details with the bigger-step note, and the brandkit caller flow (validate → preview → apply → coverage report) acceptance: - given: the Settings tab when: DS renders then: exactly three sections show — Brand kit, Updates & update policy (provisioning's), read-only Community details — and nothing else - given: the not-here list when: an operator looks for alert contact / roles & credentials / backup policy / enrollment codes / the app's update then: each is absent because homed elsewhere (monitoring/members/backups/DF2/AU); a community setting never governs the app - given: DS when: Community details renders then: name/apex domain/DNS/community ID show read-only with the founding-scale "bigger step" note; renaming is directed to the brand kit - given: DS when: I choose "Edit brand kit" and apply in DS2 then: DS2 opens with Validate (warnings not blocks) + debounced compile-preview; apply commits, runs one Compile, and renders the honest per-surface coverage Report - given: DS when: the Updates section renders then: it shows provisioning's status/policy and mounts P4b surfaces; the tab set stays closed; attention rides the chrome, not a tab badge depends_on: [ui-kit-mount-slot-contract, bootstrap:brandkit-seam] out_of_scope: [the brandkit seam's own compile/validate truth (theming's spec), provisioning's Updates truth (provisioning P4b), alert contact/roles/backup-policy/codes/app-update (homed elsewhere)] needs_human_decision: [] ```
Author
Owner

Done 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 Go internal/brandkit stays the one authority; the fake asserts apply runs exactly one Compile). Provisioning's Updates truth stays P4b behind FakeUpdatesMount.

Evidence: 11 new dashboard component tests in dashboard/tests/unit/settings.test.ts covering 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.

Done 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 Go `internal/brandkit` stays the one authority; the fake asserts apply runs exactly one Compile). Provisioning's Updates truth stays P4b behind `FakeUpdatesMount`. **Evidence:** 11 new dashboard component tests in `dashboard/tests/unit/settings.test.ts` covering 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`.
ben closed this issue 2026-07-25 09:23:25 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
Matou/idss#37
No description provided.