YukiGasai / obsidian-google-tasks

Add Google Tasks inside Obsidian
GNU General Public License v3.0
135 stars 9 forks source link

Clicking done does not work with checklist plugin #16

Open joelem opened 1 year ago

joelem commented 1 year ago

Hi, I just started exploring this plug in (and the calendar one) and I love them, they have helped transform obsidian into my task manager, thank you so much. There is one issue however. When I insert the list of google tasks into a note and click done on an item, it syncs back to google tasks. However, if I instead show the list through the checklist plugin (which simply collects todo lists) and click done on a task from the checklist pane, the task in the note itself also gets checked as done, but this does not sync back up to google. It seems the syncing requires a direct click on the task in the note, it would be great if it could sync clicks done through other plugins, but I dont know if this is possible or besides the point for this plug in. Figured I would highlight this behavior just in case.

YukiGasai commented 1 year ago

Hi, I don't believe this is possible right now. To work, the comment has to be visible on the DOM next to the button. The function is an on click handler that simply checks for the comment and if it finds an ID it updates the status. We can keep this issue open, because I am planing on changing this.