Inline Query for Live Preview
See original GitHub issueDiscussed in https://github.com/blacksmithgu/obsidian-dataview/discussions/728
<div type='discussions-op-text'>Originally posted by DryIce1 December 16, 2021 Hi @blacksmithgu,
I wonder if you could implement Inline Queries for Live Preview as you have for normal dataview queries.
Why it is useful
- learning from one’s past reflections is a super powerful way to track progress
How I am using inline queries
- I use Inlines heavily for journalling and reviews
- each journal links to the previous journal note and the next date level up
- the daily note links to yesterday and this week
- the weekly review links to last week and this month.
- the monthly reviews link to last month and this year.
- e.g then from today’s daily note I can get fields from all the weekly/monthly/yearly review notes that relate to this page
=this.yesterday.highlights
=this.week.last-week.to-improve
=this.week.month.theme
=this.week.month.last-month.theme
=this.week.month.year.highlights
- At each larger time period I am summarising and learning from my reflections.
- in the weekly review,
=this.days.gratitude
- to summarise what I was grateful for this week - in the monthly review,
=this.weeks.gratitude
- to summarise what I was grateful for this month - in the yearly review,
=this.months.gratitude
I have put my current daily / weekly / monthly review templates over here if anyone wants to use them, feel free to contact me to make any suggestions, critiques or feedback.
Current Problem
- not being able to see these reflections in the inline query whilst editing in Live Preview.
- on the desktop having to have two panes open (edit and read mode)
- on mobile, it’s really not possible to do these kind of reflections in edit mode
Solution
- inline queries rendered in Live Preview.
I am interested in knowing if
- other people are doing this, or what other techniques people are using
- If this feature is currently on the Dataview development roadmap
Thanks for considering, Tom</div>
Issue Analytics
- State:
- Created 2 years ago
- Reactions:22
- Comments:13 (7 by maintainers)
Top Results From Across the Web
SQL - Inline View - 1Keydata
An inline view is a SELECT statement in the FROM clause. Instead of specifying table name(s) after the FROM keyword, the source of...
Read more >Inline query Inline view and Sub query in Oracle - YouTube
oracleshooter #inlinequery #subqueryFull Blogs Link :- https://oracleshooter.blogspot.com/2019/05/sql- inline - query - inline - view -and.
Read more >Inline query, inline view, subquery, inner query ... - YouTube
Inline query, inline view, subquery, inner query, nested query and correlated query in SQL · Key moments. View all · Key moments ·...
Read more >How to Join Inside Inline Views with LATERAL - Oracle Live SQL
This allows you to join tables to the left of an inline view inside the subquery. Area SQL General / SQL Query; Contributor...
Read more >Run Inline Query - Looker API Interactive Reference
Run the query that is specified inline in the posted body. ; html, Simple html ; md, Simple markdown ; xlsx, MS Excel...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
In case folks don’t know, I was extremely pleasantly surprised to discover that inline queries and inline JS expressions work in live preview when placed inside a call out - both the title and the body!
While it would still be great to see inline expressions work everywhere in live preview, as someone exclusively uses live preview this is a huge improvement in my book!
In
Edit
Mode:In
Live Preview
:I think this needs to be implemented as a CodeMirror plugin and not as an Obsidian post processor; I don’t know how to do this yet so I’ll have to figure it out. The good news is it will look cool when it works!