Open taskwarrior opened 6 years ago
Migrated metadata:
Created: 2014-07-01T22:39:23Z
Modified: 2014-12-28T04:24:28Z
Paul Beckingham on 2014-12-28T04:24:28Z says:
Current thinking: A rules DSL, a separate configuration file, and rules that affect not only colorization, but other aspects. Something like:
rule: <condition> --> <action>
This allows simple rules like this, that replace the existing color rules:
rule: urgency >= 10.0 --> color red
rule: priority == H --> color green
The immediate thought is that such a system requires multiple expressions to be evaluated in order to render a single task, and this would be slow. But machines get faster, and this would be cpu-bound, having read data from disk, which tends to dwarf processing time.
Paul Beckingham on 2014-07-01T22:39:23Z says:
This issue unifies related issues which share a common theme of a new color rule system with more flexible conditions and user-defined rules.