Skip to content
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

Editing a message to contain nothing should delete the message #14990

Closed
TR-SLimey opened this issue Aug 17, 2020 · 1 comment
Closed

Editing a message to contain nothing should delete the message #14990

TR-SLimey opened this issue Aug 17, 2020 · 1 comment

Comments

@TR-SLimey
Copy link
Contributor

Is your suggestion related to a problem? Please describe.
I often find it much quicker to press ArrowUp + CTRL+A + Backspace + Enter than to move my mouse all the way to the delete button on a message, so I was disappointed to find out that Element actually changes its behaviour from send to insert new line when the edit field is empty. This is kind of confusing (the behaviour shouldn't change at least), but also could be used better.

Describe the solution you'd like
Since editing a message to be empty is basically an attempt at redacting it, Element should automatically redact any message which is edited to be empty. There could still be a confirmation box as is shown when redacting a message in the usual way, with confirm focused by default, in order to ensure that this is not done accidentally by pressing enter while re-writing a message. I think this would not only be quicker but also make Element more usable with just a keyboard.

Describe alternatives you've considered
None really. There could be (already is?) a dedicated shortcut, but that's another shortcut to memorise, over something quite intuitive imo.

@t3chguy
Copy link
Member

t3chguy commented Aug 18, 2020

Duplicate of #11024

@t3chguy t3chguy marked this as a duplicate of #11024 Aug 18, 2020
@t3chguy t3chguy closed this as completed Aug 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants