taskwarrior-tui icon indicating copy to clipboard operation
taskwarrior-tui copied to clipboard

Pre-fill Add task with parameters from current filter

Open traycerb opened this issue 1 year ago • 1 comments

When in a current view/report/filter, it would be nice if the task was pre-filled with some parameters from the current view. This would make it easier for newly added task to show up in the current view, with less typing.

E.g. if the current filter is selecting for +next due:9/25 then when adding a new task via a, the add task line would be prefilled with those parameters.

Since the filter can be complicated and not always unambiguous about which parameters a task will have (e.g. +next or +done), pre-filling would occur on parameters that would be unambiguous (or alternatively, all of the possible tags could be inserted and user could pare down as needed).

I think it's simple conceptually, but perhaps hard to implement, especially figuring out what to include. It's quite usable without this, but as a wishlist item, I thought it worth proposing.

traycerb avatar Sep 18 '23 00:09 traycerb

Thanks for posting! I'll have to think about how to do this (probably after the refactor).

kdheepak avatar Nov 23 '23 10:11 kdheepak