members: land the IDIP Members-tab redesign + credential looks (issue 1759) #1796

Merged
ben merged 5 commits from idip-credentials-ui into main 2026-09-23 20:37:48 +00:00
Owner

Lands branch idip-credentials-ui — the IDIP Members-tab redesign + credential looks from Ben's 2026-09-23 design session (DDR 0217 amendment rulings 10–11; wireframes #1757) — on main, rebased past #1756 (the control plane stores + serves a look), #1758 (the display block), #1779 and #1782 (the service-side access door). Closes issue 1759 on merge (landing-pr).

What changes

  • ONE members table on IDIP (#1641): the roster fills MembersScreen's ledger slot in place of the empty kanidm table; the CREDENTIALS cards and #1782's SERVICE ACCESS grid follow it inside the same page width.
  • Credentials as pills on the member row (painted with the credential's colour; struck through while dormant) and as cards in the expanded row — Suspend / Re-admit on the Membership card, Revoke on each held one, a dashed Issue a credential send-card.
  • Create, issue, change-look and unlock are dialogs. There is no standing "unlock signing" control: every signing act calls SigningSession.ensureUnlocked(), and the ONE unlock dialog (twelve numbered boxes; paste fills all twelve) is raised only when the tab is locked. The strip-era dead code is removed from five components.
  • Credentials to issue are multi-select cards everywhere they are chosen (approval form, invite preset, the member's issue dialog); a partial outcome is reported honestly.
  • A credential's look: community logo · curated Lucide icon · uploaded image, plus a background colour with contrast ink. The picker uploads through the client (uploadImage → the served, content-addressed URL rides in the appearance, never the bytes) and every post is normalised to the control plane's closed shape. CURATED_ICONS mirrors keriawire.CuratedIcons exactly — a unit test reads the Go source so they cannot drift.
  • The app-only hand-off gains a QR of matou://inbox (the app door, DDR 0246 d2), in the kit's tokens.

Proof

  • vue-tsc clean; dashboard unit suite 148 files / 1887 tests green (strip-era assertions rewritten against the on-demand dialog; new signingSession, unlockSigningDialog, credentialAppearance, credentialAppearancePicker, membersIdipLedger suites; multi-select partial outcome; preset pre-selected before the definitions land).
  • Harness driven headless on panel.html?scenario=idip&tab=members (approve → unlock dialog, multi-issue, create, change look, app-only) — the screenshots below, before = main (c1ae3b24) with the same harness scenario grafted on, after = this branch.

Screenshots

S1i — the Members tab

before after
before after

The expanded row (a member's credentials)

before after
before after

Create a credential

before after
before after

Unlock signing (before: the standing strip · after: the dialog raised by Sign and approve)

before after
before after

After only: the issue dialog (multi-select), change look, and the app-only hand-off

issue change look app-only
issue look app-only

🤖 Generated with Claude Code

Lands branch `idip-credentials-ui` — the IDIP Members-tab redesign + credential looks from Ben's 2026-09-23 design session (DDR 0217 amendment rulings 10–11; wireframes #1757) — on main, rebased past #1756 (the control plane stores + serves a look), #1758 (the `display` block), #1779 and #1782 (the service-side access door). Closes issue 1759 on merge (`landing-pr`). ## What changes - **ONE members table on IDIP** (#1641): the roster fills `MembersScreen`'s ledger slot in place of the empty kanidm table; the CREDENTIALS cards and #1782's SERVICE ACCESS grid follow it inside the same page width. - **Credentials as pills** on the member row (painted with the credential's colour; struck through while dormant) and **as cards** in the expanded row — Suspend / Re-admit on the Membership card, Revoke on each held one, a dashed *Issue a credential* send-card. - **Create, issue, change-look and unlock are dialogs.** There is no standing "unlock signing" control: every signing act calls `SigningSession.ensureUnlocked()`, and the ONE unlock dialog (twelve numbered boxes; paste fills all twelve) is raised only when the tab is locked. The strip-era dead code is removed from five components. - **Credentials to issue are multi-select cards** everywhere they are chosen (approval form, invite preset, the member's issue dialog); a partial outcome is reported honestly. - **A credential's look:** community logo · curated Lucide icon · uploaded image, plus a background colour with contrast ink. The picker **uploads through the client** (`uploadImage` → the served, content-addressed URL rides in the appearance, never the bytes) and every post is normalised to the control plane's closed shape. `CURATED_ICONS` mirrors `keriawire.CuratedIcons` exactly — a unit test reads the Go source so they cannot drift. - The app-only hand-off gains a QR of `matou://inbox` (the app door, DDR 0246 d2), in the kit's tokens. ## Proof - `vue-tsc` clean; dashboard unit suite **148 files / 1887 tests green** (strip-era assertions rewritten against the on-demand dialog; new `signingSession`, `unlockSigningDialog`, `credentialAppearance`, `credentialAppearancePicker`, `membersIdipLedger` suites; multi-select partial outcome; preset pre-selected before the definitions land). - Harness driven headless on `panel.html?scenario=idip&tab=members` (approve → unlock dialog, multi-issue, create, change look, app-only) — the screenshots below, **before** = main (`c1ae3b24`) with the same harness scenario grafted on, **after** = this branch. ## Screenshots ### S1i — the Members tab | before | after | |---|---| | ![before](https://git.matou.nz/attachments/ca6c88c1-27de-4763-a846-20ab892921c6) | ![after](https://git.matou.nz/attachments/2f8cdb23-1ee7-4d9a-8770-1a4ef87f1900) | ### The expanded row (a member's credentials) | before | after | |---|---| | ![before](https://git.matou.nz/attachments/9ffc1728-3dad-434a-a0e1-5f3c13cc214c) | ![after](https://git.matou.nz/attachments/e55fb5ef-0c55-4e98-9aad-49c06782eb26) | ### Create a credential | before | after | |---|---| | ![before](https://git.matou.nz/attachments/e6c5965f-dcc5-4d40-aa14-2d97ced44a44) | ![after](https://git.matou.nz/attachments/9bcef7b7-ac24-41b2-bc56-a1061ae572c7) | ### Unlock signing (before: the standing strip · after: the dialog raised by *Sign and approve*) | before | after | |---|---| | ![before](https://git.matou.nz/attachments/5ca8194d-11db-43e2-b115-57f9310384d7) | ![after](https://git.matou.nz/attachments/ff478f87-6473-47a5-9735-5713ca12f25b) | ### After only: the issue dialog (multi-select), change look, and the app-only hand-off | issue | change look | app-only | |---|---|---| | ![issue](https://git.matou.nz/attachments/4855866c-7b64-44e5-b92c-5407d70da28f) | ![look](https://git.matou.nz/attachments/ff150d01-4762-4ab4-bddb-fccbd2a09c52) | ![app-only](https://git.matou.nz/attachments/609b220c-cf7e-4793-b0bc-bf2a82b795ef) | 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Built over the control-panel harness (scenario=idip) in a design session with
Ben; lands by PR with screenshots (landing-pr) once the tests and wireframes
follow. NOT production-complete: the control plane does not yet store a
credential's appearance (setAppearance is optional on the client and the
"change look" act hides without it).

- ONE members table on IDIP: the roster fills MembersScreen's ledger slot in
  place of the kanidm table (empty on IDIP by construction, #1641); credentials
  as pills in the row; the alert box counts the roster; "+ Invite people" opens
  the IDIP mint.
- Credentials as cards with the Services card's anatomy (shared
  credentialCard.scss); a member's expanded row shows their credentials as cards
  — Membership carries Suspend/Re-admit, others Revoke — beside a dashed
  "Issue a credential" skeleton with a send mark.
- Credentials-to-issue is a multi-select row of cards (CredentialPickCards) on
  the approval form, the invite mint's preset and the member issue dialog.
- Create / issue / change-look / unlock signing are dialogs; the unlock has no
  standing control — SigningSession.ensureUnlocked() raises the one
  UnlockSigningDialog only when a signing act needs it.
- A credential's LOOK: mark (community logo / uploaded image / curated Lucide
  icon) + background colour with contrast ink (credentialAppearance.ts,
  CredentialTile, CredentialAppearancePicker); `lucide` added to the dashboard.
- Harness: an idip scenario that answers as production does (empty kanidm
  ledger), in-memory IDIP fakes, and a fake steward signing bundle so every
  signing flow runs end to end.

Unit tests NOT yet updated (several assert the retired unlock strips).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The branch's harness prototype (DDR 0217 amendment 2026-09-23, rulings 10–11)
now sits on main past #1756/#1757/#1758/#1779/#1782. Types take main's shape:
an appearance's image is the SERVED, content-addressed URL (never the bytes),
so the picker uploads through IdipCredentialsClient.uploadImage and the
surface normalises every post to keriawire.ValidateAppearance's closed set
(one field per mark, #rrggbb lowercase, an unpicked icon falls back to the
logo). CURATED_ICONS mirrors keriawire.CuratedIcons exactly — a unit test
reads the Go source so the two cannot drift. defaultAppearance is the
community logo, the control plane's own reading of an absent look.

The Members tab has ONE unlock-signing dialog: every signing act calls
SigningSession.ensureUnlocked() and the dialog (twelve numbered boxes, paste
fills all twelve) is raised only when the tab is locked; the standing unlock
strips are gone and so is their dead code in CredentialsSurface,
IdipMemberCredentials, IdipRosterPanel, RemoveMemberScreen and
PendingRotationScreen. #1782's SERVICE ACCESS grid moves into the ledger slot
beside the credentials so it keeps the page width on IDIP; MembersScreen wraps
the slot in a members-ledger field the tests read. The hand-off QR wears the
kit's tokens (the theming test forbids hex).

Tests: the strip-era assertions rewritten against the on-demand dialog (asks,
cancels to nothing, settles the waiting act); new signingSession,
unlockSigningDialog, credentialAppearance, credentialAppearancePicker and
membersIdipLedger suites; multi-select issuance's honest partial outcome; the
preset pre-selected before the definitions land. 148 files / 1887 tests green,
vue-tsc clean. Harness fakes gain uploadImage and the service-side faces.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
sandcastle: #1798 — re-pin the app-side idip guards to PR #1796's redesigned Members markup, and move the drive helpers onto the dialog-raised unlock + card picker
All checks were successful
ci / seam (pull_request) Successful in 11m39s
ci / publish (pull_request) Has been skipped
ci / publish-broker (pull_request) Has been skipped
ci / deploy-broker (pull_request) Has been skipped
fec22211f6
The five source-shape guards in app/tests/e2e/fixtures/idip.test.ts pinned the
PRE-redesign Members markup, so PR #1796 (idip-credentials-ui, landing #1759)
went CI-red once the redesign reshaped the dashboard's own .vue files. Lands on
branch idip-credentials-ui, NOT main — main still ships the <li> roster, so
re-pinning on main would red main (ticket point 3).

Guards re-pinned, each keeping its intent:
- S2i mint (399): the preset is now <CredentialPickCards field="preset"> under
  credential-preset; the real checkbox the drive check()s lives in
  CredentialPickCards.vue, keyed `${field}-${c.slug}` — pin follows it there.
- T3 approve (455): the sign button is no longer disabled by !signing.unlocked —
  the ceremony submits to approveOne, whose first act raises the ONE unlock
  dialog (signing.ensureUnlocked). The gate still holds; the act raises the ask.
- unlock (518): the three per-surface phrase strips collapsed into ONE dialog
  (UnlockSigningDialog.vue) — twelve numbered `unlock-word-N` boxes under
  unlock-phrase, confirmed by unlock-confirm; the roster hosts no strip.
- probed selectors (796): the contract-name walker now also reads the
  `field=`/`action=`/`status=` PROP form dataAttrs() renders to data-*, so the
  approval picker's field="credentials-to-issue" is seen as shipped.
- S6i archiving (851): the roster's <ul>/<li> became the oc-table <tr> ledger,
  still keyed idip-member-<status>; a bare tr probe is now worse (matches head /
  empty rows), so the proof still reads the keyed memberRow().

Drive helpers moved onto the new surfaces (idip.ts):
- unlockSigningIfAsked: fills the ONE dialog the signing act raises, page-wide
  (the dialog is mounted outside the roster panel), twelve word boxes then
  unlock-confirm; no-op when already unlocked or nothing signing is on screen.
- approveInDashboard / approveWithPreset: sign FIRST (the click raises the
  dialog), then fill it; approveWithPreset reads the picker's
  credentials-to-issue-<slug> cards by their selected data-status.
- removeMemberWithFates: click Remove first (confirmRemove raises the dialog),
  then fill it.

Also cleared the two other things that kept PR #1796's build/test/lint stage
red on the branch: removed the dead `const unlocked` in PendingRotationScreen.vue
(the redesign dropped its only reader; eslint no-unused-vars), and removed the
scratch file dashboard/.shot12.mjs it left behind.

Verified: app vue-tsc clean, the idip.test.ts suite green (56/56), eslint clean
across app + dashboard. (boot.test.ts / updatesFeed.test.ts fail only for
spawnSync go ENOENT, and dashboard vue-tsc only for uninstalled uqr/lucide — both
are sandbox gaps, unrelated to this change.)

Landing: on idip-credentials-ui to unblock PR #1796; #1798 closes when a human
merges PR #1796 (ADR 0267 — the landing PR is human-merged), which brings this
fix to main alongside the redesign it aligns to.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
ben force-pushed idip-credentials-ui from fec22211f6
All checks were successful
ci / seam (pull_request) Successful in 11m39s
ci / publish (pull_request) Has been skipped
ci / publish-broker (pull_request) Has been skipped
ci / deploy-broker (pull_request) Has been skipped
to 1280410d74
All checks were successful
ci / seam (pull_request) Successful in 13m19s
ci / publish (pull_request) Has been skipped
ci / publish-broker (pull_request) Has been skipped
ci / deploy-broker (pull_request) Has been skipped
2026-09-23 20:37:41 +00:00
Compare
ben merged commit 8ce7d6c0b0 into main 2026-09-23 20:37:48 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Matou/idss!1796
No description provided.