members: member-detail-ui — P6-S4 detail with reset link and the suspend switch #102

Closed
opened 2026-07-25 12:58:09 +00:00 by ben · 1 comment
Owner

Parent

Feature spec: #19 (members). Follow-up UI slice filed by design-verify 2026-07-25: #71 + #75 closed seam-only; this slice ships the owed screen(s) P6-S4 per swarm prompt rule 2b (the wireframe is the binding UI contract).

What to build

The S4 member-detail screen: role/komiti/per-service access/kaitiaki read, the single-use reset-link action (blocked while suspended), and the one-switch suspend with the honest two-speed copy (browser access dies now; sync clients on credential-disable lag), un-suspend reversing all three moves. Build to p6-s4-member-detail.html.

Acceptance criteria

  • Given a member row, when I open it, then S4 shows role, komiti, per-service access, and kaitiaki designation (fields per wireframe).
  • Given S4, when I mint a reset link, then it is single-use, and the action is blocked with honest copy while the member is suspended.
  • Given the suspend switch, when I flip it, then the seam's three moves run and the screen carries the two-speed honesty copy; un-suspend reverses it.

Blocked by

  • #71 members:member-detail-reset — detail/reset seam.
  • #75 members:suspend — suspend seam.
  • #99 — S1→S4 navigation.

Task manifest

task: members:member-detail-ui
implements_flow: p6-members
implements_edge: "S1→S4, S4→S1 (reset, suspend)"
wireframe: docs/ux/wireframes/p6-members/p6-s4-member-detail.html
interface: "the S4 detail screen over the member seam's detail/reset/suspend APIs"
seam: "component tests against the wireframe's data-field/data-action/data-status contract (dashboard); reads only through the closed seam's API — no local truth"
acceptance: "the UI-facing Given/When/Then clauses of the parent seam ticket, verified against the rendered screen (see Acceptance criteria above)"
depends_on: [members:member-detail-reset, members:suspend, members:members-list-ui]
out_of_scope: [the seam behaviour itself (closed in the parent seam ticket) — this slice renders it, never reimplements it]
needs_human_decision: []
## Parent Feature spec: #19 (members). Follow-up UI slice filed by design-verify 2026-07-25: #71 + #75 closed seam-only; this slice ships the owed screen(s) P6-S4 per swarm prompt rule 2b (the wireframe is the binding UI contract). ## What to build The S4 member-detail screen: role/komiti/per-service access/kaitiaki read, the single-use reset-link action (blocked while suspended), and the one-switch suspend with the honest two-speed copy (browser access dies now; sync clients on credential-disable lag), un-suspend reversing all three moves. Build to `p6-s4-member-detail.html`. ## Acceptance criteria - [ ] Given a member row, when I open it, then S4 shows role, komiti, per-service access, and kaitiaki designation (fields per wireframe). - [ ] Given S4, when I mint a reset link, then it is single-use, and the action is blocked with honest copy while the member is suspended. - [ ] Given the suspend switch, when I flip it, then the seam's three moves run and the screen carries the two-speed honesty copy; un-suspend reverses it. ## Blocked by - #71 members:member-detail-reset — detail/reset seam. - #75 members:suspend — suspend seam. - #99 — S1→S4 navigation. ## Task manifest ```yaml task: members:member-detail-ui implements_flow: p6-members implements_edge: "S1→S4, S4→S1 (reset, suspend)" wireframe: docs/ux/wireframes/p6-members/p6-s4-member-detail.html interface: "the S4 detail screen over the member seam's detail/reset/suspend APIs" seam: "component tests against the wireframe's data-field/data-action/data-status contract (dashboard); reads only through the closed seam's API — no local truth" acceptance: "the UI-facing Given/When/Then clauses of the parent seam ticket, verified against the rendered screen (see Acceptance criteria above)" depends_on: [members:member-detail-reset, members:suspend, members:members-list-ui] out_of_scope: [the seam behaviour itself (closed in the parent seam ticket) — this slice renders it, never reimplements it] needs_human_decision: [] ```
Author
Owner

Done in commit 0df9d48 (branch sandcastle/worker/20260725-142556-fce2ce).

