Commit Graph
9 Commits
Author SHA1 Message Date
hzrd149andClaude Opus 4.7 9313d2e0ee Unify login dialog inputs and gate QR code behind a button
Collapses the separate "Secret Key" and "Bunker" tabs into a single
input that auto-detects nsec vs bunker:// from the pasted string. File
upload runs the same detection on file contents.

The nostrconnect QR flow is now opt-in on both platforms — no relay
subscription opens until the user clicks "Login with remote signer"
(desktop) or "Open signer app" (mobile). Mobile skips QR rendering and
deep-links to the signer once the URI is generated.

BunkerLoginPanel is renamed to LoginPanel and owns all string-based
methods plus the QR session lifecycle. LoginDialog drops its
Extension/Key/Bunker Tabs structure; SimpleLoginDialog drops the
nsec/bunker tab switcher. Both now mount LoginPanel directly with
extension login below.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
2026-05-15 10:43:57 -05:00
hzrd149andClaude Opus 4.7 0013ece013 Add nostrconnect:// QR code login for NIP-46 remote signers
Adds the client-initiated NIP-46 flow alongside the existing bunker:// paste
input. Desktop users scan a generated QR code with their signer app
(Amber, nsec.app, etc.); mobile users get an "Open signer app" deep-link
plus a /remoteloginsuccess callback page. The pasted bunker:// URI moves
into a collapsible fallback below the QR.

A shared BunkerLoginPanel component owns the session lifecycle and is
embedded in both LoginDialog and SimpleLoginDialog. The listener effect
depends only on a sessionToken and reads login/onLoggedIn/config through
refs so parent re-renders don't tear down an in-flight handshake.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
2026-05-12 16:08:38 -05:00
lemonknowsall 64c06ec430 upload key file 2025-09-25 22:03:44 -07:00
Mary Kate Fain 61254d2ee3 Increase circle size to w-40 h-40 for better emoji proportion
- Change both container and circle from w-32 h-32 to w-40 h-40 (10rem / 160px)
- Provides more generous spacing around the text-8xl emoji key
- Creates better visual balance and prevents the emoji from appearing cramped
- Applied consistently across all instances in both login and signup dialogs
- All tests passing
2025-09-21 19:15:28 -05:00
Mary Kate Fain b28f700600 Increase circle size to match larger emoji key
- Change circle from w-20 h-20 to w-32 h-32 to better accommodate text-8xl emoji
- Now the circle fills the entire container space for better visual balance
- Applied consistently across all instances in both login and signup dialogs
- Creates better proportional relationship between emoji and background circle
- All tests passing
2025-09-21 19:14:16 -05:00
Mary Kate Fain 691077d754 Increase emoji key size from text-4xl to text-8xl
- Make the 🔑 emoji 2x bigger as requested
- Applied to all instances in both SimpleLoginDialog and SimpleSignupDialog
- Creates more prominent visual focal point in the authentication flows
- All tests passing
2025-09-21 19:13:09 -05:00
Mary Kate Fain 7d0c0b6ba2 Replace key icons with emoji key in circular background
- Replace Lucide Key icons with 🔑 emoji in both login and signup dialogs
- Add circular background with primary color tint (bg-primary/10)
- Maintain consistent sizing (w-20 h-20 circle, text-4xl emoji)
- Remove unused Key import from both components
- Creates friendlier, more approachable visual design
- All tests passing
2025-09-21 19:11:22 -05:00
Mary Kate Fain d5c5132662 Prioritize account creation and key generation as default user experience
- Make signup the primary action in dropdown menu (moved above login)
- Start with key generation as default signup flow instead of extension
- Only show extension options when browser extension is detected
- Remove complex step navigation - direct to key creation for new users
- Update copy to be more welcoming for new users vs returning users
- Clean up unused imports and simplify component structure
- All tests passing
2025-09-21 19:00:39 -05:00
Mary Kate Fain ce29d036ad Replace complex Nostr login/signup modals with simpler Soapbox/Ditto-inspired design
- Created SimpleLoginDialog and SimpleSignupDialog with clean, minimal design
- Simplified step-based flow similar to Soapbox/Ditto implementation
- Reduced visual complexity while maintaining all functionality
- Updated LoginArea and NostrSettings to use new simple modals
- Updated tests to reference new components
- All tests passing
2025-09-21 18:54:53 -05:00