quasar-ui: app-shell-screens — the operator shell's resting screens wear the kit (W, homes, update, codes ledger, logs) #243

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

Parent

Quasar-UI arc (boot dep: quasar-ui:app-quasar-boot). Shell spec: #22. The #183 Phase A rehearsal showed exactly this gap: Welcome renders raw <button class="oc-btn"> with no styles behind the class.

What to build

The operator app's shell screens adopt the kit's Quasar-backed vocabulary, per their wireframes as the structural contract (docs/ux/wireframes/shell/): WelcomeScreen (shell-w), OperatorHomeScreen (shell-ho), OperatorHomeUnreachableScreen (shell-hox), DeviceHomeScreen (shell-hd), AppUpdateScreen/AppUpdateStrip (shell-au), EnrollmentCodesScreen (shell-a4), LogsViewer (shell-a5), plus RestingRoot/UnwiredSurface framing.

  • Raw controls and per-screen scoped .oc-btn-style copies are replaced by kit primitives / Quasar components; screen-local styles keep only layout.
  • The wireframes bind structure + data-field/data-action/data-status hooks (what design-verify and the seam tests read) — they are NOT a pixel spec: interiors are deliberately low-fidelity and the finished look comes from the community's kit tokens (ADR 0035, DDR 0007).
  • Every colour from var(--oc-*); DEFAULT_BRAND_TOKENS dresses pre-founding screens (#237).

Acceptance criteria

  • Given each listed screen, When it mounts under the kit's base layer, Then no control renders browser-default chrome and every colour resolves from --oc-*
  • Given the wireframes' element-ID contract, When screens are restyled, Then all data-field/data-action/data-status hooks survive and existing component tests pass (updated only where chrome classes changed)
  • Given the per-screen scoped button/panel style copies, When adoption lands, Then they are gone (grep-clean: no scoped re-implementation of a kit primitive remains in these screens)

Task manifest

task: quasar-ui:app-shell-screens
implements_seam: "shell wireframes (docs/ux/wireframes/shell/) = structural contract; kit primitives = the vocabulary (ADR 0094)"
interface: "app/src/components/shell/* rendered from @ourcloud/ui-kit primitives + Quasar components"
seam: "component tests keep the data-* contract; design-verify reads the wireframe hooks"
acceptance:
  - given: the kit base layer; when: each shell screen mounts; then: kit-styled, hooks intact, no scoped primitive copies
depends_on: [quasar-ui:app-quasar-boot]
out_of_scope: [founding screens, device-add/rescue/notification screens, dashboard]
needs_human_decision: []
## Parent Quasar-UI arc (boot dep: quasar-ui:app-quasar-boot). Shell spec: #22. The #183 Phase A rehearsal showed exactly this gap: Welcome renders raw `<button class="oc-btn">` with no styles behind the class. ## What to build The operator app's shell screens adopt the kit's Quasar-backed vocabulary, per their wireframes as the structural contract (`docs/ux/wireframes/shell/`): `WelcomeScreen` (shell-w), `OperatorHomeScreen` (shell-ho), `OperatorHomeUnreachableScreen` (shell-hox), `DeviceHomeScreen` (shell-hd), `AppUpdateScreen`/`AppUpdateStrip` (shell-au), `EnrollmentCodesScreen` (shell-a4), `LogsViewer` (shell-a5), plus `RestingRoot`/`UnwiredSurface` framing. - Raw controls and per-screen scoped `.oc-btn`-style copies are replaced by kit primitives / Quasar components; screen-local styles keep only layout. - The wireframes bind **structure + `data-field`/`data-action`/`data-status` hooks** (what design-verify and the seam tests read) — they are NOT a pixel spec: interiors are deliberately low-fidelity and the finished look comes from the community's kit tokens (ADR 0035, DDR 0007). - Every colour from `var(--oc-*)`; `DEFAULT_BRAND_TOKENS` dresses pre-founding screens (#237). ## Acceptance criteria - [ ] Given each listed screen, When it mounts under the kit's base layer, Then no control renders browser-default chrome and every colour resolves from `--oc-*` - [ ] Given the wireframes' element-ID contract, When screens are restyled, Then all `data-field`/`data-action`/`data-status` hooks survive and existing component tests pass (updated only where chrome classes changed) - [ ] Given the per-screen scoped button/panel style copies, When adoption lands, Then they are gone (grep-clean: no scoped re-implementation of a kit primitive remains in these screens) ## Task manifest ```yaml task: quasar-ui:app-shell-screens implements_seam: "shell wireframes (docs/ux/wireframes/shell/) = structural contract; kit primitives = the vocabulary (ADR 0094)" interface: "app/src/components/shell/* rendered from @ourcloud/ui-kit primitives + Quasar components" seam: "component tests keep the data-* contract; design-verify reads the wireframe hooks" acceptance: - given: the kit base layer; when: each shell screen mounts; then: kit-styled, hooks intact, no scoped primitive copies depends_on: [quasar-ui:app-quasar-boot] out_of_scope: [founding screens, device-add/rescue/notification screens, dashboard] needs_human_decision: [] ```
Author
Owner

Landed in 23cda60 on main.

The operator app's resting shell screens now speak the kit's OcButton/OcPill/OcInput vocabulary, closing the #183 Phase A gap (Welcome's raw <button class="oc-btn"> that no screen styled).

AC1 — every orphaned oc-btn → <OcButton variant> (Welcome; HO open-dashboard + rescue/logs/codes; HOx rescue + logs/codes; HD logs; LogsViewer download + level chips + bundle); every hand-rolled <span class="oc-pill"> → <OcPill tone> (HO/HD ●Healthy/●Contributing, HOx ●Not answering, service rows via new serviceRowPillTone); LogsViewer's raw search <input> → <OcInput> and its <select> (no kit primitive) is token-styled — no control renders browser-default chrome, every colour resolves from --oc-*.

AC2 — all data-field/data-action/data-status hooks survive (props on the primitives); the shell component suites stay green, updated only where a chrome class changed (operatorHome/operatorHomeUnreachable/deviceHome). New source-scan + mount seam app/tests/unit/quasarUiShell.test.ts (42 checks).

AC3 — grep-clean of oc-btn/hand-rolled oc-pill/oc-chip/raw <input> across app/src/components/shell/ (allow-list empty); UnwiredSurface's scoped .oc-unwired__back button copy is gone. The inline oc-link text links stay (the kit models no link primitive — the #244/#245 precedent). Big CTAs carry a layout-only oc-home__cta/oc-unreachable__cta size class (no colour).

Verify: 50 app test files (563 tests) + vue-tsc + eslint + prettier green; boot's 6 Go-helper tests run green only under nix develop (ADR 0040).

Landed in `23cda60` on `main`. The operator app's resting shell screens now speak the kit's `OcButton`/`OcPill`/`OcInput` vocabulary, closing the #183 Phase A gap (Welcome's raw `<button class="oc-btn">` that no screen styled). **AC1** — every orphaned `oc-btn` → `<OcButton variant>` (Welcome; HO open-dashboard + rescue/logs/codes; HOx rescue + logs/codes; HD logs; LogsViewer download + level chips + bundle); every hand-rolled `<span class="oc-pill">` → `<OcPill tone>` (HO/HD ●Healthy/●Contributing, HOx ●Not answering, service rows via new `serviceRowPillTone`); LogsViewer's raw search `<input>` → `<OcInput>` and its `<select>` (no kit primitive) is token-styled — no control renders browser-default chrome, every colour resolves from `--oc-*`. **AC2** — all `data-field`/`data-action`/`data-status` hooks survive (props on the primitives); the shell component suites stay green, updated only where a chrome class changed (operatorHome/operatorHomeUnreachable/deviceHome). New source-scan + mount seam `app/tests/unit/quasarUiShell.test.ts` (42 checks). **AC3** — grep-clean of `oc-btn`/hand-rolled `oc-pill`/`oc-chip`/raw `<input>` across `app/src/components/shell/` (allow-list empty); `UnwiredSurface`'s scoped `.oc-unwired__back` button copy is gone. The inline `oc-link` text links stay (the kit models no link primitive — the #244/#245 precedent). Big CTAs carry a layout-only `oc-home__cta`/`oc-unreachable__cta` size class (no colour). Verify: 50 app test files (563 tests) + vue-tsc + eslint + prettier green; boot's 6 Go-helper tests run green only under `nix develop` (ADR 0040).
ben closed this issue 2026-08-01 03:21:26 +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#243
No description provided.