sawhney17 / logseq-automatic-linker

MIT License
87 stars 16 forks source link

After deleting a page, autolinker recreates it #36

Open Corvalan opened 1 year ago

Corvalan commented 1 year ago

I have a number of one-word title pages that are useless as tags, and I want to delete them and remove all autolinks in all pages that reference it.

If I delete the referenced page, the page is recreated as soon as I edit another page that contains that title in its text. Apparently automatic linker does not remove deleted pages from its database?

sawhney17 commented 1 year ago

I think that requires a refresh of Logseq for performance reasons. Maybe I can add something like a force refresh database through command pallets? On 14 Oct 2022, 3:11 PM +0400, Yuri @.***>, wrote:

I have a number of one-word title pages that are useless as tags, and I want to delete them and remove all autolinks in all pages that reference it. If I delete the referenced page, the page is recreated as soon as I edit another page that contains that title in its text. Apparently automatic linker does not remove deleted pages from its database? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

L0cast commented 1 year ago

To avoid such an issue, add the mentioned one-word title to the plugin exclusion list, then toggle the plugin on/off. If you sync your graph between 2 or more desktops, consider syncing the logseq-automatic-linker.json as well, as it contains all the excluded pages.