nitrotasks / nitro

The beautiful way to get things done.
https://nitrotasks.com
GNU Affero General Public License v3.0
518 stars 66 forks source link

Enter key should answer Yes to (task) deletion prompts #289

Open Bujiraso opened 10 years ago

Bujiraso commented 10 years ago
(Feature request)

Context: When a task is highlighted and the delete key brings up a prompt to delete it. Expected function: Enter key will answer "yes" to delete the task Actual function: Enter key expands the task in the background, behind the prompt and the dimming.

Bujiraso commented 10 years ago

Additionally, if the enter key is pressed twice after the delete key is used to bring up the prompt, and then the Yes answer is clicked, the task will not be deleted but instead will go into an error state where it does not disappear, but cannot be expanded anymore. It can be "checked" and "unchecked" -- but that's it. Upon leaving the page that you are on and returning, the item will THEN be deleted

A key to knowing if this bug will be triggered is watching the task expand and contract in the background

stayradiated commented 10 years ago

What do you think of this for keyboard shortcuts:

Bujiraso commented 10 years ago

If we're talking about the deletion prompt, itself, that sounds perfect.

stayradiated commented 10 years ago

Yep, that was for the deletion prompt.

I'll have to find out how to set up keyboard shortcuts that only work when a prompt appears.