sytone/obsidian-queryallthethings

No consistent qatt refresh on changing scraped files

Closed this issue · 6 comments

Describe the bug
When I change a file that is being scraped by a qatt query with templates, the results are not immediately refreshed. Hence, a manual qatt refresh is necessary. That used to work.

To Reproduce
See Video under screenshots

Expected behavior
qatt block refreshed automatically on change of scraped files

Screenshots
Video illustrating the bug on Ubuntu: https://github.com/user-attachments/assets/656d1749-ff44-4804-ad3b-f42f71f6c547

Desktop (please complete the following information):

  • OS: Ubuntu 22.04
  • Obsidian Version: v1.6.7
  • Plugin Version: 1.0.2

Smartphone (please complete the following information):

  • Device: Samsung S10
  • OS: Android
  • Obsidian Version: v1.6.7
  • Plugin Version: 1.0.2

1.1.2 is in build now and should be released shortly.

1.1.3 is coming which uses a separate debounce library that is working better, I am not deep in JS/TS and the async world with generics so not able to resolve or work out all the issues fast.

1.1.3 is now released, please use this with debounce enabled and vary the delay. I would recommend restarting obsidian when tweaking as the times are only changed when the code block is rendered so you have to be opening and closing pages and sometimes obsidian caches which causes issues.

The additional option to set the debouncing delay works very well. I'd consider this issue closed. 👍

Thanks for the feedback, I will close this issue up. Please let me know if you have any other issues or suggestions.