You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Add `query.file.hasProperty()` and `query.file.property()` in custom filters
17
+
- Add `{{query.file.hasProperty()}}` and `{{query.file.property()}}` in placeholders - see [[Obsidian Properties#Using Query Properties in Placeholders|Using Query Properties in Placeholders]].
18
+
- Placeholders can now call functions and contain expressions.
19
+
- Add Chinese translation of [[Settings]], [[Editing a Status]] and [[Check your Statuses]]
15
20
- 7.14.0:
16
21
- Add [[Editing Dates#Date-picker on task dates|date picker]] to Reading mode and Tasks query search results.
## Can now have logical operators inside placeholders
39
+
40
+
So we can easily control the query interactively now, via Obsidian's File Properties panel!!!
41
+
42
+
This search is a proof-of-concept. The `TQ-` prefix was chosen to stand for `Task Query`. It is not yet decided whether recognition of these properties will be built in to Tasks in future.
43
+
44
+
To try this out:
45
+
46
+
1. Switch to Reading or Live Preview modes.
47
+
2. Run the `Files: Show file explorer` command.
48
+
3. Modify the query via only editing file properties.
49
+
50
+
For bonus points, you can copy the placeholder instructions to your Tasks global search, and then you can use these instructions to adjust *all* the searches in your vault that do not use `ignore global query`.
51
+
52
+
```tasks
53
+
# We ignore the global query just to shorten the `explain` output.
54
+
ignore global query
55
+
path includes {{query.file.path}}
56
+
57
+
# Instructions are listed in the order that items are displayed in Tasks search results
58
+
# I would like to use the prefix 'tasks-query-' on the names, but it makes the names
59
+
# too wide to be readable in the File Properties panel.
0 commit comments