sourcegraph/thyme

Fix displaying of time active/visible/open for many applications

lukasnagl opened this issue · 0 comments

Description

When using a lot of applications throughout the day, the resulting time graphs can’t be displayed correctly in the given 200px of height:

timegraph

Expectation

I would have expected one of the following:

  • rows that don’t fit get cut off, because they have too little time on them
  • rows that don’t fit get accumulated as a single row as “Other”
  • the graph has enough height to fit all rows

For me personally, I would be fine with any variation where I can still read the entries.

Reproducing

Use the default way to track thyme and do a lot of context switching thoughout your work day:

watch -n 30 thyme track -o thyme.json
thyme show -i thyme.json -w stats > thyme.html