quasar-ui: app-journey-screens — device-add (P3), rescue (P8) and notifications (P5) wear the kit in the app #245

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

Parent

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

What to build

The remaining operator-app journey screens adopt the kit's Quasar-backed vocabulary per their wireframes:

  • Device-add, app side (docs/ux/wireframes/p3-device-add-app/): JoinWithCodeScreen, JoiningScreen, JoinedScreen, DeclinedScreen, ThisComputerScreen, LinuxInstallModeScreen, JoinProgressSurface.
  • Rescue (docs/ux/wireframes/p8-rescue/): RescueJourney, SituationScreen, ActionsScreen, FailedActionScreen, RecoveredScreen, NoTier1MaterialScreen, Tier3CeremonyScreen — rescue renders in degraded states, so its screens must style correctly with only DEFAULT_BRAND_TOKENS (a dead control plane serves no community kit).
  • Monitoring, app side (docs/ux/wireframes/p5-monitoring/): NotificationScreen.

Wireframes bind structure + data-* hooks, not pixels (ADR 0035); screen-local styles keep layout only; 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 rescue's degraded context, When its screens mount with only DEFAULT_BRAND_TOKENS, Then every control renders fully styled (no dependence on a community kit)
  • Given the screens' scoped styles, When adoption lands, Then no primitive re-implementations or colour literals remain

Task manifest

task: quasar-ui:app-journey-screens
implements_seam: "P3/P8/P5 wireframes = structural contract; kit primitives = vocabulary"
interface: "app/src/components/{device-add,rescue,monitoring}/* rendered from @ourcloud/ui-kit + Quasar"
seam: "component tests keep the data-* contract; rescue's default-kit-only rendering proven"
acceptance:
  - given: DEFAULT_BRAND_TOKENS only; when: rescue screens mount; then: fully styled, hooks intact
depends_on: [quasar-ui:app-quasar-boot]
out_of_scope: [shell resting screens, founding, dashboard, CLI-side device-add (P2 has no app UI)]
needs_human_decision: []
## Parent Quasar-UI arc (boot dep: quasar-ui:app-quasar-boot). Specs: #13 (device-add), #21 (rescue), #18 (monitoring). ## What to build The remaining operator-app journey screens adopt the kit's Quasar-backed vocabulary per their wireframes: - **Device-add, app side** (`docs/ux/wireframes/p3-device-add-app/`): `JoinWithCodeScreen`, `JoiningScreen`, `JoinedScreen`, `DeclinedScreen`, `ThisComputerScreen`, `LinuxInstallModeScreen`, `JoinProgressSurface`. - **Rescue** (`docs/ux/wireframes/p8-rescue/`): `RescueJourney`, `SituationScreen`, `ActionsScreen`, `FailedActionScreen`, `RecoveredScreen`, `NoTier1MaterialScreen`, `Tier3CeremonyScreen` — rescue renders in degraded states, so its screens must style correctly with **only** `DEFAULT_BRAND_TOKENS` (a dead control plane serves no community kit). - **Monitoring, app side** (`docs/ux/wireframes/p5-monitoring/`): `NotificationScreen`. Wireframes bind structure + `data-*` hooks, not pixels (ADR 0035); screen-local styles keep layout only; 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 rescue's degraded context, When its screens mount with only `DEFAULT_BRAND_TOKENS`, Then every control renders fully styled (no dependence on a community kit) - [ ] Given the screens' scoped styles, When adoption lands, Then no primitive re-implementations or colour literals remain ## Task manifest ```yaml task: quasar-ui:app-journey-screens implements_seam: "P3/P8/P5 wireframes = structural contract; kit primitives = vocabulary" interface: "app/src/components/{device-add,rescue,monitoring}/* rendered from @ourcloud/ui-kit + Quasar" seam: "component tests keep the data-* contract; rescue's default-kit-only rendering proven" acceptance: - given: DEFAULT_BRAND_TOKENS only; when: rescue screens mount; then: fully styled, hooks intact depends_on: [quasar-ui:app-quasar-boot] out_of_scope: [shell resting screens, founding, dashboard, CLI-side device-add (P2 has no app UI)] needs_human_decision: [] ```
Author
Owner

