feat: started working on category colors#254
Conversation
Codecov Report
@@ Coverage Diff @@
## master #254 +/- ##
==========================================
+ Coverage 4.43% 13.89% +9.46%
==========================================
Files 21 22 +1
Lines 969 1036 +67
Branches 94 101 +7
==========================================
+ Hits 43 144 +101
+ Misses 869 847 -22
+ Partials 57 45 -12
Continue to review full report at Codecov.
|
33a8bd8 to
37f292e
Compare
Upon page load, iterate over each category and simply set it if it's not already set? |
|
I also wrote a basic test for the categories vuex module! (after some fiddling with the test config) Should increase the code coverage somewhat, and make it easier to add more vuex tests. |
|
There are a few more things before this is ready to ship, but it's by and large done (and really great!). Merging since I also want to ship #162 in the same release and I want to rebase on top of this. Moving remaining tasks to an issue. |
Lets users set colors on categories, and uses them for various visualizations.
Closes ActivityWatch/activitywatch#416
TODO
color.jsto TypeScriptdata.colorset)Preview
Not a great deal of variety, but the basics are there (haven't done much else than work on ActivityWatch since I started the testing server...)
Update: Barchart now looks great too!