jplattel / open-note-to-window-title

Small Obsidian plugin that updates the window title with the current open note
68 stars 6 forks source link

0.2.1: Minor glitch: Title doesn’t update on frontmatter change & save #8

Open Moonbase59 opened 3 years ago

Moonbase59 commented 3 years ago

Very minor: I use the template {{filename}} ({{frontmatter.date}}) - {{vault}} - Obsidian.

Now when changing my YAML frontmatter date: variable, even followed by Ctrl+S, the title doesn’t change. Only after closing/reopening the note.

Is there a "file has changed" or "cache changed" event in the Obsidian API that catches this?

If not, I can live with it. It’s not different from some Dataview notes.

luckman212 commented 3 years ago

FYI - this is one of the things that's fixed in my PR #11

Moonbase59 commented 3 years ago

Yep, now let’s hope that combined-efforts-PR gets accepted ;-)

luckman212 commented 3 years ago

Should be fixed in 0.3.1, hopefully this can be closed