theming: migrate-dashboard-ops — backups, rescue, device-add onto the Oc kit #138

Closed
opened 2026-07-26 22:04:04 +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 backups, rescue and device-add dashboard surfaces adopt the Oc primitives and tokens; hex literals deleted. Same rules as the other batches.

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-ops
implements_flow: shell
implements_edge: "none — adoption migration (dashboard ops batch)"
wireframe: "the surfaces' existing wireframes (contracts unchanged)"
interface: "Oc-kit + token adoption across backups/rescue/device-add dashboard surfaces"
seam: "suites green; zero hex literals in the batch"
acceptance: "see Acceptance criteria above"
depends_on: [theming:oc-primitives]
out_of_scope: [core 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 backups, rescue and device-add dashboard surfaces adopt the Oc primitives and tokens; hex literals deleted. Same rules as the other batches. ## 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-ops implements_flow: shell implements_edge: "none — adoption migration (dashboard ops batch)" wireframe: "the surfaces' existing wireframes (contracts unchanged)" interface: "Oc-kit + token adoption across backups/rescue/device-add dashboard surfaces" seam: "suites green; zero hex literals in the batch" acceptance: "see Acceptance criteria above" depends_on: [theming:oc-primitives] out_of_scope: [core batch, lint enforcement] needs_human_decision: [] ```
Author
Owner

Done in 715c514 (on origin/main).

The backups (10 screens), rescue (6) and device-add (7) dashboard surfaces now adopt the Oc primitive kit (#135) and the --oc-* colour tokens; every hex literal deleted (~250 across 21 SFCs).

  • Plain text-label buttons → OcButton (primary/plain); status pills → OcPill (ok→healthy, warn/bad/fail→warning — the kit owns no danger token, so red maps to warning). Now-unreferenced local .oc-btn*/.oc-pill rules deleted.
  • Every remaining colour is a var(--oc-*) or a color-mix(… var(--oc-*) …) tint, so changing the community colour re-themes these surfaces live.
  • Left un-primitived and tokenised in place (per batch rules): <select>/radio inputs, the ☑/☐ target-toggle pills, the solid destructive Replace & restore button (kept the warning token to preserve the danger distinction), and bespoke inline/link controls the boxed primitives can't express.

Acceptance:

  • ✅ Primitives + tokens replace local styling and hex literals across the named surfaces.
  • ✅ All affected suites green (dashboard 497, no test changes); wireframe data-field/data-action/data-status contracts untouched.
  • ✅ Changing the community colour re-themes these surfaces (every colour flows from --oc-*).

Seam: dashboard/tests/unit/themingDashboardOps.test.ts scans all three surface dirs — zero hex / zero literal-colour per screen, token usage proves the re-theme, each surface imports a primitive. vue-tsc, eslint, prettier --check clean.

Out of scope (own tickets): dashboard core batch (#137), app batch (#136), lint enforcement.

Done in 715c514 (on `origin/main`). The backups (10 screens), rescue (6) and device-add (7) dashboard surfaces now adopt the Oc primitive kit (#135) and the `--oc-*` colour tokens; every hex literal deleted (~250 across 21 SFCs). - Plain text-label buttons → `OcButton` (primary/plain); status pills → `OcPill` (ok→healthy, warn/bad/fail→warning — the kit owns no danger token, so red maps to warning). Now-unreferenced local `.oc-btn*`/`.oc-pill` rules deleted. - Every remaining colour is a `var(--oc-*)` or a `color-mix(… var(--oc-*) …)` tint, so changing the community colour re-themes these surfaces live. - Left un-primitived and tokenised in place (per batch rules): `<select>`/radio inputs, the ☑/☐ target-toggle pills, the solid destructive Replace & restore button (kept the warning token to preserve the danger distinction), and bespoke inline/link controls the boxed primitives can't express. **Acceptance:** - ✅ Primitives + tokens replace local styling and hex literals across the named surfaces. - ✅ All affected suites green (dashboard 497, no test changes); wireframe data-field/data-action/data-status contracts untouched. - ✅ Changing the community colour re-themes these surfaces (every colour flows from `--oc-*`). **Seam:** `dashboard/tests/unit/themingDashboardOps.test.ts` scans all three surface dirs — zero hex / zero literal-colour per screen, token usage proves the re-theme, each surface imports a primitive. `vue-tsc`, `eslint`, `prettier --check` clean. Out of scope (own tickets): dashboard core batch (#137), app batch (#136), lint enforcement.
ben closed this issue 2026-07-27 09:26:23 +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#138
No description provided.