royxue / obsidian-things3-sync

A Obsidian Plugin For Things3 Sync
GNU General Public License v3.0
81 stars 10 forks source link

Sends the task to Things but 95% of the time doesn't create a link #2

Closed huyz closed 2 years ago

huyz commented 2 years ago

At some point I saw that the plugin was able to create a markdown link to the task in Things. But now for some reason, I can't get that link to appear. The task gets created in Things, but the current checklist item doesn't get wrapped in a markdown link.

Any ideas?

royxue commented 2 years ago

@huyz Could you share some screenshot(maybe) of the created todo in things?

By design, the created todo with be attached with a reference link back to the obsidian file.

huyz commented 2 years ago

screenshot 2022-10-24T105935Z But no reference link in Obsidian: screenshot 2022-10-24T105946Z

It's probably some conflict with another plugin, but no idea which (I don't use Obsidian Web like https://github.com/royxue/obsidian-things3-sync/issues/1).

I also use vim keybindings

royxue commented 2 years ago

@huyz Yep, current version of this plugin, only support create todo from text, it didnt support create from an existed obsidian todo now.

Sorry for the inconvenience. I will add support of this feature from next release.

huyz commented 2 years ago

Oh, but when I try:

it doesn't work either.

royxue commented 2 years ago

This is weird. So the text could be transferred as an Obsidian todo, but without the link?

huyz commented 2 years ago

Yeah. I was able to get a link once or twice. But now I can't get one no matter what I do. Restarting Obsidian didn't help.

royxue commented 2 years ago

I tried to reproduce your situation, but it seems always work for me. could you help trying reinstall the plugin, like remove the folder in /plugins, and copy a new one there

royxue commented 2 years ago

@huyz did you still face this problem?

huyz commented 2 years ago

@royxue Yes it's still happening. But I just tried in the sandbox and it works on a text line. So it must be a conflict with one of many other plugins. I need to test further

huyz commented 2 years ago

The no-longer-supported plugin https://github.com/gavinmn/obsidian-things-link doesn't have that conflict problem. Also it works whether text, heading, or list item. Maybe you could check out their code and see how they do it?

I prefer your plugin because it can actually sync the toggle.

royxue commented 2 years ago

@huyz Just add a new release as 1.0.2 Could you try that version

huyz commented 2 years ago

Yes! it mostly works now. There may be other issues, but I'll file separate ones...