We currently use some randomly generated colors in the web UI, it would be nice to have them actually mean something significant.
Similarly to how GitHub has colors for tags, we could add colors to categorization rules which gives categorized events the color in it's $color data key, which visualizations can then use.
I'm suggesting:
- That categorization rules can have a color.
- That the categorization rule color gets assigned to events with that category by setting the
$color key.
- Unsure if good solution: If a categorization rule doesn't have a color it inherits the parent category color (potentially +random noise to slightly differentiate). If none of the parents have a color, it will set
$color to null/None.
Not a priority, but I've had this in the back of my mind for a long time and finally realized it would be neat to do this using categories.
Similar changes, but for productivity: ActivityWatch/aw-webui#162
This is a requested feature on the forum: https://forum.activitywatch.net/t/add-percentage-or-improve-colorizing-for-better-visualization/981
We currently use some
randomly generatedcolors in the web UI, it would be nice to have them actually mean something significant.Similarly to how GitHub has colors for tags, we could add colors to categorization rules which gives categorized events the color in it's
$colordata key, which visualizations can then use.I'm suggesting:
$colorkey.$colortonull/None.Not a priority, but I've had this in the back of my mind for a long time and finally realized it would be neat to do this using categories.
Similar changes, but for productivity: ActivityWatch/aw-webui#162
This is a requested feature on the forum: https://forum.activitywatch.net/t/add-percentage-or-improve-colorizing-for-better-visualization/981