obsidian-filename-heading-sync icon indicating copy to clipboard operation
obsidian-filename-heading-sync copied to clipboard

Issues when interacting with other plugins

Open chrisgrieser opened this issue 4 years ago • 4 comments
trafficstars

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.

chrisgrieser avatar Aug 10 '21 03:08 chrisgrieser

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

dvcrn avatar Aug 10 '21 03:08 dvcrn

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
---

chrisgrieser avatar Aug 10 '21 04:08 chrisgrieser

I opened a corresponding issue at the longform plugin for this.

chrisgrieser avatar Aug 10 '21 04:08 chrisgrieser

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.

adxsoft avatar Aug 22 '21 07:08 adxsoft