GothenburgBitFactory / timewarrior

Timewarrior - Commandline Time Tracking and Reporting

Home Page:https://timewarrior.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Expand annotations in summary

catexis opened this issue · comments

With calling

timew summary today :annotations :ids

I got this

Wk  Date       Day ID  Tags       Annotation         Start      End    Time   Total
W25 2022-06-23 Thu @10 task129    fix phase model  8:38:27  9:04:39 0:26:12
                   @9  task129    delete view ...  9:11:03  9:17:11 0:06:08
                   @8  task129    project as r...  9:17:49  9:34:58 0:17:09
                   @7  task129    fix test for...  9:43:59  9:56:16 0:12:17
                   @6  task_daily                  9:57:35 10:23:19 0:25:44
                   @5  task129    phase list q... 10:51:03 10:57:29 0:06:26
                   @4  task112    add project ... 10:59:53 11:25:18 0:25:25
                   @3  task112    add tests fo... 11:41:34 12:06:50 0:25:16
                   @2  task112    charfilter t... 12:15:52 12:23:22 0:07:30
                   @1  timew      trying to se... 12:26:20 12:40:51 0:14:31 2:46:38
                                                                                   
                                                                            2:46:38

If annotation is long phrase - it collapsed. Expanded version i can see only with export. It will be really cool to see expanded annotation: set column size or multistring annotation.

I think Taskwarrior's pattern works well. The condensed list shows that annotations exist, in this example there are two annotations for the task:

$ task 13 list

ID Age   Description                                                              Urg 
13 11min show example Taskwarrior annotation output for Timewarrior issue 494 [2]  0.9

While the next (and IIRC default) view shows annotations on separate lines, along with the date they were added:

$ task 13 next

ID Age   Description                                                                                Urg 
13 12min show example Taskwarrior annotation output for Timewarrior issue 494                        0.9
           2022-08-02 First annotation, which could be lengthy depending on how much I have to say.
           2022-08-02 Second annotation.

Version 1.6.0-dev and onward now wrap the annotation column in the summary table.
Timewarrior - Summary Table