franciskafieh / obsidian-list-modified

🪨 The advanced and adaptive changelog for Obsidian. Links all modified files meeting certain criteria to a timed (daily, weekly, monthly) note.
MIT License
85 stars 7 forks source link

[FR] Update list of links when a file is deleted #46

Closed Triquetra closed 1 year ago

Triquetra commented 1 year ago

First Steps

Describe the desired feature

Sometimes I create or edit files that wind up getting merged into another file, split into multiple different files, or renamed. After doing so, the link to the "modified" file created with this plugin remains, now pointing to a file that does not exist. It would be preferable to have the now-dead-link removed automatically.

Possible alternatives

Additional info?

franciskafieh commented 1 year ago

This will be accomplished in 2.0. No ETA yet. It will take me a long time, because it's a full overhaul of the codebase. When renaming a file, Obsidian should automatically change all links to it. Does this not work for you?

Triquetra commented 1 year ago

Yes, the renaming works. The issue that prompted this FR was deleted files remaining in the list. Thanks.

franciskafieh commented 1 year ago

Fixed in 2.0. It's currently on the 2.0 branch which is not fully working. I'll merge 2.0 into master and release it when I finish working on it. ETA: today or tomorrow.

franciskafieh commented 1 year ago

@Triquetra Here's a link to 2.0 in case you want to give it a try! https://github.com/franciskafieh/obsidian-list-modified/releases/tag/2.0

You'll need to download it via BRAT or manually, as it is a pre-release.