s-a / time-track

A time-tracking commandline app.
16 stars 2 forks source link

[REQUEST] Comments/Tags Feature #8

Open lustigo opened 7 years ago

lustigo commented 7 years ago

It would be awesome to have a comment or tag feature to get more into detail for what i´ve spent the time (e.g. i´m working on a project and i´m doing 1 hour for "feature xy" and .30 for "issue xy", but in total i´ve logged 1.30 in that sheet)

s-a commented 7 years ago

I like this idea. We could add a parm like tt -c "feature YX". Unfortunately I am involved in so much projects at this time. A PR would be super nice.

Currently the config files are saved as arrays so we need some extra area there to store the comments.

For example:

{
    "availableWorktimeInSeconsThisMonth": null,
    "05.04.2017 10:55:17" : "feature XY",
    "05.04.2017": [
        [
            "10:55:17",
            "10:55:35"
        ]
    ]
}

"05.04.2017 10:55:17" : "feature XY"this should be backward compatible and needs to be evaluated while running a reporter.