obsidian-front-matter-title icon indicating copy to clipboard operation
obsidian-front-matter-title copied to clipboard

FR: working with Folder Notes

Open Cammagno opened this issue 2 years ago • 8 comments

It would be nice if it will work also with Folder Notes :) Even better if optionally.

Cammagno avatar Sep 08 '22 17:09 Cammagno

What is the Folder Notes?

snezhig avatar Sep 08 '22 17:09 snezhig

What is the Folder Notes?

A note with the same name of a folder, displayed when clicking on the folder in the Navigation pane. They are used to create a real hierarchy note system, because in this way you can have a note as a "subnote" of another note and so on

This is made possible by two popular plugins (almost 50k users for them together): original plugin (not currently maintained): https://github.com/xpgo/obsidian-folder-note-plugin currently maintained plugin: https://github.com/aidenlx/alx-folder-note

Cammagno avatar Sep 08 '22 18:09 Cammagno

How should this plugin change to support folder notes? Or is it broken right now in some way?

Wouldn't you want the folder note to have the same name as the folder and folders have limits on what characters the name can contain?

Trikzon avatar Sep 09 '22 05:09 Trikzon

Right now, if the note is made a folder note (with the plug-in enabled, to make a note become a folder note it's enough to give it the same name of the folder, or give the folder the same name of the note) your plugin does not break anything, but it also doesn't work with it: the folder note keep showing its original name everywhere (title bar, explorer pane and so on)

Il ven 9 set 2022, 07:43 Dion Tryban @.***> ha scritto:

How should this plugin change to support folder notes? Or is it broken right now in some way?

Wouldn't you want the folder note to have the same name as the folder and folders have limits on what characters the name can contain?

— Reply to this email directly, view it on GitHub https://github.com/Snezhig/obsidian-front-matter-title/issues/51#issuecomment-1241522244, or unsubscribe https://github.com/notifications/unsubscribe-auth/AW2KMCBWMAA47UCFMLV2QFDV5LFA3ANCNFSM6AAAAAAQH7CR2E . You are receiving this because you authored the thread.Message ID: @.***>

Cammagno avatar Sep 09 '22 06:09 Cammagno

I'm thinking about providing API to get titles, because supporting many plugins it not easy.

snezhig avatar Sep 09 '22 07:09 snezhig

I'm thinking about providing API to get titles, because supporting many plugins it not easy.

it could be a good idea :)

Cammagno avatar Sep 09 '22 17:09 Cammagno

I'm thinking about providing API to get titles, because supporting many plugins it not easy.

I think this could be a very good solution. I noticed that the plugin is also not working with https://github.com/mdelobelle/obsidian_supercharged_links which also changes the way that links appear in the sidebar. I imagine that writing in support for lots of different plugins will quickly become very difficult to maintain.

tbdcit avatar Oct 04 '22 08:10 tbdcit

There is alpha version of API. https://github.com/Snezhig/front-matter-plguin-api-provider After some tests I update my plugin to return API for this package.

snezhig avatar Oct 10 '22 13:10 snezhig

@Cammagno There is a new version of api provider.

snezhig avatar Nov 24 '22 10:11 snezhig