Option to "De-Virtualize" task queries #545
Replies: 6 comments 7 replies
-
Hi @finn-matti. I'm not Tasks' developer, just another user. Are you aware that you can currently select and copy some or all of the results of a Tasks query and paste them into the same or another Obsidian note -- or, indeed, wherever else you might wish to have access to a static, point-in-time snapshot? |
Beta Was this translation helpful? Give feedback.
-
Thank you for your input @finn-matti! I think you have a good point regarding compatibility/transferability. I think this would be a cool feature. However, it is low priority compared to other things that are pressing, like live preview support. I don't think I would be able to add this any time soon. If anyone wants to jump in and code this, that could be an option to get this feature added. |
Beta Was this translation helpful? Give feedback.
-
See also #1216 |
Beta Was this translation helpful? Give feedback.
-
Just chiming in to say I LOVE this idea. I think the use case @finn-matti describes is perfect: making the daily note especially a static doc could really help for future-proofing and keeping a permanent record of things. Will wait very patiently to see if this ever moves up in the queue! |
Beta Was this translation helpful? Give feedback.
-
Hello @craigeley. It is easy to make the results of a Tasks query static: In Preview mode, select and copy some or all of the results of the Tasks query, then switch to Edit mode and paste the material from the clipboard. This will recreate the query results as a list rather than a checklist -- which is good, as you'd otherwise be duplicating the todo items that the were found and displayed by the query. (If you want the static as-of-this-point-in-time query results to replace the ever-current Tasks query, then just paste over the Tasks' query block in you Daily Note.) If that doesn't satisfy your use-case, could you perhaps explain why? (I confess that I didn't understand either how @finn-matti's proposal for a self-overwriting Tasks query would work -- since it would automatically trigger the first time the note was opened in Preview or Live Preview mode -- or how it would be superior to the above copy-paste approach.) |
Beta Was this translation helpful? Give feedback.
-
Just to echo what schemar said previously, if anyone wanted to implement it, I would be willing to help them get started. However, it remains low priority compare to a large number of other requests relating to the core of the current functionality. |
Beta Was this translation helpful? Give feedback.
-
At the moment using obsidian tasks means anti-future proofing your markdown files, because this:
is not readable in any other app, but Obsidian. Possibly crucial (or at least interesting) information gets lost in this way.
I therefore propose to de-virtualize these kinds of filters. Instead of writing the filter query into markdown, it should be possible to write the results directly into the file.
I could see this be done on a one-off basis (with the option to do it in bulk for export purposes):
This would replace the text above with the results.
Or as a continuously updating process:
Here I envision that the results are just appended under the filter itself.
This would dramatically increase interoperability and help the user that tries to keep their files future proof.
Thanks for your consideration.
Beta Was this translation helpful? Give feedback.
All reactions