Style sweep: control panel (dashboard/) — consolidate onto the kit classes, no local copies #1890
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
2 participants
Notifications
Due date
No due date set.
Blocks
Reference
Matou/idss#1890
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?
Context: Ben, 2026-09-25 — "the coa, founding app and control panel should all be implemented with global css styles for consistency … create tickets for application wide sweeps across all platforms". Audit of the current state is summarised in the umbrella ticket. The shared kit is
packages/ui-kit/src/baseLayer.css(--oc-*tokens,--oc-font-serif= Merriweather,--oc-font-sans= Roboto Mono,.oc-linkbutton,.oc-card,.oc-callout--*,.oc-system-alert--*) plusOcButtonand the otherOc*components.Current state
dashboard/src/bootstrap.tsalready imports the shared kit (quasar.css,base-layer.css,quasar-brand-vars.css) and styles lean on tokens (~1,725var(--oc-uses). The drift is local re-definitions layered on top:.oc-calloutredefined in scoped styles ~22× although the kit owns it (e.g.rescue/ShareCeremony.vue:236,backups/BackupRestoreScreen.vue:440,provisioning/RefusedScreen.vue:319,members/WaitingApprovalScreen.vue:118)..oc-btns×15,.oc-btn/.oc-btn1/.oc-btn2×11; card variants.oc-scard,.oc-recovery-card,.oc-service-card(s), local.oc-card×2 — ~82 local button/card/alert definitions across 47 files.font-familydeclarations bypass--oc-font-*(ad-hoc monospace stacks:device-add/ConnectScreen.vue:511/543/694,shell/SettingsScreen.vue:360,shell/DestroyTerminal.vue:411,mail/MailClaimScreen.vue:78,members/InviteScreen.vue:417, …).<button>vs 158<OcButton>.Scope
Replace local callout/button/card/alert copies with the kit's classes/components (add a kit modifier where a real variant is needed — in
baseLayer.css, once); route every font throughvar(--oc-font-*); move raw<button>s that are actions ontoOcButton/.oc-linkbutton.Acceptance
.oc-callout {,.oc-btn,.oc-btnsdefinitions underdashboard/src; any card/button variant lives in the kit;font-familyunderdashboard/srcisvar(--oc-font-*)orinherit;dashboard/src<style>blocks (tokens only);pnpm harness, :5198) in the PR; unit +pnpm e2e:harnessgreen.🤖 Filed with Claude Code
Triage:
ready-for-agent(keptenhancement,landing-pr)Verified against the tree.
dashboard/src/bootstrap.tsimports the shared kit andpackages/ui-kit/src/baseLayer.cssexists — the ticket's premise (drift is local re-definitions layered on top of an already-imported kit) holds. This sweep is independent of the DDR 0280 bridge-band work (PR #1889) — it lives entirely in the Vuedashboard/srctree against the existing kit, so nothing blocks it.Ruled by agent under ADR 0174 — veto anytime. Routed
ready-for-agent, notready-for-humanorneeds-design: this is a mechanical consolidation onto an existing kit with grep-provable, harness-provable acceptance and no new flow/wireframe. It is a two-way door — every edit is revertible by a commit, and the acceptance below is proved by an existing probe (pnpm harness:5198 screenshots per tab,pnpm e2e:harness, and a grep for the forbidden definitions).landing-pris left on as Ben applied it — this lands by a human-merged PR with before/after screenshots.Agent brief
Goal: every callout/button/card/alert in
dashboard/srcdraws from the kit's classes/components — no local copies — and every font routes throughvar(--oc-font-*).Where things are:
packages/ui-kit/src/baseLayer.css(--oc-*tokens,.oc-callout--*,.oc-card,.oc-linkbutton,.oc-system-alert--*) + theOc*components;dashboard/srcalready imports it (bootstrap.ts) and leans on tokens (~1,725var(--oc-uses)..oc-calloutredefined in scoped styles ~22× (e.g.rescue/ShareCeremony.vue:236,backups/BackupRestoreScreen.vue:440,provisioning/RefusedScreen.vue:319,members/WaitingApprovalScreen.vue:118); local.oc-btns×15,.oc-btn/.oc-btn1/.oc-btn2×11; card variants.oc-scard,.oc-recovery-card,.oc-service-card(s), local.oc-card×2 — ~82 local button/card/alert definitions across 47 files; 14font-familybypasses (e.g.device-add/ConnectScreen.vue:511/543/694,shell/SettingsScreen.vue:360,shell/DestroyTerminal.vue:411,mail/MailClaimScreen.vue:78,members/InviteScreen.vue:417); 229 raw<button>vs 158<OcButton>.Approach: replace local callout/button/card/alert copies with the kit's classes/components; where a genuine new variant is needed, add a kit modifier in
baseLayer.cssonce (not a local copy). Route every font throughvar(--oc-font-*). Move raw<button>s that are actions ontoOcButton/.oc-linkbutton.Acceptance (all grep-/harness-provable):
.oc-callout {,.oc-btn,.oc-btnsdefinitions underdashboard/src; any card/button variant lives in the kit;font-familyunderdashboard/srcisvar(--oc-font-*)orinherit;dashboard/src<style>blocks (tokens only);pnpm harness, :5198) in the PR; unit +pnpm e2e:harnessgreen.close-report for #1890 — status
success✅ close-report gates passed — every claim verified against the PR head. PR #1900 (#1900) is open and green; a human merges it and the merge closes this issue via
closes #1890(MERGE_AUTHORITY=human).envelope
Re-scope for the redo (PR #1900 was closed as too stale to rebase, 2026-11-17). Current counts on main:
.oc-calloutredefinition.oc-btns/.oc-btn/.oc-btn1/.oc-btn2definitionsfont-familydeclarations not routed throughvar(--oc-font-*)<button>vs 171<OcButton>Run the sweep fresh from main. #1900's approach (kit modifiers added once in
baseLayer.css, local copies deleted) is still the plan.Ruled by agent under ADR 0174 — veto anytime.
The stale
agent/issue-1890branch (commit4abc1374, head of the closed, unmerged PR #1900) blocks a non-force push of this iterations fresh redo. Ben asked for exactly that: "PR #1900 was closed as too stale to rebase … Run the sweep fresh from main." I will delete the abandoned branch so a fresh PR can land by a clean push (never a force-push over open work).Why two-way: PR #1900 stays closed and keeps
4abc1374in its own record, so the branch deletion is reversible; it is not on the one-way-door list (no credentials, security posture, member trust, data destruction, or spend). Proven by: the fresh PR opens green on the currentmainwith the same acceptance greps at 0 and the unit suites passing.⏩ independent reviewer for #1890 — verdict
unauthenticatedreview JSON
close-report for #1890 — status
success✅ close-report gates passed — every claim verified against the PR head. PR #2195 (#2195) is open and green; a human merges it and the merge closes this issue via
closes #1890(MERGE_AUTHORITY=human).envelope