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

[Bug] Mark as done not syncing from vikunja #10

Closed
3m0W33D opened this issue Jul 21, 2024 · 3 comments
Closed

[Bug] Mark as done not syncing from vikunja #10

3m0W33D opened this issue Jul 21, 2024 · 3 comments

Comments

@3m0W33D
Copy link

3m0W33D commented Jul 21, 2024

Manual Sync
I have an issue when marking a tasks completed on vikunja, and performing a sync, it priorities obsidian, causing the task to be unset on vikunja. Not sure if this is the intended behaviour.

Sync on startup
I have read that if no changes are done to the markdown, the updated tasks are pulled from vikunja. However, this does not work for me.
When this option is enabled and obsidian is started, vikunja fails to recognize the daily notes plugin and gives me this error.
image
I have to manually perform a dependency check for the plugin to start working again.

Essentially, I am unable to pull any tasks marked as completed from vikunja unless I delete my whole list of tasks, and perform a sync again.

P.S Thanks for taking the time and effort to make this plugin it is really useful for my use case and I am really glad that someone has developed this. Cheers!

@Heiss
Copy link
Owner

Heiss commented Jul 22, 2024

Hey. thank you for your issue.

The second one can be replicated on my side. Sync on startup is related on the dependency check you mentioned. So if there is a plugin not loaded, the sync aborts. So this should be the reason, why sync on startup does not work as expected.

The first one is not intended... Currently the updated timestamp for obsidian is pretty silly and is equal with the containing file modified date. So if anything changes the file (e.g. your sync program) or its content, all tasks within this file will be updated via the plugin to vikunja, regardless if one task was updated or a line of text in this file or any program touches the file without any changes. In a future release i want to implement a real caching solution, which tracks updated date on per-tasks.

I try to keep my progression report in the todo issue #9

So feel free to report any flaws. :)

@3m0W33D
Copy link
Author

3m0W33D commented Jul 23, 2024

Hey thanks for answer, good to hear that it wasn't just me misunderstanding how the plugin worked or simply me going crazy cause my setup isn't working 😂. Glad to hear that you are continuing to develop this.

@Heiss
Copy link
Owner

Heiss commented Aug 1, 2024

hey,

the new version 1.0.12 implements the cache. I tested it in my use case, but more testing is highly appreciated.
Sadly, there is a bug with labels. It creates the same tag SOMETIMES multiple times. This bug exists already in previous versions. So this is not new, but i thought i fixed it twice... But i hope, i got it fixed in the next version in a way, that it will be fixed by itself on a sync.

Feel free to comment in #13 or reopen this issue. I close this issue for now.

@Heiss Heiss closed this as completed Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants