Use case or problem
This has happened to me a few times where I am working in a vault with multiple folders.
In one folder I create a new note, and without thinking too much about it I accidentally give it a name that is already used by another file in another folder.
I then get a message in the corner that 6 links have been updated.
The folder structure could be something like this:
folder1
----something
----someOtherThing
folder2
----something
Before the updated links, references to the “something” file would look like this:
“This note is referencing [[something]] interesting”
after the updated links my old notes that were referencing “something” would look like this:
“This note is referencing [[folder1/something]] interesting”
It doesn’t seem like I am able to undo the change without manually changing back the file name, and manually change all the references in all my files.
Proposed solution
I see 3 possible solutions
The most simple solution would be to give me a warning before updating all my files links, and ask if I am sure that I want to change the filename and update the links.
Another solution that would work well would be to change the updated links to:
“This note is referencing [[folder1/something|something]] interesting”
This way my notes would not be messed up by another file that had the same name
Give me an easy way to undo name change and link updates
Current workaround
Currently I’m being very(!) careful about renaming my files, and if I accidentally name it an existing file name I manually change it all back