obsidian-folder-note-plugin icon indicating copy to clipboard operation
obsidian-folder-note-plugin copied to clipboard

Switching from Folder Name Outside to Folder Name Inside with Hide Folder Note enabled does not reveal the notes back

Open hsandt opened this issue 1 year ago • 1 comments

Repro steps

  1. Set Note File Method to Folder Name Outside
  2. Enable Hide Folder Note to hide those associated folders
  3. Create note folders outside with Ctrl+Click if needed
  4. Note: if you did step 3 after step 2, the new folders are not hidden yet, and you need to click on the note folders again to hide them
  5. Set Note File Method to Folder Name Inside and Disable Hide Folder Note
  6. The folder note files are now still hidden inside of revealing themselves. If you had selected a folder note last, it is still open, but others are inaccessible until you Ctrl+O open the note by name, or close and reopen the Vault to force file tree refresh.

I suspect the same happens when switching from Inside to Outside, Index, etc. but I haven't tested myself.

hsandt avatar May 03 '24 11:05 hsandt

@hsandt I just ran into this and found the .obsidian/plugins/folder-note-plugin/data.json contained both types:

{
  "folderNoteHide": true,
  "folderNoteType": "inside",
  "folderNoteName": "_about_",
  "folderNoteKey": "alt",
  "folderNoteAutoRename": true,
  "folderDelete2Note": false,
  "folderNoteStrInit": "\n {{FOLDER_BRIEF_LIVE}} \n"
}

I deleted the folderNoteKey line and it made the folder notes disappear as expected.

mbbroberg avatar May 26 '24 23:05 mbbroberg