quasar-ui: dashboard-operations-screens — Services/monitoring (P5), provisioning (P4/P4b), device-add (P2/P3) and rescue wear the kit #248

Closed
opened 2026-07-31 23:38:41 +00:00 by ben · 1 comment
Owner

Parent

Quasar-UI arc (boot dep: quasar-ui:dashboard-quasar-boot). Specs: #18 (monitoring), #17 (provisioning), #13 (device-add), #21 (rescue).

What to build

The operations-side dashboard content adopts the kit's Quasar-backed vocabulary per its wireframes:

  • Monitoring / Services tab (docs/ux/wireframes/p5-monitoring/): FleetServicesStatusScreen/ServicesSurface, ServiceDetailScreen, RespondScreen, DeviceGoneSilentScreen, FixDidntHoldScreen, AlertContactCard — status colours only from the ADR 0035 status tokens (--oc-status-healthy/--oc-status-warning), never literals.
  • Provisioning + updates (docs/ux/wireframes/p4-provisioning/, p4b-updates/): ActiveScreen, CommunityUnreachableScreen and the provisioning surfaces/screens in dashboard/src/components/provisioning/.
  • Device-add, dashboard side (docs/ux/wireframes/p2-device-add-cli/, p3-device-add-app/): AddDeviceScreen, CodeScreen, ConnectedScreen, ViaTheAppScreen, PendingDevicesSurface/PendingDeviceCard, DeviceAddSurface.
  • Rescue, dashboard side: the screens under dashboard/src/components/rescue/ per p8-rescue/.

Wireframes bind structure + data-* hooks, not pixels (ADR 0035); every colour from var(--oc-*).

Acceptance criteria

  • Given each listed screen, When it mounts under the kit base layer, Then it is kit-styled with all data-* hooks intact and existing tests passing
  • Given every status indication, When restyled, Then it resolves from the named status tokens — no green/amber literals survive (grep-clean)
  • Given the screens' scoped styles, When adoption lands, Then no primitive re-implementations or colour literals remain

Task manifest

task: quasar-ui:dashboard-operations-screens
implements_seam: "P5/P4/P4b/P2/P3/P8 dashboard wireframes = structural contract; kit primitives + status tokens = vocabulary"
interface: "dashboard/src/components/{monitoring,provisioning,device-add,rescue}/* over @ourcloud/ui-kit + Quasar"
seam: "component tests keep the data-* contract; design-verify reads the wireframe hooks"
acceptance:
  - given: kit tokens; when: operations screens mount; then: kit-styled, status colours from tokens, hooks intact
depends_on: [quasar-ui:dashboard-quasar-boot]
out_of_scope: [dashboard chrome, members/backups content, alerting/email engines]
needs_human_decision: []
## Parent Quasar-UI arc (boot dep: quasar-ui:dashboard-quasar-boot). Specs: #18 (monitoring), #17 (provisioning), #13 (device-add), #21 (rescue). ## What to build The operations-side dashboard content adopts the kit's Quasar-backed vocabulary per its wireframes: - **Monitoring / Services tab** (`docs/ux/wireframes/p5-monitoring/`): `FleetServicesStatusScreen`/`ServicesSurface`, `ServiceDetailScreen`, `RespondScreen`, `DeviceGoneSilentScreen`, `FixDidntHoldScreen`, `AlertContactCard` — status colours only from the ADR 0035 status tokens (`--oc-status-healthy`/`--oc-status-warning`), never literals. - **Provisioning + updates** (`docs/ux/wireframes/p4-provisioning/`, `p4b-updates/`): `ActiveScreen`, `CommunityUnreachableScreen` and the provisioning surfaces/screens in `dashboard/src/components/provisioning/`. - **Device-add, dashboard side** (`docs/ux/wireframes/p2-device-add-cli/`, `p3-device-add-app/`): `AddDeviceScreen`, `CodeScreen`, `ConnectedScreen`, `ViaTheAppScreen`, `PendingDevicesSurface`/`PendingDeviceCard`, `DeviceAddSurface`. - **Rescue, dashboard side**: the screens under `dashboard/src/components/rescue/` per `p8-rescue/`. Wireframes bind structure + `data-*` hooks, not pixels (ADR 0035); every colour from `var(--oc-*)`. ## Acceptance criteria - [ ] Given each listed screen, When it mounts under the kit base layer, Then it is kit-styled with all `data-*` hooks intact and existing tests passing - [ ] Given every status indication, When restyled, Then it resolves from the named status tokens — no green/amber literals survive (grep-clean) - [ ] Given the screens' scoped styles, When adoption lands, Then no primitive re-implementations or colour literals remain ## Task manifest ```yaml task: quasar-ui:dashboard-operations-screens implements_seam: "P5/P4/P4b/P2/P3/P8 dashboard wireframes = structural contract; kit primitives + status tokens = vocabulary" interface: "dashboard/src/components/{monitoring,provisioning,device-add,rescue}/* over @ourcloud/ui-kit + Quasar" seam: "component tests keep the data-* contract; design-verify reads the wireframe hooks" acceptance: - given: kit tokens; when: operations screens mount; then: kit-styled, status colours from tokens, hooks intact depends_on: [quasar-ui:dashboard-quasar-boot] out_of_scope: [dashboard chrome, members/backups content, alerting/email engines] needs_human_decision: [] ```
Author
Owner

Landed in ef06645 on main.

The operations-side dashboard screens adopt the shared kit's OcPill primitive for every status indication (AC2/AC3's vocabulary half; colours were already token-only via #137/#138):

  • Static status pills <span class="oc-pill" :class="oc-pill--ok/warn/bad/muted"> → <OcPill :tone> (ok→healthy, warn/bad→warning, muted/none→neutral), every data-* hook preserved through OcPill's field/status/action props; helper pillClass()→pillTone(); the now-unused scoped .oc-pill rules deleted. Touched: monitoring FleetServicesStatusScreen/ServiceDetailScreen/DeviceGoneSilentScreen; provisioning RollingOut/RolledBack/Assess/AssessNothingAvailable/Applied/ReviewUpdate/UpToDate/Updates; CommunityUnreachableScreen; rescue OperatorKeyLedger/RecoveryReadinessScreen.
  • Interactive pills stay (the kit ships no clickable pill, ADR 0035): drill-in button-pills on FleetServicesStatusScreen and selection toggles on SelectRoleServicesScreen keep <button class="oc-pill …">.
  • Composites the kit does not model (tables, <select> fields, time-range/number inputs, ladder cards) stay tokenized — no kit primitive re-implemented.
  • device-add needed no change — its static pills had already migrated to OcPill in #138; it still satisfies the new seam.

Seam: new source-scan dashboard/tests/unit/quasarUiDashboardOps.test.ts (88 checks) pins the adoption per surface — no static <span> pill survives, every surviving oc-pill element is an interactive <button>, each surface imports OcPill. Per-surface component suites keep the data-* contract.

Verified: 72 dashboard test files (797 tests) green, vue-tsc + eslint + prettier clean on all changed .ts/.vue; no hex/rgb colour introduced. STATUS.md updated (header lead + milestone-log). Follow-ups: app boot #241, care #247, chrome #246.

Landed in ef06645 on `main`. The operations-side dashboard screens adopt the shared kit's `OcPill` primitive for every status indication (AC2/AC3's vocabulary half; colours were already token-only via #137/#138): - **Static status pills** `<span class="oc-pill" :class="oc-pill--ok/warn/bad/muted">` → `<OcPill :tone>` (ok→healthy, warn/bad→warning, muted/none→neutral), every `data-*` hook preserved through OcPill's field/status/action props; helper `pillClass()`→`pillTone()`; the now-unused scoped `.oc-pill` rules deleted. Touched: monitoring `FleetServicesStatusScreen`/`ServiceDetailScreen`/`DeviceGoneSilentScreen`; provisioning `RollingOut`/`RolledBack`/`Assess`/`AssessNothingAvailable`/`Applied`/`ReviewUpdate`/`UpToDate`/`Updates`; `CommunityUnreachableScreen`; rescue `OperatorKeyLedger`/`RecoveryReadinessScreen`. - **Interactive pills stay** (the kit ships no clickable pill, ADR 0035): drill-in button-pills on `FleetServicesStatusScreen` and selection toggles on `SelectRoleServicesScreen` keep `<button class="oc-pill …">`. - **Composites the kit does not model** (tables, `<select>` fields, time-range/number inputs, ladder cards) stay tokenized — no kit primitive re-implemented. - **device-add** needed no change — its static pills had already migrated to `OcPill` in #138; it still satisfies the new seam. **Seam:** new source-scan `dashboard/tests/unit/quasarUiDashboardOps.test.ts` (88 checks) pins the adoption per surface — no static `<span>` pill survives, every surviving `oc-pill` element is an interactive `<button>`, each surface imports `OcPill`. Per-surface component suites keep the `data-*` contract. **Verified:** 72 dashboard test files (797 tests) green, vue-tsc + eslint + prettier clean on all changed .ts/.vue; no hex/rgb colour introduced. STATUS.md updated (header lead + milestone-log). Follow-ups: app boot #241, care #247, chrome #246.
ben closed this issue 2026-08-01 01:59:24 +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#248
No description provided.