-
Notifications
You must be signed in to change notification settings - Fork 78
-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dApp Tx sign dialogs - clicking outside of dialog should not close the dialog #16327
Comments
CC @alexjba Gonna do the same for the Swap sign dialog unless you guys @Khushboo-dev-cpp @dlipicar object |
@benjthayer WDYT if we try to activate the app as well whenever this popup shows up? It has an expiry date and we'll need the user attention when a sign is requested. |
Great idea actually; won't work on Linux though as the policies prevent you from stealing the focus but why not :) |
Hey @alexjba , as discussed on the user stories call, perhaps we show an OS notification when there is a sign request - which, when clicked, refocuses the app. I think that's where we landed - correct me if I'm wrong. I can add this to the flows, but do you want to check feasibility first from an implementation perspective? |
- show countdown until which the sign (WalletConnect and Swap) dialogs expire - after expiration, hide the Reject/Sign buttons and display a plain Close button - make the dialogs non-closable by clicking outside or pressing Esc; the user has to explicitely click some of the footer buttons Fixes #16327 Fixes #16314
- show countdown until which the sign (WalletConnect and Swap) dialogs expire - after expiration, hide the Reject/Sign buttons and display a plain Close button - make the dialogs non-closable by clicking outside or pressing Esc; the user has to explicitely click some of the footer buttons Fixes #16327 Fixes #16314
- show countdown until which the sign (WalletConnect and Swap) dialogs expire - after expiration, hide the Reject/Sign buttons and display a plain Close button - make the dialogs non-closable by clicking outside or pressing Esc; the user has to explicitely click some of the footer buttons Fixes #16327 Fixes #16314
SIWE / Tx dialogs issued via WalletConnect for signing inside Status should not be dismissible by clicking outside of the dialog.
Accidentally dismissing the dialog in this way cannot be construed as an explicity rejection of the sign event and leads to ambiguity about what should be done with the dApp request.
Eventually, the user should be able to click the [X] icon button top right of the dialog to dismiss the request - but this should only be implemented when the user can re-launch the sign request dialog via the corresponding notification centre item. Until the notification centre items are implemented, it may be safer to remove the close [X] as well as the ability to click outside of the sign dialog to dismiss it - this way, the user must make an explicit in-the-moment call to reject or sign the sign request.
We should apply this logic/behaviour to all Signing dialogs - even those initiated from inside Status via Send/Swap/Bridge etc for consistency.
cc @caybro
The text was updated successfully, but these errors were encountered: