obsidian-filename-heading-sync
obsidian-filename-heading-sync copied to clipboard
Issues when interacting with other plugins
I love this small but nifty plugin, but I think it should keep track of other plugins that it might break. when not adding Kanbans by the Kanban Plugin to the ignored list, the Kanbans will break. And I think it also breaks the index file of the new Longform plugin, but I am not totally certain about that.
It's hard for me to maintain a compatibility list with all the different plugins that exist.
We could do something community maintained but this relies on pull requests and people coming forth to submit fixes
Yeah, keeping up with all plugins will be much.
Well, I do not really have the knowledge to submit fixes, but I do not mind reporting plugins that do not interact well with this plugin.
The Kanban-Notes and the Longform-Index-Files have characteristic properties in the yaml-header, so it should be possible to scan for those things, right?
The Kanban notes all contain this line in the yaml header
kanban-plugin: basic
The longform Index file has no unique item in the yaml header, but I think it's still distinct due to all the mentionings of scenes and stuff. You could also maybe wait until the dev maybe implements a unique yaml item.
---
version: 1
drafts:
- name: first
folder: first
scenes:
- Abstract
- Prior Research
- Introduction
- Conclusion
- name: second
folder: second
scenes:
- Abstract
---
I opened a corresponding issue at the longform plugin for this.
It also breaks Buttons plugin replace action which modifies the note its in. I am sure it is a timing issue. One way around this would be for this plugin to allow manual syncing as an option. In this way the user chooses when to sync the file name and heading. Am adding a feature request.