8000 Add metadata change callbacks by ShadiestGoat · Pull Request #115 · gfxholo/iconic · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add metadata change callbacks #115

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ShadiestGoat
Copy link
@ShadiestGoat ShadiestGoat commented May 6, 2025

Currently, I have a problem that when I edit metadata properties (in frontmatter, if that matters), then I don't get the right update to the icons. Its one change behind, probably a race condition of some kind or other.

This is a fix for that. It adds callbacks to both the vanilla meta store change event & the dataview one. I don't know if the dataview one is necessary, but another one doesn't hurt. I tested with and without dataview enabled & it worked both times so why not?

Also, I noticed that there are only very broad refresh functions, but is there a way to target only the modified files? That might help with performance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0