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

Edit a message to no content should delete the message #18684

Closed
SethFalco opened this issue Aug 22, 2021 · 1 comment
Closed

Edit a message to no content should delete the message #18684

SethFalco opened this issue Aug 22, 2021 · 1 comment

Comments

@SethFalco
Copy link

Your use case

What would you like to do?

I want to delete a message by editing its contents to be empty.

Why would you like to it?

It can be easier to delete a message by editing the message and removing all content.

For example, to delete the previous message would just be:

  • UP (edit previous message)
  • CTRL + A (select all)
  • CTRL + X / BACKSPACE / DELETE (remove the content)
  • ENTER (prompt for deletion reason)

How would you like to achieve it?

On the client-side, editing a message to have empty contents should instead leave the edit view and prompt to delete the message instead.

Have you considered any alternatives?

N/A

Additional context

The following applications have this behavior already:

  • Discord
  • Slack
  • Rocket.Chat
@SimonBrandner
Copy link
Contributor

Thank you for your report.

It seems you're not the only one to have come across this bug, as it's been reported previously - see #11024. I'm going to close this issue now so we can focus on #???. Please watch, vote or comment on #11024 if there is any additional information you can provide.

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