Skip to content

Prism ID panel: the ID first, then every choice with its reason - #94

Merged
humuhumu33 merged 1 commit into
mainfrom
prism-id-panel
Nov 16, 2026
Merged

humuhumu33 merged 1 commit into
mainfrom
prism-id-panel

Conversation

@humuhumu33

Copy link
Copy Markdown
Contributor

Why

The Prism ID panel is the one place a visitor meets their identity, in every Prism app. It listed seven equal rows with no reason given for any of them, and when a recovery kit was unsaved, the kit warning replaced the subtitle that says what the ID is.

What changes

  • The ID first. A card shows the short ID, a lock line ("Held only on your devices") and a copy icon. Copy confirms with a check mark and announces it.
  • One thing to do now. An unsaved recovery kit is a single bordered prompt: what it is, why it matters, why to keep it offline, and the save button.
  • Every choice grouped by why. Rows sit under Devices and Recovery. Each names what it does, with a muted line saying why you would want it, an outline icon and a chevron. Back has a left chevron.
  • Words. "Prism ID" wherever a person reads it, including the bar's button. Rows are plainer: "Add a device", "Use an ID you already have", "Recover with a kit". Instructions say "open Prism ID", not "the person icon", since an app can open this panel from its own UI (Prism Foundry does, from its sidebar). The subtitle explains the ID without the words "sign in", which identity/test.mjs forbids.

Every control keeps its id and its behaviour. frame.lock is resealed for the four changed files. Non-Prism lines shrink by 10: two long style rules are folded to one line each.

Checks

  • npm run test:identity: 16 of 16 pass, including the 8 browser-flow tests (first use, kit save, reload, linking, removal, recovery, guardian).
  • node bootstrap/frame-sync.mjs --check: 52 frame files match frame.lock.
  • Published with PRISM_FRAME_HOST to a local host and opened inside Prism Foundry's sidebar: the held view, the join view and the phone width were checked by eye.
  • Not run here: the full validate gate, which needs the digest-selected PrismPM SDK; CI runs it.

🤖 Generated with Claude Code

The panel opens on the visitor's ID in a card that says where it lives
(held only on their devices), with a copy icon. An unsaved recovery kit is
one bordered prompt that says why it matters and why to keep it offline,
instead of replacing the subtitle. The choices sit under Devices and
Recovery, and each row names what it does with a muted line saying why
you would want it, an outline icon and a chevron.

Words: "Prism ID" wherever a person reads it, including the bar's button;
plainer row names ("Add a device", "Use an ID you already have", "Recover
with a kit"); instructions say "open Prism ID" rather than "the person
icon", which apps that show the frame's panel from their own UI lack. The
subtitle explains the ID without the words "sign in", which the identity
test forbids. Every control keeps its id and behaviour.

Non-Prism lines shrink by 10: two long style rules are folded to one line
each. frame.lock is resealed for the four changed files.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@humuhumu33
humuhumu33 requested a review from afflom as a code owner November 16, 2026 16:29
@humuhumu33
humuhumu33 merged commit bc2065a into main Nov 16, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant