The connect modal no longer calls it a mobile-only signer, and no longer only offers the nostrconnect:// link on mobile. There is now an "Open signer app" link on every device, next to "Copy connection link" and a "Show QR code" toggle (hidden by default). After the link is used, the app watches for the signer taking over the page and otherwise reveals a hint pointing at the QR code and copy link. The mobile-only auto-redirect is gone.
Send a NIP-46 logout when disconnecting a remote signer (#125)
disconnect() 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.
pnpm lint is clean and pnpm test passes 519/519, including new integration and unit tests for both changes.
Two related remote-signer improvements.
### Open signer apps from any device (#127)
The connect modal no longer calls it a mobile-only signer, and no longer only offers the `nostrconnect://` link on mobile. There is now an "Open signer app" link on every device, next to "Copy connection link" and a "Show QR code" toggle (hidden by default). After the link is used, the app watches for the signer taking over the page and otherwise reveals a hint pointing at the QR code and copy link. The mobile-only auto-redirect is gone.
### Send a NIP-46 logout when disconnecting a remote signer (#125)
`disconnect()` 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.
Closes #127
Closes #125
### Tests
`pnpm lint` is clean and `pnpm test` passes 519/519, including new integration and unit tests for both changes.
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
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
raucao
changed title from Open signer apps on desktop and log out remote signers via NIP-46 to Open signer apps on desktop, log out remote signers via NIP-462026-11-28 15:38:49 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Two related remote-signer improvements.
Open signer apps from any device (#127)
The connect modal no longer calls it a mobile-only signer, and no longer only offers the
nostrconnect://link on mobile. There is now an "Open signer app" link on every device, next to "Copy connection link" and a "Show QR code" toggle (hidden by default). After the link is used, the app watches for the signer taking over the page and otherwise reveals a hint pointing at the QR code and copy link. The mobile-only auto-redirect is gone.Send a NIP-46 logout when disconnecting a remote signer (#125)
disconnect()clears the local state and the stored client keypair first, then asks the remote signer to drop the session with a NIP-46logoutrequest (via applesauce'sNostrConnectSigner.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.Closes #127
Closes #125
Tests
pnpm lintis clean andpnpm testpasses 519/519, including new integration and unit tests for both changes.Open signer apps on desktop and log out remote signers via NIP-46to Open signer apps on desktop, log out remote signers via NIP-46