Done — landed on main as 6abcd56.

The app-side P3 device-add, P8 rescue and P5 monitoring journey screens adopt the kit's Quasar-backed vocabulary. The residual hold-outs are closed: every status pill is now <OcPill :tone> (JoinedScreen's ● Approved; Situation's MESH/SSH ✓/✕ + stale badge) and every primary/plain button is <OcButton variant> (Situation, FailedAction, NoTier1Material, Tier3Ceremony) — every data-field/data-action/data-status hook preserved, the scoped .oc-pill/.oc-btn/--primary copies deleted.

AC1 — each listed screen mounts kit-styled under the base layer; the per-screen suites keep the data-* contract green.

AC2 (rescue on DEFAULT_BRAND_TOKENS only) — a source scan proves every var(--oc-*) each rescue screen reads is one of the six DEFAULT_BRAND_TOKENS vars, so a dead control plane needs no community kit; a SituationScreen mount under the default kit alone renders the kit .oc-button + .oc-pill with hooks intact.

AC3 — grep-clean: the only surviving oc-btn are three documented composites the kit does not model (Situation's oc-btn--danger stale-reapply confirm; the oc-btn--tier3 doors in FailedAction + NoTier1Material — ADR 0035, the #248 carve-out); Tier3's two big CTAs became <OcButton> with a layout-only oc-tier3__cta size class (JoinedScreen width:100% precedent). No colour literals remain.

Evidence: new source-scan/mount seam app/tests/unit/quasarUiAppJourney.test.ts (56 checks). 49 app test files (471 tests) + vue-tsc + eslint + prettier green (the boot suite's 6 helper-build tests run under nix develop). NotificationScreen (P5) and the other device-add screens were already fully kit-adopted — no change needed.

Done — landed on `main` as `6abcd56`. The app-side P3 device-add, P8 rescue and P5 monitoring journey screens adopt the kit's Quasar-backed vocabulary. The residual hold-outs are closed: every status pill is now `<OcPill :tone>` (JoinedScreen's ● Approved; Situation's MESH/SSH ✓/✕ + stale badge) and every primary/plain button is `<OcButton variant>` (Situation, FailedAction, NoTier1Material, Tier3Ceremony) — every `data-field`/`data-action`/`data-status` hook preserved, the scoped `.oc-pill`/`.oc-btn`/`--primary` copies deleted. **AC1** — each listed screen mounts kit-styled under the base layer; the per-screen suites keep the `data-*` contract green. **AC2 (rescue on DEFAULT_BRAND_TOKENS only)** — a source scan proves every `var(--oc-*)` each rescue screen reads is one of the six `DEFAULT_BRAND_TOKENS` vars, so a dead control plane needs no community kit; a SituationScreen mount under the default kit alone renders the kit `.oc-button` + `.oc-pill` with hooks intact. **AC3** — grep-clean: the only surviving `oc-btn` are three documented composites the kit does not model (Situation's `oc-btn--danger` stale-reapply confirm; the `oc-btn--tier3` doors in FailedAction + NoTier1Material — ADR 0035, the #248 carve-out); Tier3's two big CTAs became `<OcButton>` with a layout-only `oc-tier3__cta` size class (JoinedScreen `width:100%` precedent). No colour literals remain. Evidence: new source-scan/mount seam `app/tests/unit/quasarUiAppJourney.test.ts` (56 checks). 49 app test files (471 tests) + vue-tsc + eslint + prettier green (the boot suite's 6 helper-build tests run under `nix develop`). NotificationScreen (P5) and the other device-add screens were already fully kit-adopted — no change needed.
ben closed this issue 2026-08-01 02:50:02 +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#245
No description provided.