quasar-ui: dashboard-care-screens — Members (P6) and Backups (P7) wear the kit #247

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

Parent

Quasar-UI arc (boot dep: quasar-ui:dashboard-quasar-boot). Specs: #19 (members), #20 (backups).

What to build

The Members and Backups tab content adopts the kit's Quasar-backed vocabulary per their wireframes:

  • Members (docs/ux/wireframes/p6-members/): MembersScreen/MembersSurface, MemberDetailScreen, ApprovalQueue, InviteScreen/OpenInvitesLedger/DeadInviteScreen, JoinSurface/MemberJoinsScreen/WaitingApprovalScreen/NotApprovedScreen, KomitiPanel/KomitiDetailScreen, RemovalScreen, CommunityMark. The member-facing join surfaces are the community's front door on a phone — they must render the community's kit faithfully at small viewports (DDR 0007: the branded surfaces are where members decide "is this legit?").
  • Backups (docs/ux/wireframes/p7-backups/): BackupsOverviewScreen/BackupsSurface/BackupsFirstRunScreen, BackupPolicyScreen(+TargetGone), BackupRunsScreen/BackupRunFailedScreen, BackupRestoreScreen/BackupRestoreReplacesScreen, BackupExportScreen, RecoveryReadinessCard.

Wireframes bind structure + data-* hooks, not pixels (ADR 0035); 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 the member join surfaces at a phone viewport, When they render with a community kit, Then the branded layout holds (no desktop-only chrome)
  • Given the screens' scoped styles, When adoption lands, Then no primitive re-implementations or colour literals remain

Task manifest

task: quasar-ui:dashboard-care-screens
implements_seam: "P6/P7 wireframes = structural contract; kit primitives = vocabulary"
interface: "dashboard/src/components/{members,backups}/* over @ourcloud/ui-kit + Quasar"
seam: "component tests keep the data-* contract; design-verify reads the wireframe hooks"
acceptance:
  - given: kit tokens; when: members + backups screens mount; then: kit-styled, hooks intact
depends_on: [quasar-ui:dashboard-quasar-boot]
out_of_scope: [dashboard chrome, services/provisioning content, IdP login theming (kanidm-brand.nix owns it)]
needs_human_decision: []
## Parent Quasar-UI arc (boot dep: quasar-ui:dashboard-quasar-boot). Specs: #19 (members), #20 (backups). ## What to build The Members and Backups tab content adopts the kit's Quasar-backed vocabulary per their wireframes: - **Members** (`docs/ux/wireframes/p6-members/`): `MembersScreen`/`MembersSurface`, `MemberDetailScreen`, `ApprovalQueue`, `InviteScreen`/`OpenInvitesLedger`/`DeadInviteScreen`, `JoinSurface`/`MemberJoinsScreen`/`WaitingApprovalScreen`/`NotApprovedScreen`, `KomitiPanel`/`KomitiDetailScreen`, `RemovalScreen`, `CommunityMark`. The member-facing join surfaces are the community's front door on a phone — they must render the community's kit faithfully at small viewports (DDR 0007: the branded surfaces are where members decide "is this legit?"). - **Backups** (`docs/ux/wireframes/p7-backups/`): `BackupsOverviewScreen`/`BackupsSurface`/`BackupsFirstRunScreen`, `BackupPolicyScreen`(+`TargetGone`), `BackupRunsScreen`/`BackupRunFailedScreen`, `BackupRestoreScreen`/`BackupRestoreReplacesScreen`, `BackupExportScreen`, `RecoveryReadinessCard`. Wireframes bind structure + `data-*` hooks, not pixels (ADR 0035); 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 the member join surfaces at a phone viewport, When they render with a community kit, Then the branded layout holds (no desktop-only chrome) - [ ] Given the screens' scoped styles, When adoption lands, Then no primitive re-implementations or colour literals remain ## Task manifest ```yaml task: quasar-ui:dashboard-care-screens implements_seam: "P6/P7 wireframes = structural contract; kit primitives = vocabulary" interface: "dashboard/src/components/{members,backups}/* over @ourcloud/ui-kit + Quasar" seam: "component tests keep the data-* contract; design-verify reads the wireframe hooks" acceptance: - given: kit tokens; when: members + backups screens mount; then: kit-styled, hooks intact depends_on: [quasar-ui:dashboard-quasar-boot] out_of_scope: [dashboard chrome, services/provisioning content, IdP login theming (kanidm-brand.nix owns it)] needs_human_decision: [] ```
Author
Owner

Done in 1394697 (on origin/main).

The P6 members + P7 backups surfaces were already largely kit-spoken (OcButton×47, OcPill×20 across the two directories from the earlier per-story builds); this ticket closes the residual button hold-outs and pins the whole adoption at the seam, mirroring #248's operations pass.

What changed

  • MemberJoinsScreen (the branded phone join surface — DDR 0007's "is this legit?" front door, and the one fully-un-adopted members screen): passkey + set-password buttons → <OcButton variant=primary|plain>, data-action hooks carried through OcButton's action prop, hand-rolled .oc-btn1/.oc-btn3 rules deleted. Its mobile-first max-width:360px column layout holds at a phone viewport, no desktop-only chrome (AC2).
  • WaitingApprovalScreen's check-again → <OcButton variant=plain>.
  • BackupRestoreReplacesScreen's destructive oc-btn1--danger stays a tokenized --oc-* composite — the kit models only primary/plain, so a danger button is the kit-un-modelled variant kept as a composite (ADR 0035, same carve-out #248 made for the clickable pill). Documented inline.

Deliberately not adopted: OcField/OcInput. The kit input primitive carries no autocomplete/id/aria-label, so labelled inputs, <select>s, number/time inputs and label+value rows stay --oc-* composites — as every merged surface keeps them (#248's ops screens, the shell BrandKitScreen). Converting the join password field would drop autocomplete — a real regression. Colours were already token-only, so no colour literal remains (AC3).

Evidence: new source-scan seam dashboard/tests/unit/quasarUiDashboardCare.test.ts (58 checks over members + backups: no static <span> pill, every surviving oc-btn button is the danger composite, each surface imports OcButton + OcPill). Full suite 73 files / 855 tests green; vue-tsc + eslint + prettier clean on all changed .ts/.vue.

Next in the arc: app boot #241, then the chrome adoption ticket #246.

Done in `1394697` (on `origin/main`). The P6 members + P7 backups surfaces were already largely kit-spoken (`OcButton`×47, `OcPill`×20 across the two directories from the earlier per-story builds); this ticket closes the residual button hold-outs and pins the whole adoption at the seam, mirroring #248's operations pass. **What changed** - `MemberJoinsScreen` (the branded phone join surface — DDR 0007's "is this legit?" front door, and the one fully-un-adopted members screen): passkey + set-password buttons → `<OcButton variant=primary|plain>`, `data-action` hooks carried through OcButton's `action` prop, hand-rolled `.oc-btn1`/`.oc-btn3` rules deleted. Its mobile-first `max-width:360px` column layout holds at a phone viewport, no desktop-only chrome (AC2). - `WaitingApprovalScreen`'s check-again → `<OcButton variant=plain>`. - `BackupRestoreReplacesScreen`'s destructive `oc-btn1--danger` stays a tokenized `--oc-*` composite — the kit models only primary/plain, so a danger button is the kit-un-modelled variant kept as a composite (ADR 0035, same carve-out #248 made for the clickable pill). Documented inline. **Deliberately not adopted:** `OcField`/`OcInput`. The kit input primitive carries no `autocomplete`/`id`/`aria-label`, so labelled inputs, `<select>`s, number/time inputs and label+value rows stay `--oc-*` composites — as every merged surface keeps them (#248's ops screens, the shell BrandKitScreen). Converting the join password field would drop `autocomplete` — a real regression. Colours were already token-only, so no colour literal remains (AC3). **Evidence:** new source-scan seam `dashboard/tests/unit/quasarUiDashboardCare.test.ts` (58 checks over members + backups: no static `<span>` pill, every surviving `oc-btn` button is the danger composite, each surface imports `OcButton` + `OcPill`). Full suite 73 files / 855 tests green; vue-tsc + eslint + prettier clean on all changed `.ts`/`.vue`. Next in the arc: app boot #241, then the chrome adoption ticket #246.
ben closed this issue 2026-08-01 02:12:33 +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#247
No description provided.