Introduce a (vert short) delay in the confirmation dialog before enabling encryption in rooms #1713
augusto-herrmann
started this conversation in
Ideas
Replies: 1 comment 3 replies
-
Which client doesn't do this? I suggest opening an issue on their tracker @augusto-herrmann |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Enabling encryption in rooms cannot be undone. Any sensible UI should make sure the user is well informed and ask confirmation before applying any action that cannot be undone.
Currently, clients do explain that the process is reversible in a modal dialog that prompts for confirmation. However, the button can be clicked immediately as the dialog appears. If someone accidentally double-clicks (or double taps on mobile), they could easily encrypt a room by accident.
Use case
Many people use Element for integrating via a bot bridge to other chat-based communities (e.g. Slack, Discord, Telegram, etc.) and having access to those communities using a free and open source app (namely, Element) instead of the closed proprietary ones.
The problem is that bot bridges usually require the room to be (and remain) unencrypted. When any user on the Matrix room can just permanently enable encryption by just clicking a button, sometimes by accident, without requiring any sort of confirmation, it will just break the bridge bot integration. Therefore making the room useless, requiring extra work for creating a new room and rebuilding the bridge bot integration all over again, not to mention that everyone accessing that external community from Matrix has to leave the now useless encrypted room and rejoin the new unencrypted room.
Proposal
Introduce a very small delay (one second would be enough) between the moment when the modal dialog is displayed and the moment the confirmation button becomes available.
Rationale
A delay of one second should not bother users who are sure of what they want to do, as they usually will take at least one second to activate the confirm anyway.
On the other hand, a delay of even one second will prevent unwanted activation when someone double taps the screen by accident – some may not have excellent motor skills and in mobile the confirmation button usually appears on the exact same position on the screen as the "encrypt room" button. It also does not help that the "encrypt room" button is the first option on the room properties screen and appears right in the middle. Not a good UI positioning choice for something irreversible.
Note: Edited in 5 June 2023 to reformulate the proposal.
Beta Was this translation helpful? Give feedback.
All reactions