theming: migrate-app — operator-app screens onto the Oc kit #136

Closed
opened 2026-07-26 22:04:00 +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

Every operator-app component adopts the Oc primitives and --oc-* tokens; its hard-coded hex declarations and locally re-styled buttons/inputs are deleted. Behaviour and wireframe contracts unchanged — this is restyling through the kit, feature by feature within the app.

Acceptance criteria

  • Given every app component, raw <button>/<input> with local styling are replaced by Oc primitives and hex literals by tokens.
  • All app suites green; wireframe data-contracts untouched.
  • Changing the community colour re-themes every app screen.

Blocked by

  • theming:oc-primitives.

Task manifest

task: theming:migrate-app
implements_flow: shell
implements_edge: "none — adoption migration (app batch)"
wireframe: "the app screens' existing wireframes (contracts unchanged)"
interface: "Oc-kit + token adoption across all app components"
seam: "app suites green; zero hex literals in app components"
acceptance: "see Acceptance criteria above"
depends_on: [theming:oc-primitives]
out_of_scope: [dashboard batch, lint enforcement (contract ticket)]
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 Every operator-app component adopts the Oc primitives and `--oc-*` tokens; its hard-coded hex declarations and locally re-styled buttons/inputs are deleted. Behaviour and wireframe contracts unchanged — this is restyling through the kit, feature by feature within the app. ## Acceptance criteria - [ ] Given every app component, raw `<button>`/`<input>` with local styling are replaced by Oc primitives and hex literals by tokens. - [ ] All app suites green; wireframe data-contracts untouched. - [ ] Changing the community colour re-themes every app screen. ## Blocked by - theming:oc-primitives. ## Task manifest ```yaml task: theming:migrate-app implements_flow: shell implements_edge: "none — adoption migration (app batch)" wireframe: "the app screens' existing wireframes (contracts unchanged)" interface: "Oc-kit + token adoption across all app components" seam: "app suites green; zero hex literals in app components" acceptance: "see Acceptance criteria above" depends_on: [theming:oc-primitives] out_of_scope: [dashboard batch, lint enforcement (contract ticket)] needs_human_decision: [] ```
Author
Owner

Done in 2a88f89 (on origin/main).

The app batch of the component migration over the Oc kit (#135), following the two dashboard batches (#138 ops, #137 core). Every operator-app surface adopts the Oc primitives and the --oc-* colour tokens; every hex/rgb() literal is deleted from its styling, so changing the community colour re-themes every app screen live. Behaviour and the wireframes' data-* contracts are unchanged.

Surfaces migrated (32 styled SFCs): founding (17), device-add (7), rescue (6), monitoring (1), shell (2 styled of 9).

Acceptance:

  • Raw <button>/<input> with local styling replaced by Oc primitives (OcButton/OcPill), and hex literals by tokens — kept raw+tokenised only where a swap would break a structural test selector or lose a distinction OcButton primary can't carry (text/number/tel/radio/type=color inputs, destructive & Tier-3 rescue buttons, rich mode-option buttons, quiet links).
  • All app suites green; wireframe data-contracts untouched (data-field byte-identical; data-action/data-status value-sets preserved — swaps move them from literals to OcButton action/status props re-stamped at runtime).
  • Changing the community colour re-themes every app screen (every colour is a var(--oc-*) token, a color-mix() over one, or an inheriting keyword).

Seam: app/tests/unit/themingApp.test.ts scans all five surface dirs — zero hex / zero literal-colour per screen, a var(--oc-*) reference proving the re-theme, an Oc-primitive import per surface (95 tests).

Verify: app 309 green (214 prior + 95 seam); vue-tsc + eslint clean; no new prettier violations (all 32 changed files were already prettier-dirty at HEAD — pre-existing debt, lint enforcement its own contract ticket, out of scope).

With #135/#138/#137/#136 all landed, the theming integration layer is complete: the community colour now re-themes every dashboard AND app screen live. STATUS.md updated (header + milestone log).

Done in `2a88f89` (on `origin/main`). The app batch of the component migration over the Oc kit (#135), following the two dashboard batches (#138 ops, #137 core). Every operator-app surface adopts the Oc primitives and the `--oc-*` colour tokens; every hex/`rgb()` literal is deleted from its styling, so changing the community colour re-themes every app screen live. Behaviour and the wireframes' data-* contracts are unchanged. **Surfaces migrated (32 styled SFCs):** founding (17), device-add (7), rescue (6), monitoring (1), shell (2 styled of 9). **Acceptance:** - Raw `<button>`/`<input>` with local styling replaced by Oc primitives (OcButton/OcPill), and hex literals by tokens — kept raw+tokenised only where a swap would break a structural test selector or lose a distinction OcButton primary can't carry (text/number/tel/radio/`type=color` inputs, destructive & Tier-3 rescue buttons, rich mode-option buttons, quiet links). - All app suites green; wireframe data-contracts untouched (`data-field` byte-identical; `data-action`/`data-status` value-sets preserved — swaps move them from literals to OcButton `action`/`status` props re-stamped at runtime). - Changing the community colour re-themes every app screen (every colour is a `var(--oc-*)` token, a `color-mix()` over one, or an inheriting keyword). **Seam:** `app/tests/unit/themingApp.test.ts` scans all five surface dirs — zero hex / zero literal-colour per screen, a `var(--oc-*)` reference proving the re-theme, an Oc-primitive import per surface (95 tests). **Verify:** app **309 green** (214 prior + 95 seam); `vue-tsc` + eslint clean; no new prettier violations (all 32 changed files were already prettier-dirty at HEAD — pre-existing debt, lint enforcement its own contract ticket, out of scope). With #135/#138/#137/#136 all landed, the theming integration layer is complete: the community colour now re-themes every dashboard AND app screen live. STATUS.md updated (header + milestone log).
ben closed this issue 2026-07-27 10:10:39 +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#136
No description provided.