ProtonMail / WebClients

Monorepo hosting the proton web clients
GNU General Public License v3.0
4.37k stars 556 forks source link

Provide way to delete messages from trash (or empty trash) using keyboard shortcuts #143

Closed codesections closed 3 years ago

codesections commented 5 years ago

Is your feature request related to a problem? Please describe. Currently, it is possible to do nearly everything in Protonmail using the keyboard commands. However, it isn't possible to delete messages. (It is possible—and easy, thanks!—to move messages to the trash. But it's not possible to delete messages from the trash or to empty the trash.

This is especially annoying because, due to #142, it is possible to end up with a large number of blank drafts in the trash and to have no way to delete those trashed messages without using the mouse.

Describe the solution you'd like I would like there to be a command that empties the trash. Since this isn't used all that frequently, it would be fine for it to be a command-pallet option rather than a dedicated hot-key. (In an ideal world, there would also be a keyboard command to delete an individual message, but I view this as a lower priority).