What was built — the P6-S4 member-detail screen (edges S1→S4, S4→S1), thin UI over the member seam's detail face (#71) and suspend switch (#75, ADR 0074):

  • dashboard/src/components/members/MemberDetailScreen.vue — the S4 render to p6-s4-member-detail.html's data-field/data-action/data-status contract: role, status pill, komiti chips, the per-service access the seam derived from the matrix (route named — "all members" or the opening komiti; "no access" honest), the kaitiaki designation with its grants-no-access note, the advice-not-veto share-holder warning only when the seam sends one, and the ALL IDENTITY ACTIONS AUDIT-LOGGED line (acceptance 1).
  • Reset link (acceptance 2): mints through the seam's MintReset and re-reads the reset ledger — the link renders single-use and revocable; a redeemed link honestly reads used with no revoke affordance; while suspended the action is blocked wearing the seam's own copy ("Un-suspend first…") and the seam refuses the mint outright — the guard is the seam's, not the button's.
  • Suspend switch (acceptance 3): one switch wearing the seam's honest two-speed copy; flipping it runs the seam's three moves (IdP disable, auth-gate deny, reconciler credential-disable), the status pill flips only on the seam's next answer, and un-suspend reverses all three with the member back to active.
  • dashboard/src/lib/memberDetail.ts — MemberDetailClient port mirroring the seam's Detail/ResetLinkRow JSON + FakeMemberDetailClient mirroring the Go orchestrator's guards; composed on MembersSurface behind an optional detail client, with S4→S1 back re-reading the list. Out-of-slice affordances (remove / designate / add-komiti) forward intents, never run here.

Evidence: dashboard/tests/unit/memberDetail.test.ts — 18 component tests, all green; vue-tsc + eslint clean.

Note: this iteration also found the closed dependency commits for #99/#101/#105 stranded on an unpushed worker branch and cherry-picked them onto the swarm branch so that closed work lands with this merge.

Done in commit 0df9d48 (branch sandcastle/worker/20260725-142556-fce2ce). **What was built** — the P6-S4 member-detail screen (edges S1→S4, S4→S1), thin UI over the member seam's detail face (#71) and suspend switch (#75, ADR 0074): - `dashboard/src/components/members/MemberDetailScreen.vue` — the S4 render to `p6-s4-member-detail.html`'s data-field/data-action/data-status contract: role, status pill, komiti chips, the per-service access the seam derived from the matrix (route named — "all members" or the opening komiti; "no access" honest), the kaitiaki designation with its grants-no-access note, the advice-not-veto share-holder warning only when the seam sends one, and the ALL IDENTITY ACTIONS AUDIT-LOGGED line (acceptance 1). - **Reset link** (acceptance 2): mints through the seam's `MintReset` and re-reads the reset ledger — the link renders single-use and revocable; a redeemed link honestly reads `used` with no revoke affordance; while suspended the action is blocked wearing the seam's own copy ("Un-suspend first…") and the seam refuses the mint outright — the guard is the seam's, not the button's. - **Suspend switch** (acceptance 3): one switch wearing the seam's honest two-speed copy; flipping it runs the seam's three moves (IdP disable, auth-gate deny, reconciler credential-disable), the status pill flips only on the seam's next answer, and un-suspend reverses all three with the member back to active. - `dashboard/src/lib/memberDetail.ts` — `MemberDetailClient` port mirroring the seam's `Detail`/`ResetLinkRow` JSON + `FakeMemberDetailClient` mirroring the Go orchestrator's guards; composed on `MembersSurface` behind an optional detail client, with S4→S1 back re-reading the list. Out-of-slice affordances (remove / designate / add-komiti) forward intents, never run here. **Evidence**: `dashboard/tests/unit/memberDetail.test.ts` — 18 component tests, all green; vue-tsc + eslint clean. **Note**: this iteration also found the closed dependency commits for #99/#101/#105 stranded on an unpushed worker branch and cherry-picked them onto the swarm branch so that closed work lands with this merge.
ben closed this issue 2026-07-25 14:37:59 +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#102
No description provided.