WHAT DO YOU RECOMMEND?
On a page/object, and by extension in templates, I’d like the option to self-reference properties of the current object, not just the current object itself.
HOW COULD IT BE DONE?
In filters, implement a new option to filter by filterable properties of the current object.
REAL WORLD USE CASES
I have a space with a couple thousand tasks. Each task has a creation date and a due date. I’m creating date-based dashboards that show tasks based on their active time range.
I created a new type called “Timeframe”, and it has start and end date properties. I’d like the default template for this type to define an inline live query that queries for all tasks where the creation date is on or before the start date of the Timeframe, OR the due date is on or after the end date of the Timeframe.
I believe the OR operator is in beta, so that’s one checkbox ticked already.
RECOMMENDED ALTERNATIVES
Currently what I have to do is ignore the date range of the Timeframe for the live query purposes, and just search for tasks that are linked to the Timeframe (which does cause newly created tasks to be linked, thankfully), but if the due date of the task changes, this won’t automatically cause the task to be removed from the dashboard.
But when you think about it, this is just a more complicated way to make a Collection.
ADDITIONAL CONTEXT
This feature would be a natural extension of Self-pointing placeholder filter in templates