Open signer apps on desktop, log out remote signers via NIP-46 #135

Merged
raucao merged 2 commits from feature/remote_signers_everywhere into master 2026-11-28 15:41:54 +00:00
2 Commits
Author SHA1 Message Date
raucao f6e3bae0d1 Send a NIP-46 logout when disconnecting a remote signer
CI / Lint (pull_request) Successful in 56s
CI / Test (pull_request) Successful in 1m19s
Release Drafter / Update release notes draft (pull_request) Successful in 15s
disconnect() now clears the local state and the stored client keypair
first, then asks the remote signer to drop the session with a NIP-46
logout request (via applesauce's NostrConnectSigner.logout()). The
request is a courtesy hint, so a failure is only logged and never blocks
the local disconnect.

Extension signers still just close their connection.

Refs #125
2026-11-28 19:38:09 +04:00
raucao a6b931ec24 Open signer apps from any device and detect failed launches
Offer the nostrconnect:// link on desktop too, instead of only on mobile,
and stop calling it a mobile-only signer.

The connect modal now shows an "Open signer app" link on every device,
alongside "Copy connection link" and a "Show QR code" toggle (hidden by
default). When the link is used, watch for the signer app taking over the
page and otherwise reveal a hint pointing at the QR code and copy link.

The mobile-only auto-redirect is gone; launching now happens through the
explicit button on all platforms.

Refs #127
2026-11-28 19:24:48 +04:00