theming: migrate-dashboard-core — shell, members, monitoring, provisioning onto the Oc kit #137

Closed
opened 2026-07-26 22:04:02 +00:00 by ben · 1 comment
Owner

Parent

Standards debt (tokens everywhere; no raw hex). Filed from Ben's rulings 2026-07-26 after the review sweep of 6596977..9e946b7: integration-last was deliberate seam-first sequencing — now build the integration layer; and pay all standards debt now.

What to build

The dashboard's shell chrome and the members, monitoring, provisioning and updates surfaces adopt the Oc primitives and tokens; hex literals deleted. Same rules as the app batch.

Acceptance criteria

  • Given the named surfaces, primitives and tokens replace local styling and hex literals.
  • All affected suites green; wireframe data-contracts untouched.
  • Changing the community colour re-themes these surfaces.

Blocked by

  • theming:oc-primitives.

Task manifest

task: theming:migrate-dashboard-core
implements_flow: shell
implements_edge: "none — adoption migration (dashboard core batch)"
wireframe: "the surfaces' existing wireframes (contracts unchanged)"
interface: "Oc-kit + token adoption across shell/members/monitoring/provisioning/updates dashboard surfaces"
seam: "suites green; zero hex literals in the batch"
acceptance: "see Acceptance criteria above"
depends_on: [theming:oc-primitives]
out_of_scope: [backups/rescue/device-add batch, lint enforcement]
needs_human_decision: []
## Parent Standards debt (tokens everywhere; no raw hex). Filed from Ben's rulings 2026-07-26 after the review sweep of `6596977..9e946b7`: integration-last was deliberate seam-first sequencing — now build the integration layer; and pay all standards debt now. ## What to build The dashboard's shell chrome and the members, monitoring, provisioning and updates surfaces adopt the Oc primitives and tokens; hex literals deleted. Same rules as the app batch. ## Acceptance criteria - [ ] Given the named surfaces, primitives and tokens replace local styling and hex literals. - [ ] All affected suites green; wireframe data-contracts untouched. - [ ] Changing the community colour re-themes these surfaces. ## Blocked by - theming:oc-primitives. ## Task manifest ```yaml task: theming:migrate-dashboard-core implements_flow: shell implements_edge: "none — adoption migration (dashboard core batch)" wireframe: "the surfaces' existing wireframes (contracts unchanged)" interface: "Oc-kit + token adoption across shell/members/monitoring/provisioning/updates dashboard surfaces" seam: "suites green; zero hex literals in the batch" acceptance: "see Acceptance criteria above" depends_on: [theming:oc-primitives] out_of_scope: [backups/rescue/device-add batch, lint enforcement] needs_human_decision: [] ```
Author
Owner

Done in c4bb708 (on origin/main).

The dashboard shell chrome (5 styled screens), members (12), monitoring (7) and provisioning incl. the updates screens (13) surfaces adopt the Oc primitive kit (#135) and the --oc-* colour tokens — the second migration batch after #138’s ops batch. ~510 hex literals deleted across 37 SFCs, plus the stray rgb()/rgba() literals; every colour is now a var(--oc-*) token, a color-mix() over a token, or an inheriting keyword. OcButton/OcPill adopted across the surfaces; raw+tokenised kept where a click-to-drill test asserts a pill class/data-severity or where a destructive button needs the warning-token danger distinction (same call as #138). Dead var(--oc-bad, #b00) fallback in members’ ApprovalQueue removed.

Acceptance:

  • (1) primitives + tokens replace local styling and hex literals — a source-scan seam (tests/unit/themingDashboardCore.test.ts) proves zero hex / zero literal-colour per screen, a token reference per surface, and a primitive import per surface.
  • (2) all affected suites green, wireframe data-* contracts untouched — dashboard 601 green with no test changes; vue-tsc + eslint clean.
  • (3) changing the community colour re-themes these surfaces — every colour resolves through the --oc-* tokens applyBrandTokens compiles.

Out of scope (own tickets): the app batch (#136), lint enforcement. STATUS.md updated (header + milestone log).

Done in `c4bb708` (on `origin/main`). The dashboard **shell** chrome (5 styled screens), **members** (12), **monitoring** (7) and **provisioning** incl. the **updates** screens (13) surfaces adopt the Oc primitive kit (#135) and the `--oc-*` colour tokens — the second migration batch after #138’s ops batch. ~510 hex literals deleted across 37 SFCs, plus the stray `rgb()/rgba()` literals; every colour is now a `var(--oc-*)` token, a `color-mix()` over a token, or an inheriting keyword. `OcButton`/`OcPill` adopted across the surfaces; raw+tokenised kept where a click-to-drill test asserts a pill class/`data-severity` or where a destructive button needs the warning-token danger distinction (same call as #138). Dead `var(--oc-bad, #b00)` fallback in members’ ApprovalQueue removed. **Acceptance:** - (1) primitives + tokens replace local styling and hex literals — a source-scan seam (`tests/unit/themingDashboardCore.test.ts`) proves zero hex / zero literal-colour per screen, a token reference per surface, and a primitive import per surface. - (2) all affected suites green, wireframe data-* contracts untouched — dashboard **601 green** with no test changes; `vue-tsc` + `eslint` clean. - (3) changing the community colour re-themes these surfaces — every colour resolves through the `--oc-*` tokens `applyBrandTokens` compiles. Out of scope (own tickets): the app batch (#136), lint enforcement. STATUS.md updated (header + milestone log).
ben closed this issue 2026-07-27 09:47:42 +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#137
No description provided.