ras0q / obsidian-graph-banner

An Obsidian plugin to display a relation graph view on the note header.
MIT License
41 stars 0 forks source link

Lost Sync Graph Settings with 1.3.2 #77

Closed Kristof-h closed 2 weeks ago

Kristof-h commented 3 weeks ago

Auto Sync option seems not to work anymore. For example Groups colors doesn't apply anymore to the banner graphs. This feature was working before update.

Thanks for this great and useful plugin !

Kristof-h commented 3 weeks ago

I just noticed that two settings gears are now in the Graph Banner Window. The above one has wrong settings. The under one has the right setting but the do not apply to the displayed graph. graph-banner-bug

ras0q commented 3 weeks ago

Has it been fixed by trying to restart the application, reinstall the plugin, etc.? The process has been changed considerably and may conflict with the behavior of previous versions.

Kristof-h commented 3 weeks ago

I just reinstalled the plugin and restarted the application and still Auto Sync feature does not work anymore and groups are empty in banner graphs whereas in the graphic view i have several groups / colors available.

Again, thanks for your help in fixing this and this plugin is really a great tool. Thanks for developing it !

ras0q commented 2 weeks ago

I found the cause. In previous versions, this plugin used the local graphs on the hidden leaves(tabs), but since v1.3.2, the leaves is removed and only the graph is used.

This is why Sync Graph Settings plugin cannot sync settings between graph banners and other graphs. Ref: https://github.com/Xallt/sync-graph-settings/blob/9b57bae68b1afe3589aa42323cd2bfcafb0520c5/main.ts#L125-L132

To solve this, I need to revert the utilization of local graphs or implement something like Sync Graph Settings plugin additionally...

ras0q commented 2 weeks ago

In v1.4.1, a few milliseconds delay setting was added to the synchronization of graph settings!

Kristof-h commented 2 weeks ago

Great, it works fine! Thanks for your reactivity and for this great and useful module 👍🏻