GothenburgBitFactory / timewarrior

Timewarrior - Commandline Time Tracking and Reporting
https://timewarrior.net
MIT License
1.25k stars 94 forks source link

Support :annotations hint for timew command #615

Open ryan-carpenter opened 3 months ago

ryan-carpenter commented 3 months ago

I use tags to classify intervals and annotations to describe my activities for each interval. I want to check if a timer is running as I work, monitor the duration, and confirm that the tags and annotation are appropriate. The timew command is great for this. It's fast, easy, only shows the current interval, and provides and easy-to-read vertical output.

Checking the annotation requires timew summary plus any options wanted to filter the output. This works and is not difficult using timew summary @1 (with annotations on by default).

Even so, showing the current annotation would be a nice addition to the timew output. This could be done with the :annotations hint, and ideally, configuration to show/hide annotations by default, just like the summary report.

I imagine something like this:

> timew
Tracking my-tag
  Annotation My annotation describing what I am doing.
  Started 2024-06-12T16:15:20
  Current            17:12:36
  Total               0:57:16