My note looks like this with YAML front matter at the very top:
---
rating: 5
---
And then I have a dataview list query:
LIST WITHOUT ID "Rating: " + rating
WHERE file.name = this.file.name
And a dataview inline query:
This note has the rating metadata: = this.rating. Lorem Ipsum.
And then I do
Then I in YAML manually change the rating variable from 7 to e.g. 5.
Expected result
I expected the Preview Mode to reflect the change in metadata variables immediately in an dataview inline query, as it is the case today for e.g. dataview list queries.
Actual result
Instead the change is not reflected immediately in the dataview inline query = this.rating in the note in Preview. If I have the same note open twice at the same time (one in Edit Note and the other in Preview Mode), then the change is not reflected immediately in the note in Preview Mode. But if I close the Preview Mode note down and open it again in Preview Mode, then the change is implemented.
The change in the rating variable is reflected correctly and immediately in dataview list queries in the note.
What happened?
Steps to reproduce:
My note looks like this with YAML front matter at the very top:
--- rating: 5 ---
And then I have a dataview list query:
And a dataview inline query:
This note has the rating metadata:
= this.rating
. Lorem Ipsum.And then I do Then I in YAML manually change the rating variable from 7 to e.g. 5.
Expected result
I expected the Preview Mode to reflect the change in metadata variables immediately in an dataview inline query, as it is the case today for e.g. dataview list queries.
Actual result
Instead the change is not reflected immediately in the dataview inline query = this.rating in the note in Preview. If I have the same note open twice at the same time (one in Edit Note and the other in Preview Mode), then the change is not reflected immediately in the note in Preview Mode. But if I close the Preview Mode note down and open it again in Preview Mode, then the change is implemented.
The change in the rating variable is reflected correctly and immediately in dataview list queries in the note.
DQL
`= this.rating`
JS
No response
Dataview Version
0.4.21
Obsidian Version
0.13.19
OS
MacOS