LostPaul / obsidian-folder-notes

Create notes within folders that can be accessed without collapsing the folder, similar to the functionality offered in Notion.
https://lostpaul.github.io/obsidian-folder-notes/
GNU Affero General Public License v3.0
327 stars 16 forks source link

Obsidian 1.7.2 - 'Hide folder note' broken when the File Explorer view is not visible on vault (re)load #151

Open SebastianMC opened 2 weeks ago

SebastianMC commented 2 weeks ago

Obsidian 1.7.2 introduced a breaking change referred to as 'deferred views' (https://docs.obsidian.md/Plugins/Guides/Understanding+deferred+views). This affects some plugins, including Folder Notes.

When the File Explorer view is not visible on app start or on vault (re)load the below error messages are visible in console. The folder notes remain visible even if the option "Hide folder note" is enabled. To hide the folder notes you need to activate the File Explorer view and then: disable-enable the plugin or reload the vault or restart Obsidian.

folder-notes-bug

The name 'Archive' visible in the first error message comes from the folder 'Archive' for which I have a folder note in my vault.

LostPaul commented 1 week ago

Not sure if it's because of the deferred views because it was already broken one beta update before that but I'm already working on a solution and it's almost done.

SebastianMC commented 1 week ago

Thanks a lot! Your plugin is one of fundamental ones for me, thanks for it! I recently switched from Aidenx version, which seems to have been abandoned.