members: invite-screen-ui — the P6-S2 invite screen (mint, ledger, by-hand) #100

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

Parent

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

What to build

The S2 invite screen: mint single-use (default) or deliberate multi-use invites with komiti preset, the open-invites ledger with one-action revoke, and the by-hand create form (username + temp password; creating is approving). All verbs through the member seam's invite/by-hand APIs. Build to p6-s2-invite.html.

Acceptance criteria

  • Given Members, when I choose Invite people, then S2 renders with single-use default, multi-use as a deliberate choice, and komiti preset (fields per wireframe).
  • Given open invites, when S2 renders, then the ledger lists them with revoke actions; revoking updates the list.
  • Given the by-hand form, when I create a member, then the flow returns to S1 with the new row in the hasn't-signed-in-yet state.

Blocked by

  • #53 members:invites — mint/ledger seam.
  • #54 members:by-hand-creation — by-hand seam.
  • #99 — S1→S2 navigation.

Task manifest

task: members:invite-screen-ui
implements_flow: p6-members
implements_edge: "S1→S2, S2→S1 (by-hand)"
wireframe: docs/ux/wireframes/p6-members/p6-s2-invite.html
interface: "the S2 invite screen component over the member seam's invite + by-hand 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:invites, members:by-hand-creation, 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: #53 + #54 closed seam-only; this slice ships the owed screen(s) P6-S2 per swarm prompt rule 2b (the wireframe is the binding UI contract). ## What to build The S2 invite screen: mint single-use (default) or deliberate multi-use invites with komiti preset, the open-invites ledger with one-action revoke, and the by-hand create form (username + temp password; creating is approving). All verbs through the `member` seam's invite/by-hand APIs. Build to `p6-s2-invite.html`. ## Acceptance criteria - [ ] Given Members, when I choose Invite people, then S2 renders with single-use default, multi-use as a deliberate choice, and komiti preset (fields per wireframe). - [ ] Given open invites, when S2 renders, then the ledger lists them with revoke actions; revoking updates the list. - [ ] Given the by-hand form, when I create a member, then the flow returns to S1 with the new row in the hasn't-signed-in-yet state. ## Blocked by - #53 members:invites — mint/ledger seam. - #54 members:by-hand-creation — by-hand seam. - #99 — S1→S2 navigation. ## Task manifest ```yaml task: members:invite-screen-ui implements_flow: p6-members implements_edge: "S1→S2, S2→S1 (by-hand)" wireframe: docs/ux/wireframes/p6-members/p6-s2-invite.html interface: "the S2 invite screen component over the member seam's invite + by-hand 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:invites, members:by-hand-creation, 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 — commit 7eb0970 (sandcastle: members:invite-screen-ui #100).

The P6-S2 invite screen ships per the binding wireframe docs/ux/wireframes/p6-members/p6-s2-invite.html, over the closed seams #53 + #54:

  • Mint (dashboard/src/components/members/InviteScreen.vue over dashboard/src/lib/invites.ts): only JOIN AS + USES — the role is never a field (every invite admits a plain member) and neither is the expiry (14 days). USES defaults to single-use; multi-use is the deliberate, explicit hui choice (DDR 0073). The minted artifact renders as link + QR (one payload) with a copy affordance and the wireframe's share/expiry copy.
  • Open-invites ledger: newest first with label / preset / single-multi-use / uses so far / expiry and the seam's derived status; one-action revoke runs the seam verb and re-reads — revocation immediately stops admission and shows revoked in the ledger only.
  • By hand: username + temp password through the seam's CreateByHand (creating is approving; refusals shown in the seam's own words), returning to S1 re-read with the new row in the hasn't-signed-in-yet state.
  • Composed on MembersSurface behind the existing invite-people intent (edges S1→S2, S2→S1) — with this, every P6 members screen renders over its closed seam.

Evidence: dashboard/tests/unit/inviteScreen.test.ts — 12 component tests against the wireframe's data-field/data-action/data-status contract covering all three acceptance clauses; vue-tsc + eslint clean. STATUS.md updated in the same commit.

Done — commit `7eb0970` (`sandcastle: members:invite-screen-ui #100`). The P6-S2 invite screen ships per the binding wireframe `docs/ux/wireframes/p6-members/p6-s2-invite.html`, over the closed seams #53 + #54: - **Mint** (`dashboard/src/components/members/InviteScreen.vue` over `dashboard/src/lib/invites.ts`): only JOIN AS + USES — the role is never a field (every invite admits a plain member) and neither is the expiry (14 days). USES defaults to single-use; multi-use is the deliberate, explicit hui choice (DDR 0073). The minted artifact renders as link + QR (one payload) with a copy affordance and the wireframe's share/expiry copy. - **Open-invites ledger**: newest first with label / preset / single-multi-use / uses so far / expiry and the seam's *derived* status; one-action revoke runs the seam verb and re-reads — revocation immediately stops admission and shows revoked in the ledger only. - **By hand**: username + temp password through the seam's CreateByHand (creating is approving; refusals shown in the seam's own words), returning to S1 re-read with the new row in the hasn't-signed-in-yet state. - Composed on `MembersSurface` behind the existing `invite-people` intent (edges S1→S2, S2→S1) — with this, every P6 members screen renders over its closed seam. Evidence: `dashboard/tests/unit/inviteScreen.test.ts` — 12 component tests against the wireframe's data-field/data-action/data-status contract covering all three acceptance clauses; vue-tsc + eslint clean. STATUS.md updated in the same commit.
ben closed this issue 2026-07-25 15:15:56 +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#100
No description provided.