fix(desktop): clarify identity key button when key exists - #2357
Conversation
|
button label switches to "continue with existing identity key" once a key is already loaded. |
c4c2350 to
1f52a11
Compare
Signed-off-by: Taksh <takshkothari09@gmail.com>
1f52a11 to
178adad
Compare
wesbillman
left a comment
There was a problem hiding this comment.
The behavior change makes sense: after the first successful getIdentity() call, backing out preserves selectedPubkey, and this CTA reopens the same key rather than creating another one.
Before merging, please update the existing E2E coverage in desktop/tests/e2e/onboarding-backup.spec.ts. The test at lines 80–91 currently backs out from the backup screen and explicitly expects Create a new identity key; it should instead assert the new label. That also directly covers the regression described in #2318.
Two copy suggestions:
- View existing identity key describes the immediate action more precisely than Continue with existing identity key, since the CTA opens the backup/key display again.
- The pending label should ideally be Loading identity…, not Saving identity…, because this path calls
get_identity.
|
🤖 Comment from Morgan's AI agent, reviewed by Morgan. Thanks for the fix — the back-out case is real and worth solving. But I'd suggest a different shape for the returning state, because the current copy has two problems: 1. The two buttons clash. "Continue with existing identity key" and "Use an existing key" read as near-synonyms to a fresh user. The distinction (the key this app just generated vs. a key you're bringing from elsewhere) lives entirely in our heads, not on the screen. 2. "Existing" overstates what happened. The user hasn't set up an existing identity anywhere — they just backed out one step. Copy that implies a verified prior identity promises more than the moment warrants. Proposal — reframe the returning state as continuing setup, not a key choice: Once the user has clicked through to the backup screen, the landing screen isn't really a fork anymore — they already picked a path. So when they come back:
This avoids two buttons competing over the word "existing," and "Continue setup" matches the user's actual mental state: they were mid-setup and want to keep going. One mechanical note regardless of copy direction: the existing test at |
Use Continue setup / Use a different key instead after backing out of backup, switch the pending label to Loading identity…, and assert the new labels in the onboarding-backup E2E. Signed-off-by: Taksh <takshkothari09@gmail.com> Co-authored-by: Cursor <cursoragent@cursor.com>
|
good catch — switched to continue setup / use a different key instead, loading identity… for the pending label, and updated the e2e assertion |
|
Thank you, @Chessing234! |
* origin/main: (22 commits) feat(mobile): bring message actions to desktop parity (block#3070) feat(git): use agent display name as git author name (block#3040) fix(security): enforce durable community ban on NIP-43 relay-admin kinds 9030-9033 (block#3128) chore(deps): update react monorepo to v19.2.8 (block#3064) fix(deps): bump nostr to 0.44.6 for RUSTSEC-2026-0216 (NIP-44 remote DoS) (block#3135) docs(contributing): set PR expectations and require UI screenshots (block#3140) fix(desktop): read the newest pair-scoped harness log (block#3134) fix(security): authorize kind:9000 role changes in both directions (block#3017) feat(desktop): handle project work from Inbox (block#3117) fix(desktop): clarify identity key button when key exists (block#2357) Restore Goose and Buzz Agent to onboarding harness selection (block#2731) fix(mobile): mitigate message-post delay with optimistic rendering (block#3037) fix(desktop): render rich project work item content (block#3100) chore(deps): update radix-ui-primitives monorepo (block#3063) chore(deps): update dependency @tanstack/react-virtual to v3.14.8 (block#3057) feat(acp): bring your own harness (BYOH) — generic ACP runtime seam + settings gallery (block#2773) feat(desktop): use collective mesh routing for Auto (block#2825) fix(desktop): strip legacy baked team instructions from stored prompts (block#3035) Refine mobile community switching and discovery (block#2967) feat(agents): lower default agent parallelism from 24 to 10 (block#3038) ...
* origin/main: feat(desktop): add search to agent emoji picker (#2630) fix(desktop): keep identity key help dialog readable in dark mode (#2854) feat(acp): title agent sessions from the agent and channel name (#3028) feat(mobile): bring message actions to desktop parity (#3070) feat(git): use agent display name as git author name (#3040) fix(security): enforce durable community ban on NIP-43 relay-admin kinds 9030-9033 (#3128) chore(deps): update react monorepo to v19.2.8 (#3064) fix(deps): bump nostr to 0.44.6 for RUSTSEC-2026-0216 (NIP-44 remote DoS) (#3135) docs(contributing): set PR expectations and require UI screenshots (#3140) fix(desktop): read the newest pair-scoped harness log (#3134) fix(security): authorize kind:9000 role changes in both directions (#3017) feat(desktop): handle project work from Inbox (#3117) fix(desktop): clarify identity key button when key exists (#2357) Restore Goose and Buzz Agent to onboarding harness selection (#2731) fix(mobile): mitigate message-post delay with optimistic rendering (#3037) fix(desktop): render rich project work item content (#3100) chore(deps): update radix-ui-primitives monorepo (#3063) chore(deps): update dependency @tanstack/react-virtual to v3.14.8 (#3057) Signed-off-by: npub1223z34hd7vtwc6qj4s7flsxkj644nlre2nthu7lrrmkumhu3xddsrx9r6w <52a228d6edf316ec6812ac3c9fc0d696ab59fc7954d77e7be31eedcddf91335b@buzz.block.builderlab.xyz>
* origin/main: (102 commits) chore(desktop): add AgentCreationPreview file-size override to unblock main CI (block#3154) fix(cli,relay): resolve agents by verified owner (block#2615) fix(desktop): make the test loader work on Windows (block#2758) fix(desktop): make lint and unit-test gates work on Windows (block#2943) feat(mobile): refactor Activity behavior and ui (block#2889) feat(desktop): add search to agent emoji picker (block#2630) fix(desktop): keep identity key help dialog readable in dark mode (block#2854) feat(acp): title agent sessions from the agent and channel name (block#3028) feat(mobile): bring message actions to desktop parity (block#3070) feat(git): use agent display name as git author name (block#3040) fix(security): enforce durable community ban on NIP-43 relay-admin kinds 9030-9033 (block#3128) chore(deps): update react monorepo to v19.2.8 (block#3064) fix(deps): bump nostr to 0.44.6 for RUSTSEC-2026-0216 (NIP-44 remote DoS) (block#3135) docs(contributing): set PR expectations and require UI screenshots (block#3140) fix(desktop): read the newest pair-scoped harness log (block#3134) fix(security): authorize kind:9000 role changes in both directions (block#3017) feat(desktop): handle project work from Inbox (block#3117) fix(desktop): clarify identity key button when key exists (block#2357) Restore Goose and Buzz Agent to onboarding harness selection (block#2731) fix(mobile): mitigate message-post delay with optimistic rendering (block#3037) ...
* origin/main: (102 commits) chore(desktop): add AgentCreationPreview file-size override to unblock main CI (block#3154) fix(cli,relay): resolve agents by verified owner (block#2615) fix(desktop): make the test loader work on Windows (block#2758) fix(desktop): make lint and unit-test gates work on Windows (block#2943) feat(mobile): refactor Activity behavior and ui (block#2889) feat(desktop): add search to agent emoji picker (block#2630) fix(desktop): keep identity key help dialog readable in dark mode (block#2854) feat(acp): title agent sessions from the agent and channel name (block#3028) feat(mobile): bring message actions to desktop parity (block#3070) feat(git): use agent display name as git author name (block#3040) fix(security): enforce durable community ban on NIP-43 relay-admin kinds 9030-9033 (block#3128) chore(deps): update react monorepo to v19.2.8 (block#3064) fix(deps): bump nostr to 0.44.6 for RUSTSEC-2026-0216 (NIP-44 remote DoS) (block#3135) docs(contributing): set PR expectations and require UI screenshots (block#3140) fix(desktop): read the newest pair-scoped harness log (block#3134) fix(security): authorize kind:9000 role changes in both directions (block#3017) feat(desktop): handle project work from Inbox (block#3117) fix(desktop): clarify identity key button when key exists (block#2357) Restore Goose and Buzz Agent to onboarding harness selection (block#2731) fix(mobile): mitigate message-post delay with optimistic rendering (block#3037) ...
* origin/main: (22 commits) chore(desktop): add AgentCreationPreview file-size override to unblock main CI (block#3154) fix(cli,relay): resolve agents by verified owner (block#2615) fix(desktop): make the test loader work on Windows (block#2758) fix(desktop): make lint and unit-test gates work on Windows (block#2943) feat(mobile): refactor Activity behavior and ui (block#2889) feat(desktop): add search to agent emoji picker (block#2630) fix(desktop): keep identity key help dialog readable in dark mode (block#2854) feat(acp): title agent sessions from the agent and channel name (block#3028) feat(mobile): bring message actions to desktop parity (block#3070) feat(git): use agent display name as git author name (block#3040) fix(security): enforce durable community ban on NIP-43 relay-admin kinds 9030-9033 (block#3128) chore(deps): update react monorepo to v19.2.8 (block#3064) fix(deps): bump nostr to 0.44.6 for RUSTSEC-2026-0216 (NIP-44 remote DoS) (block#3135) docs(contributing): set PR expectations and require UI screenshots (block#3140) fix(desktop): read the newest pair-scoped harness log (block#3134) fix(security): authorize kind:9000 role changes in both directions (block#3017) feat(desktop): handle project work from Inbox (block#3117) fix(desktop): clarify identity key button when key exists (block#2357) Restore Goose and Buzz Agent to onboarding harness selection (block#2731) fix(mobile): mitigate message-post delay with optimistic rendering (block#3037) ...
* origin/main: (22 commits) chore(desktop): add AgentCreationPreview file-size override to unblock main CI (block#3154) fix(cli,relay): resolve agents by verified owner (block#2615) fix(desktop): make the test loader work on Windows (block#2758) fix(desktop): make lint and unit-test gates work on Windows (block#2943) feat(mobile): refactor Activity behavior and ui (block#2889) feat(desktop): add search to agent emoji picker (block#2630) fix(desktop): keep identity key help dialog readable in dark mode (block#2854) feat(acp): title agent sessions from the agent and channel name (block#3028) feat(mobile): bring message actions to desktop parity (block#3070) feat(git): use agent display name as git author name (block#3040) fix(security): enforce durable community ban on NIP-43 relay-admin kinds 9030-9033 (block#3128) chore(deps): update react monorepo to v19.2.8 (block#3064) fix(deps): bump nostr to 0.44.6 for RUSTSEC-2026-0216 (NIP-44 remote DoS) (block#3135) docs(contributing): set PR expectations and require UI screenshots (block#3140) fix(desktop): read the newest pair-scoped harness log (block#3134) fix(security): authorize kind:9000 role changes in both directions (block#3017) feat(desktop): handle project work from Inbox (block#3117) fix(desktop): clarify identity key button when key exists (block#2357) Restore Goose and Buzz Agent to onboarding harness selection (block#2731) fix(mobile): mitigate message-post delay with optimistic rendering (block#3037) ...
Summary
Closes #2318
Test plan
Made with Cursor