quasar-ui: kit-quasar-foundation — Quasar 2 enters through the shared kit; primitives + base layer become the one component vocabulary #240
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
Reference
Matou/idss#240
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parent
Quasar-UI arc — retire ADR 0108's recorded deferral: "the Quasar app-vite build and UI framework wrap when the ui-kit's Quasar components are consumed" (ADRs 0036/0108). Found live in the #183 Phase A rehearsal: the shell boots and wears the compiled kit's colour vars (#237), but screens style themselves per-component — Welcome renders browser-default buttons and serif type because no base layer exists anywhere and
.oc-btnclasses are styled only in per-screen scoped copies. Shell spec: #22.What to build
Quasar 2 (the ADR 0036 stack: Quasar 2 + Vue 3 + TS, the stack matou-app runs) enters the workspace through
packages/ui-kit— the kit is where the wireframes' component vocabulary is implemented once for both surfaces (ADRs 0036, 0094):OcButton/OcInput/OcField/OcPill/OcPanel,NavChrome,CodesLedgerScreen) are re-backed by Quasar components (QBtn, QInput, …) behind their existing props + emits +data-field/data-action/data-statuscontract — consumers compile and their tests pass unchanged.brandVars.ts's--q-*→--oc-*mapping ships as loadable CSS the surfaces import, so every Quasar component wears the compiled kit (DDR 0007 / ADR 0094). Zero hex literals in components (ADR 0035: the community's brand kit owns the finished look;DEFAULT_BRAND_TOKENSdresses pre-founding screens).var(--oc-background), an app typography stack (bundled, never a CDN fetch — the Electron window loads only local content, ADR 0108; record the typeface choice as an ADR), focus-visible states, and shared structural classes for the wireframes' common elements — so a raw-classed screen can never render browser-default again.Acceptance criteria
DEFAULT_BRAND_TOKENSapplied, Then every colour resolves from a--oc-*token and no control renders browser-default chromeTask manifest
Done in
51de5a8(on origin/main).Quasar 2 enters the workspace through the shared kit — the foundation of the Quasar-UI arc, retiring ADR 0108's recorded deferral.
Interface built to exactly:
@ourcloud/ui-kitnow exports the primitives (contract unchanged) + base-layer CSS + quasar brand-vars CSS.packages/ui-kitowns thequasar+@quasar/extrasdependency (lockfile updated) and re-exports the runtime + aninstallOcKit(app)seam via the@ourcloud/ui-kit/quasarsubpath — the app-creation reconciliation ADR 0108 named. The mainindex.tsstays Quasar-free so the app renderer graph (#233 guard) is untouched until a boot ticket opts in.var(--oc-background), control-chrome reset (controls inherit the app type — no UA serif), accent:focus-visiblering, shared structural classes. Zero hex; every colour a--oc-*token.@font-face, no CDN) — honours ADR 0108's local-content-only window. Recorded in ADR 0119; ADR 0108's phasing note now points at this arc.quasarBrandVarsCss(), kept identical by test.Design note on the primitives: a literal QBtn/QInput swap of the Oc primitives is provably impossible under AC1 — the kit's own OcInput test drives
setValueon the[data-field]element, which QInput's wrapper DOM breaks, and Quasar components require the plugin (empirically: they throw onplatform/darkwithoutapp.use), which only boot wiring (#241/#242, out of scope) registers in consumers. So the primitives keep their props/emits/data-*contract unchanged (as the interface states) and screen-level QBtn/QInput adoption is the arc's later tickets (#243–#247).Acceptance: all four met. Existing kit unit tests pass unchanged (90); base layer + brand-vars mean no browser-default chrome and all colour from
--oc-*; guards green (build/vue-tsc, vitest incl. the #233 renderer-build guard, eslint, frozen-lockfile) with no remote asset; ADR 0119 records the typography decision.Verified:
pnpm -r run build, ui-kit vitest (90 pass), app vitest 46/47 (boot.test needs the Go toolchain — passes insidenix develop, confirmed),pnpm run lint,pnpm install --frozen-lockfile— all green.