Files
CatoandClaude a91fe45f01 fix(settings): two-factor setup opens in a real dialog, the npub field is named, help options wrap (#1713)
Measured on orangecat.ch (2026-11-12, 320-390px):
- "Enable two-factor" opened a hand-rolled fixed <div>. It had no dialog role
  or name, focus stayed on the page behind it, Escape did nothing, and with
  no overflow scrolling, Cancel was below the fold of a 320px screen.
- Settings → Connected Accounts: the manual npub input had a placeholder and
  no label.
- Profile editor, "How can others help?": the option chips were `truncate`
  in a two-column grid, so half the labels ended in an ellipsis on a phone.

Now two-factor setup renders inside the shared Dialog: it is named "Two-factor
authentication", focus moves in and back, Escape closes it, and it scrolls
within max-h-[90vh]. The npub input is labelled "Your Nostr public key
(npub)". The help chips wrap inside their column and keep the 44px minimum
height.

Claude-Session: https://claude.ai/code/session_019MDtmw3MnN44QwEv4M52CS

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-13 10:10:10 +01:00
..