Skip to content
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

[Bug?] content is not refreshed when linked page is opened #3

Closed
danieltomasz opened this issue Sep 10, 2022 · 7 comments
Closed

[Bug?] content is not refreshed when linked page is opened #3

danieltomasz opened this issue Sep 10, 2022 · 7 comments
Milestone

Comments

@danieltomasz
Copy link

I open linked page, then I changed content under the link

image

The influx footer stays the same, only opening page in new windows or reopening it refreshes it
image

Again this is Obsidian O.16.2, I cannot check for 0.15.9

@jensmtg
Copy link
Owner

jensmtg commented Sep 11, 2022

This is not a bug per se, but I can see how it feels natural to have influx update without explicitly refreshing the page. How to enable this without causing heavy performance penalty due to greatly increased number of re-renders - due to the way state is managed in obsidian - is something I'll have to look into. Maybe for a future version.

@danieltomasz
Copy link
Author

Are there a way to re-render only if watched file with wiki-link changed? (lets say only after 5 sec after last change of state, to not do it too often?)

@jensmtg
Copy link
Owner

jensmtg commented Sep 13, 2022

That's would be the idea. The challenge is the data flow between obsidian and codemirror. It's probably fixable, but not so trivial I can do it without some study.

@stoweboyd
Copy link

dataview refreshes relatively quickly. Why not create a command so we can manually refresh?

@danieltomasz
Copy link
Author

Query control plugin is facing similar problem, sometimes is even worse, it doesn't auto update links view after switching the card, only manual update works
https://github.com/nothingislost/obsidian-query-control

@stoweboyd
Copy link

but the way I generally use query control or dataview is standalone queries in a separate file. But with influx the plugin is evident in all files, so the lag in sync is very obvious and disconcerting.

@jensmtg jensmtg added this to the 1.1.1 milestone Sep 19, 2022
@jensmtg
Copy link
Owner

jensmtg commented Sep 19, 2022

Fixed in latest version.

@jensmtg jensmtg closed this as completed Sep 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants