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

💡 [FEAT] Save task status changes to data file immediately on change #196

Closed
silentjay opened this issue Oct 18, 2024 · 4 comments
Closed
Labels
enhancement New feature or request

Comments

@silentjay
Copy link

I've written a little script to extract tasks from the yaml data file to a text file which is then in turn read by conky so I have a constant transparent task list on my desktop. Works great to keep me on track when i'm not in the terminal. The only issue is that dooit doesn't save changes to a tasks status until another action action is performed e.g. adding or deleting a separate task, so updates to my tasks status in conky won't show immediately.

Is there any chance that task status changes are saved immediately to the data file?

@silentjay silentjay added the enhancement New feature or request label Oct 18, 2024
@silentjay silentjay changed the title 💡 [FEAT] Save task STATUS updates on change to data file 💡 [FEAT] Save task status changes to data file immediately on change Oct 18, 2024
@kraanzu
Copy link
Member

kraanzu commented Nov 10, 2024

Hi, it was weird behavior. It should be ok with the newer version.
You should check out backend docs

Also, I'll be happy to assist you if you need anything for the script. I'll close this issue for now, if you need any help, feel free to open a discussion :)

@kraanzu kraanzu closed this as completed Nov 10, 2024
Copy link

Did we solve your problem?
Glad we could help!

Consider sponsoring my work through github sponsors 😄
@kraanzu

@silentjay
Copy link
Author

Thanks had a quick play around with the new version, looks good. To configure dooit using the new API is this code now placed in the previous config file? The docs don't mention this.

I've reverted back to 2.2.0 for now until I have time to sort the config out and update my script to get the todos from the new API instead of direct from the previous versions YAML file.

@kraanzu
Copy link
Member

kraanzu commented Nov 10, 2024

Oh True, I did add a flag. I'll update this. Thank you

Edit: Updated

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