Repository navigation
Prism ID panel: the ID first, then every choice with its reason - #94
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
identity/test.mjsforbids.Every control keeps its id and its behaviour.
frame.lockis 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 matchframe.lock.PRISM_FRAME_HOSTto a local host and opened inside Prism Foundry's sidebar: the held view, the join view and the phone width were checked by eye.validategate, which needs the digest-selected PrismPM SDK; CI runs it.🤖 Generated with Claude Code