Skip to content

Inline Query for Live Preview #728

DryIce1 started this conversation in Ideas
Inline Query for Live Preview #728
Dec 16, 2021 · 1 comments · 1 reply

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

Replies

1 comment
·
1 reply

I'm going to convert this into an issue; this functionality requires a different implementation from how inline queries used to work, and I haven't taken the time yet to look at CodeMirror 6 APIs to understand how difficult / easy this will be.

1 reply
@DryIce1

Awesome, thanks for taking the time to consider it, and good luck! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants