taskwarrior-tui
taskwarrior-tui copied to clipboard
Implement "redo"
Description
Given most commands that run on selected tasks require no confirmation from the user, it is easy to make mistakes as a user in a TUI. "undo" is an essential great feature, thanks for having implemented it in the UI. When I "undo" selected tasks it does the undo one-by-one, which might seem counter-intutive first, I understand why this is a better decision internally, thanks for considering doing the operations granularly inside. Since there is a history log of all actions scoped to each task, could we extend the history log to allow for "redo" ?
This will make the UX more error-prone since there is no confirmation step on doing "wrong actions on multiple selections at once" or "hitting the wrong keyboard shortcut scenario".
Solution
r - default keyboard shortcut for redo
Great idea! This has been something on my mind and something I'd like to tackle but practically it won't happen until a refactor is done #521. The main issue is I need to clean up + write more tests before adding a lot more features that I'd like to add :) but haven't been able to find the time to do it (been yak shaving a lot).
I'll keep this issue open to track this feature.