quasar-ui: founding-screens — P1's wizard wears the kit end to end, live re-theme intact #244

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

Parent

Quasar-UI arc (boot dep: quasar-ui:app-quasar-boot). Founding spec: #11. This is the #183 Phase A / B·1 surface — the first journey a founder sees.

What to build

Founding's wizard and all its screens adopt the kit's Quasar-backed vocabulary per the P1 wireframes (docs/ux/wireframes/p1-founding/): FoundingWizard and the S1→S12 screens (FoundingCommunityDetails, FoundingBrandKit, FoundingAccess, FoundingPrivatePath, FoundingAddress, FoundingInstallMachine, FoundingInstallOwnVPS, FoundingReachability, FoundingReviewCreate, FoundingSpecGate/FoundingSpecGateFail, FoundingStandup/FoundingStandupRented, FoundingDeployGateway, FoundingWhatWillHappen, FoundingHandOff).

  • The S3 brand-kit step's live preview re-theme must keep working: wearArtifact re-dresses the whole shell as the kit compiles (#237 follow-up, shellBrand.ts) — Quasar components must re-theme live when --oc-* vars change (they read var(--oc-*) via the brand-vars CSS, so no remount needed; prove it).
  • Wireframes bind structure + data-* hooks, not pixels (ADR 0035); wizard-local styles keep only layout.

Acceptance criteria

  • Given every P1 screen, When it mounts under the kit base layer, Then it is kit-styled with all data-field/data-action/data-status hooks intact and existing tests passing
  • Given the S3 live preview, When the compiled kit's tokens are re-applied, Then every visible Quasar component re-themes live (a component test proves a token change is reflected without remount)
  • Given the wizard's scoped style blocks, When adoption lands, Then they carry layout only — no colour literals, no primitive re-implementations

Task manifest

task: quasar-ui:founding-screens
implements_seam: "P1 wireframes = structural contract; brandkit.Compile's tokens over the found bridge = the look (DDR 0007, #237)"
interface: "app/src/components/founding/* rendered from @ourcloud/ui-kit primitives + Quasar components"
seam: "founding component tests + the live re-theme proof; design-verify reads the wireframe hooks"
acceptance:
  - given: S3 recompile; when: tokens re-applied; then: whole wizard re-themes live, hooks intact
depends_on: [quasar-ui:app-quasar-boot]
out_of_scope: [shell resting screens, device-add/rescue, dashboard, helper/brandkit changes]
needs_human_decision: []
## Parent Quasar-UI arc (boot dep: quasar-ui:app-quasar-boot). Founding spec: #11. This is the #183 Phase A / B·1 surface — the first journey a founder sees. ## What to build Founding's wizard and all its screens adopt the kit's Quasar-backed vocabulary per the P1 wireframes (`docs/ux/wireframes/p1-founding/`): `FoundingWizard` and the S1→S12 screens (`FoundingCommunityDetails`, `FoundingBrandKit`, `FoundingAccess`, `FoundingPrivatePath`, `FoundingAddress`, `FoundingInstallMachine`, `FoundingInstallOwnVPS`, `FoundingReachability`, `FoundingReviewCreate`, `FoundingSpecGate`/`FoundingSpecGateFail`, `FoundingStandup`/`FoundingStandupRented`, `FoundingDeployGateway`, `FoundingWhatWillHappen`, `FoundingHandOff`). - The S3 brand-kit step's **live preview re-theme must keep working**: `wearArtifact` re-dresses the whole shell as the kit compiles (#237 follow-up, `shellBrand.ts`) — Quasar components must re-theme live when `--oc-*` vars change (they read `var(--oc-*)` via the brand-vars CSS, so no remount needed; prove it). - Wireframes bind structure + `data-*` hooks, not pixels (ADR 0035); wizard-local styles keep only layout. ## Acceptance criteria - [ ] Given every P1 screen, When it mounts under the kit base layer, Then it is kit-styled with all `data-field`/`data-action`/`data-status` hooks intact and existing tests passing - [ ] Given the S3 live preview, When the compiled kit's tokens are re-applied, Then every visible Quasar component re-themes live (a component test proves a token change is reflected without remount) - [ ] Given the wizard's scoped style blocks, When adoption lands, Then they carry layout only — no colour literals, no primitive re-implementations ## Task manifest ```yaml task: quasar-ui:founding-screens implements_seam: "P1 wireframes = structural contract; brandkit.Compile's tokens over the found bridge = the look (DDR 0007, #237)" interface: "app/src/components/founding/* rendered from @ourcloud/ui-kit primitives + Quasar components" seam: "founding component tests + the live re-theme proof; design-verify reads the wireframe hooks" acceptance: - given: S3 recompile; when: tokens re-applied; then: whole wizard re-themes live, hooks intact depends_on: [quasar-ui:app-quasar-boot] out_of_scope: [shell resting screens, device-add/rescue, dashboard, helper/brandkit changes] needs_human_decision: [] ```
Author
Owner

Done in 21c5ece (on origin/main).

P1s soft-phase wizard now speaks the kits Quasar-backed vocabulary end to end. Every founding button was the #243-style orphaned <button class="oc-btn"> (a class no founding screen styled); each becomes the kit primitive <OcButton variant> — Back(plain)+Continue(primary) across S2/S3/S4/S5, S3s Upload, S4as pay CTA + S4bs continue/choose-different, DeployGateway+StandupRenteds finish-setup/retry/per-mode recovery (v-for→<OcButton :action :title>), and HandOffs two big CTAs. The big CTAs carry a layout-only oc-hand-off__cta size class (no colour — the #245 oc-tier3__cta precedent); founding models no un-modelled composite so it is grep-clean of oc-btn, and the dead scoped .oc-btn block in FoundingWizard.vue is removed (AC3 layout-only).

AC1 — every P1 screen mounts kit-styled with all data-field/data-action/data-status hooks intact (hooks now ride <OcButton> props); the whole founding suite (10 files, 123 tests) stays green.

AC2 — the S3 live preview re-theme holds and every visible Quasar component re-themes live without remount: the wizards watch(preview) echoes each recompiled tokens.css onto :root (#237) and a Quasar components palette binds to those tokens via the frozen brand-vars map (--q-primary: var(--oc-accent)). Proof in the new seam drives a real preset recompile through the S3 UI — --oc-accent flips on :root (#2f7d4f→#1f6feb) while the same mounted .q-btn node persists.

AC3 — the wizards scoped style blocks carry layout only (no colour literals, no primitive re-implementations); grep-clean of oc-btn.

Evidence: new source-scan + live-re-theme seam app/tests/unit/quasarUiFounding.test.ts (56 checks). 49 app test files (521 tests) + vue-tsc + eslint green; authored lines prettier-clean under the pinned 3.9.6. boot.test.ts (6 Go-helper tests) runs green only under nix develop (go on PATH; ADR 0040), unchanged by this slice. STATUS.md updated (header + milestone log).

Done in `21c5ece` (on `origin/main`). P1s soft-phase wizard now speaks the kits Quasar-backed vocabulary end to end. Every founding button was the #243-style orphaned `<button class="oc-btn">` (a class no founding screen styled); each becomes the kit primitive `<OcButton variant>` — Back(plain)+Continue(primary) across S2/S3/S4/S5, S3s Upload, S4as pay CTA + S4bs continue/choose-different, DeployGateway+StandupRenteds finish-setup/retry/per-mode recovery (`v-for`→`<OcButton :action :title>`), and HandOffs two big CTAs. The big CTAs carry a layout-only `oc-hand-off__cta` size class (no colour — the #245 `oc-tier3__cta` precedent); founding models no un-modelled composite so it is grep-clean of `oc-btn`, and the dead scoped `.oc-btn` block in FoundingWizard.vue is removed (AC3 layout-only). **AC1** — every P1 screen mounts kit-styled with all `data-field`/`data-action`/`data-status` hooks intact (hooks now ride `<OcButton>` props); the whole founding suite (10 files, 123 tests) stays green. **AC2** — the S3 live preview re-theme holds and every visible Quasar component re-themes live without remount: the wizards `watch(preview)` echoes each recompiled `tokens.css` onto `:root` (#237) and a Quasar components palette binds to those tokens via the frozen brand-vars map (`--q-primary: var(--oc-accent)`). Proof in the new seam drives a real preset recompile through the S3 UI — `--oc-accent` flips on `:root` (#2f7d4f→#1f6feb) while the same mounted `.q-btn` node persists. **AC3** — the wizards scoped style blocks carry layout only (no colour literals, no primitive re-implementations); grep-clean of `oc-btn`. Evidence: new source-scan + live-re-theme seam `app/tests/unit/quasarUiFounding.test.ts` (56 checks). 49 app test files (521 tests) + vue-tsc + eslint green; authored lines prettier-clean under the pinned 3.9.6. boot.test.ts (6 Go-helper tests) runs green only under `nix develop` (go on PATH; ADR 0040), unchanged by this slice. STATUS.md updated (header + milestone log).
ben closed this issue 2026-08-01 03:06: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#244
No description provided.