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

[Bug] Live preview not working well with ccards, in particular 'folder_brief_live'

Open dabravin opened this issue 4 years ago • 2 comments

Description

When Live Preview is enabled, ccards seem to be cached in a way. When switching between two notes, containing the folder_brief_live ccard, the content displays the structure of the initial folder.

Prerequisites

An example structure :

  • Root
    • Subdirectory

Steps to reproduce

  1. Create a note with the default template for Subdirectory (containing a folder_brief_live ccard)
  2. Create a note with the default template for Root
  3. The Live Preview of Root shows the contents of Subdirectory

This only happens on Live Preview, Reading mode works as intended

dabravin avatar Feb 28 '22 12:02 dabravin

+1

EaMarWi avatar Apr 04 '22 03:04 EaMarWi

Hi, I created and am maintaining a revived fork of this plugin, Folder Note Revamped, and wanted to let you know that this issue (folder_brief_live showing the wrong folder's notes) is fixed there as of version 1.0.4. The block now uses the folder of the note it is in.

It is available in Obsidian's community plugins: Folder Note Revamped (or search for it under Settings -> Community plugins -> Browse). It is a separate plugin (ID folder-note-revamped), so it can be installed next to the original, but I'd suggest disabling the original while you try it so only one of them handles folder clicks. The source and change log are on GitHub.

Many thanks to @xpgo for the original plugin, which this is built on. No pressure at all, just wanted to let people know in case it helps. If something still doesn't work for you there, please open an issue.

SamPlaysKeys avatar Nov 17 '26 22:11 SamPlaysKeys