-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP contextual-query-loop branch #10
Comments
Outdated screencast 🎦Bildschirmaufzeichnung.vom.23.05.2024.04.25.17.mp4 |
Needed a new
|
Hello @ryanwelcher, feel free to have a look, what was possible in a short time, because of your solid & exciting fundament. Thank you very much for equipping me (and others) with the right tools & code to solve long-standing issues! It is amazing 🎈 🎉 🥳 ! |
Outdated screencast 🎦
Bildschirmaufzeichnung.vom.23.05.2024.21.17.40.mp4 |
Bildschirmaufzeichnung.vom.24.05.2024.22.18.17.mp4 |
Bildschirmaufzeichnung.vom.26.05.2024.12.37.17.mp4Contextual queries with
|
Screenshot of a demo to show & test different uses of a new contextual-query-block. The demonstrated queries are:
|
This looks great, thanks for working on it! It's not yet quite what I am hoping for. In my case, I would like to specify a date - either contextually (for example, using the date the post was published), or by choosing it directly (via a calendar selection). So if the date was 2023-05-20, then the query would return any posts published on YYYY-05-20 across all the years (which in my case could back over 20 years). Just to offer a little more context, my site is all about natural history, and I have been posting photojournals of what I observe on a given day going back to the early 2000s. With the functionality I'm hoping for, it would be easier to create a daily or weekly almanac of sorts for my area. Thank you! |
Thank you @mrgoff93
Ok, this is already in place & should work.
You are right, this is not possible right now. But what I did so far is close to that and it might be not of a big deal to extend the existing logic. Currently you can query for what happened on day x 13 years ago, but not on day x over the last 13 years.
This is really cool, you are describing your use-case like this. I had some similar thoughts, imaginating someone doing wild-life photography during all seasons of the year and for many years. That feels super-close to what you describe. |
@mrgoff93 No, it wasn't. Exactly 4 lines of code added, to make this work. Now, it seems to be the perfect sibling to @coffee2code|s - Years Ago Today – Dashboard widget. |
contextual-query-loop
branchThe text was updated successfully, but these errors were encountered: