Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add annotations with timew track #327

Open
tjaartvdwalt opened this issue May 20, 2020 · 6 comments
Open

Add annotations with timew track #327

tjaartvdwalt opened this issue May 20, 2020 · 6 comments
Labels
discussion Discussion on a topic enhancement New feature or request

Comments

@tjaartvdwalt
Copy link

tjaartvdwalt commented May 20, 2020

I record my time using the timew track command, and I use annotations for recording descriptions.

Currently, I run a command similar to this:

timew track interval tags && timew annotate @1 annotation

This can be error prone. If I am backdating an interval, I need to look up its id, in order to add an annotation to it.

It would be nice to have a command line switch, maybe -a or --annotate, so that I could write the command above as:

timew track -a annotation interval tags
@lauft lauft added discussion Discussion on a topic enhancement New feature or request labels May 22, 2020
@lauft
Copy link
Member

lauft commented May 25, 2020

Good idea, but something like

timew track <range> <tag>... :annotation:"This is an annotation"

would be more "Timewarrior/Taskwarrior style".

@sruffell
Copy link
Contributor

sruffell commented Jul 24, 2020

This is somewhat related to #327 in that timewarrior would like to add a new hint, and 'hopefully' nobody is using 'annotation' as a current tag (maybe related to #348)

Along the same lines, would it be useful to allow :tag:"today" to force a tag that might otherwise be interpreted as part of a date specification?

@lauft
Copy link
Member

lauft commented Aug 19, 2020

In #68 there is another proposal for adding annotations along with other commands. Here, the annotation is separated by --:

timew track 08:00 - 09:00 JABBERWOCKY -- 'Twas brillig, and the slithy toves
timew continue @X 09:00 - 10:00 -- Beware the Jabberwock, my son!
timew start 10:00  JABBERWOCKY -- He took his vorpal sword in hand
timew stop 12:00 JABBERWOCKY -- And as in uffish thought he stood

With #365, I guess there is some consolidation to do... 🤔

@sruffell
Copy link
Contributor

sruffell commented Dec 3, 2021

I find myself increasingly wanting this feature.

I like having the annotation separated by --, but I also think having an :annotation hint is very consistent with the rest of timewarrior.

I think I'll implement :annotation to start, and there would be nothing to prevent the annotation from being added with -- at a later date?

Anyone see any issues with this?

@beuerle
Copy link

beuerle commented Dec 8, 2022

any update on that?

@sruffell
Copy link
Contributor

sruffell commented Dec 8, 2022

any update on that?

:/ Sorry, no updates. I haven't made the time to work on this. If you're looking to pick it up, feel free. You won't step on my toes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion Discussion on a topic enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants