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

Taskwarrior hook script doesn't start recording new active task #16

Open
ChargingBulle opened this issue Sep 12, 2019 · 1 comment
Open
Labels
enhancement New feature or request

Comments

@ChargingBulle
Copy link

ChargingBulle commented Sep 12, 2019

When running the following:

task add start:now Do the thing

one expects that this a) creates the task and b) starts the recording.
But instead it just creates the task and doesn't start the recording.

This is due to the hook script only being called when a task is modified but not when a task is created. Related: #17.

Please be aware that the following is also possible and in my personal workflow quite common:

task add start:-30min Do the thing

Thanks for your continuing effort to deliver great cli-based to do manager.

@lauft
Copy link
Member

lauft commented Nov 5, 2019

First step would be to provide a on-add.timewarrior hook (as there is for on-modify) which would parse the on-add event and trigger the appropriate timew commands.

Next step could then be to merge those two hooks into a single script if feasible...

@lauft lauft added the enhancement New feature or request label Nov 5, 2019
@lauft lauft transferred this issue from GothenburgBitFactory/timewarrior Apr 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants