Don't refresh queries until after a block being edited is unfocused

Here’s the painpoint I’m experiencing:

  • Have a bunch of TODO items scattered around Logseq
  • Pull them all into one page with a query that grabs any task marked TODO
  • from the query, edit one of the tasks to be CANCELLED instead of TODO
  • halfway through typing CANCELLED, the query refreshes and sends the block away as I’m trying to edit it

It’s a pretty poor UX to create a destructive behavior if the user doesn’t type fast enough to beat the query refresh