Repository navigation
Commit ef42656
fix(desktop): align hosted create/onboarding identity rows with bound key
The create-flow and onboarding siblings of the hosted-communities
settings card keyed their mismatch gates and recovery actions on the
bound pubkey_hex yet rendered their identity rows from the server-sent
npub, so a response whose npub spelled a different (individually valid)
key displayed one identity while the gate and every recovery action
acted on another.
Derive both rows from the authoritative fields via canonicalNpub —
the account row from the bound pubkey_hex, the device row from the
local key — and render the neutral label when a hex is unusable, never
the unverified npub spelling or raw hex (follow-up on #7489).
Browser specs drive the real surfaces end to end: the create flow
asserts the bound key's npub and the neutral-label fallback for an
unusable hex, the settings card asserts mismatch, connected,
consistent, and unusable states through its real providers (carrying
over the coverage of the deleted card-mounted renderer harness), and
the first-community owner onboarding test asserts the authoritative
rows under a contradictory hosted npub.
Co-authored-by: Larry <627498bd4bd1f281a16431e3c6cce3b5c25b6692798c78672298aefbf2f8f8b5@buzz.block.builderlab.xyz>
Signed-off-by: Logan Johnson <[email protected]>1 parent ec7d7d3 commit ef42656
6 files changed
Lines changed: 211 additions & 342 deletions
File tree
- desktop
- src/features
- communities/ui
- settings/ui
- tests/e2e
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
157 | | - | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
158 | 165 | | |
159 | 166 | | |
160 | 167 | | |
| |||
343 | 350 | | |
344 | 351 | | |
345 | 352 | | |
346 | | - | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
347 | 356 | | |
348 | | - | |
| 357 | + | |
349 | 358 | | |
350 | 359 | | |
351 | 360 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
205 | | - | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
206 | 213 | | |
207 | 214 | | |
208 | 215 | | |
| |||
543 | 550 | | |
544 | 551 | | |
545 | 552 | | |
546 | | - | |
| 553 | + | |
547 | 554 | | |
548 | | - | |
| 555 | + | |
549 | 556 | | |
550 | 557 | | |
551 | 558 | | |
| |||
0 commit comments