mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-05 08:23:34 +00:00
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]>