GothenburgBitFactory / taskwarrior

Taskwarrior - Command line Task Management
https://taskwarrior.org
MIT License
4.42k stars 301 forks source link

[Feature] color legend per report #2167

Open AdrienLemaire opened 5 years ago

AdrienLemaire commented 5 years ago

Request

Add the color rule to reports configuration

Example

task.ready.color.due.today=blue
task.ready.color.due=

Use case

I'm sure a lot of thoughts went into the current color choices (task color legend) and for reports such as task list, that works alright.

I also found that I was able to use TaskWarrior much more efficiently once I adopted dave yarwood's Inbox zero strategy with task ready, which I set as my default command (task config default.command ready). I now have the habit of setting due and scheduled dates to all my tasks.

Now, whenever I run task, I see all my tasks in red (or orange, but the colors look very similar for me using the solarized light theme) .

I would like to override rules for this report only. Or if someone has a better suggestion, since I'm not a designer, I'd love to hear about your opinion on how to make colors more meaningful in a task inbox zero environment.

pbeckingham commented 5 years ago

So the question here is why are all the tasks red? Can you run this, and paste a screen snapshot here?

$ task color legend

It will show why the red is applied. Then we need to see why all your tasks match that color rule.

AdrienLemaire commented 5 years ago

Currently, I use the 1-3-5 method, and set different colors on tags

# 1/3/5 Method
# Use +next to set coef 15
color.tag.daily1=color7 on color5
color.tag.daily3=color7 on color9
color.tag.daily5=color7 on color3
urgency.user.tag.daily1.coefficient=40
urgency.user.tag.daily3.coefficient=20
urgency.user.tag.daily5.coefficient=10

Therefore, I do not need per-project color rules anymore. Feel free to close the issue, but it's probably still a good feature to consider.