foambubble / foam

A personal knowledge management and sharing system for VSCode
https://foambubble.github.io/
Other
15.47k stars 663 forks source link

"ALL LINKS" pane don't update after renaming a file #1371

Closed shuyuxie closed 3 months ago

shuyuxie commented 4 months ago

Describe the bug

"ALL LINKS" pane don't update after renaming a file

Small Reproducible Example

No response

Steps to Reproduce the Bug or Issue

  1. Go to Explorer side pane
  2. Click on foam or whatever foam notes folder called
  3. Rename a note Markdown file
  4. See links in "ALL LINKS" are gone

Expected behavior

All the links should remain intact after renaming a file

Screenshots or Videos

No response

Operating System Version

macOs

Visual Studio Code Version

1.91.1 (Universal)

Additional context

No response

pderaaij commented 4 months ago

Hi,

I've looked into this, but am unable to replicate this. After renaming, the panel updates correctly for me. Could you eleborate a bit more on your renaming action?

shuyuxie commented 4 months ago

Hi. Thanks for looking into it. You can replicate this by renaming a file, say JavaScript.md, to javascript.md

pderaaij commented 4 months ago

Yeah, in my case that works. So, a bit hard to replicate it... If you can share a little test repo that would be great.

shuyuxie commented 4 months ago

I've created a demo here: https://github.com/shuyuxie/foam-issue. Hope it helps explaining the issue.

pderaaij commented 3 months ago

I've done a test with this repo, but I can't replicate the issue. Can you check if you have the latest version of Foam? Or else, check if another extension is causing the issue?

shuyuxie commented 3 months ago

I tested it with all other extensions disabled and I've installed the latest version of foam, but the issue was still there. It's not a big issue anyway. But since you can't replicate it, I'm gonna close this issue.