getAlby / bitcoin-connect

Connecting lightning wallets to your webapp has never been easier. Enable WebLN in all browsers with a single button
https://bitcoin-connect.com
MIT License
85 stars 30 forks source link

Go back to connect form on disconnect #173

Open ekzyis opened 8 months ago

ekzyis commented 8 months ago

As a developer, I might think that my users don't want to disconnect and not connect another wallet. They could just want to connect to a different wallet.

Therefore, I think it makes sense to give the option that on disconnect, the modal isn't fully closed but you go back to the modal where you can select wallets. This saves one extra click for such users.

https://github.com/getAlby/bitcoin-connect/assets/27162016/7bea549a-0ad7-4dc8-b729-ca3cc4e9e628

rolznz commented 8 months ago

I think we should be consistent here. @stackingsaunter do you have any thoughts?