Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
hsandt opened this issue May 3, 2024 · 1 comment

Comments

@hsandt
Copy link

hsandt commented May 3, 2024

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.

@mbbroberg
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants