SebastianMC / obsidian-custom-sort

Take full control over the order and sorting of folders and notes in File Explorer in Obsidian
GNU General Public License v3.0
255 stars 19 forks source link

API-based integration with `obsidian-icon-folder` plugin #65

Open SebastianMC opened 1 year ago

SebastianMC commented 1 year ago

Under #60 the basic integration with obsidian-icon-folder plugin was introduced. The connection between the plugins is based on direct access to internal data of the obsidian-icon-folder plugin. That's a reason why the integration is limited: only icons configured directly on folders and files are considered, ignoring the inherited or regexp-applied icons. Also, such kind of integration introduces a tight-coupling: if the obsidian-icon-folder plugin changes its internal data structures, the integration will no longer work.

To address this long term an explicit request to the author of obsidian-icon-folder was supplied:

If the above ticket is completed, the integration can be switched to be API-based, and in result:

replete commented 1 year ago

I just wanted to say that I've had no conflicts between with your plugin and obsidian-icon-folders.

I've had problems with obsidian-icon-folders losing my icon assignments unexpectedly. It's happened a few times and I'm expecting it to happen again with some other plugin update. If/when your plugin supports setting icons by sortspec, I will definitely switch over because its such a waste of time re-assigning icons.

Great work on this plugin.