kdheepak / taskwarrior-tui

`taskwarrior-tui`: A terminal user interface for taskwarrior
https://kdheepak.com/taskwarrior-tui
MIT License
1.53k stars 70 forks source link

Can we create custom views? #402

Open zangman opened 2 years ago

zangman commented 2 years ago

Description

Can we create custom views and associate them with certain search filters? Something like pro:asdf +next due:tomorrow? Right now the only views I have are Tag, Project and Calendar

Solution

It doesn't necessarily have to be views, but anyway in which I can quickly cycle through different search filters that I use on a regular basis. For example (in GTD), next, daily, weekly, monthly, waiting etc.

kdheepak commented 2 years ago

I think custom views might happen after #349 but for now doesn't contexts + shortcuts resolve this?

zangman commented 2 years ago

Thanks for the quick response - yes, I'm using contexts at the moment. Didn't realize I could map them to shortcuts, that greatly alleviates the problem, thank you!

For reference, this is what I added in my ~/.taskrc:

uda.taskwarrior-tui.shortcuts.1=task context next
uda.taskwarrior-tui.shortcuts.2=task context daily
uda.taskwarrior-tui.shortcuts.3=task context weekly
uda.taskwarrior-tui.shortcuts.4=task context monthly
cloud8mike commented 1 year ago

In absence of having the ability to create completely custom views, I would find it very useful to have burndown charts added to the default views.

vigilancetech-com commented 1 year ago

I too would vote for custom views bound to the '[' and ']' keys (if for no other reason, their name would be in the menu at the top)

qadzek commented 1 year ago

I agree that this would be a very handy feature. I am using the workaround mentioned in #254 for now.