fix: Added recurring filters to queries

This commit is contained in:
mathisgauthey
2024-01-09 14:48:36 +01:00
parent 46c14b0366
commit 4dbafd948e
5 changed files with 47 additions and 38 deletions

View File

@@ -79,6 +79,7 @@ tR += rightAngle;
>
> ```tasks
> not done
> is not recurring
> description does not include ]]
> tags include #next
> group by function task.tags.filter( (tag) => ! tag.includes("#next") )
@@ -88,6 +89,7 @@ tR += rightAngle;
>
> ```tasks
> not done
> is not recurring
> description includes ]]
> filename does not include Passions Backlog 🎮
> (heading does not include Focus) AND (heading does not include Goals)
@@ -100,6 +102,7 @@ tR += rightAngle;
>
> ```tasks
> not done
> is not recurring
> description does not include ]]
> tags include #waiting
> group by filename
@@ -109,6 +112,7 @@ tR += rightAngle;
>
> ```tasks
> not done
> is not recurring
> description does not include ]]
> tags include #delegated
> group by filename
@@ -118,6 +122,7 @@ tR += rightAngle;
>
> ```tasks
> not done
> is not recurring
> (path includes -Daily-Notes) OR (path includes -Periodic-Notes)
> (heading includes Focus) AND (heading includes Goals)
> group by function '%%' + (task.heading.includes("Yearly Focus 🔥 & Goals 🎯") ? "1" : task.heading.includes("Quarterly Focus 🔥 & Goals 🎯") ? "2" : task.heading.includes("Monthly Focus 🔥 & Goals 🎯") ? "3" : task.heading.includes("Weekly Focus 🔥 & Goals 🎯") ? "4" : task.heading.includes("Daily Focus 🔥 & Goals 🎯") ? "5" : "6") + '%%' + task.heading + " > " + task.file.filenameWithoutExtension + " > " + task.tags
@@ -129,6 +134,7 @@ tR += rightAngle;
>
> ```tasks
> not done
> is not recurring
> description includes ]]
> filename does not include Passions Backlog 🎮
> (heading does not include Focus) AND (heading does not include Goals)
@@ -139,6 +145,7 @@ tR += rightAngle;
>
> ```tasks
> not done
> is not recurring
> description includes ]]
> filename does not include Passions Backlog 🎮
> (heading does not include Focus) AND (heading does not include Goals)
@@ -148,16 +155,16 @@ tR += rightAngle;
> [!INFO]+ Projects On Hold 🎯
>
> ```tasks
> description includes ]]
> status.type is NON_TASK
> description includes ]]
> group by filename
> ```
> [!INFO]+ Tasks On Hold ✅
>
> ```tasks
> description does not include ]]
> status.type is NON_TASK
> description does not include ]]
> group by filename
> ```
@@ -177,7 +184,6 @@ tR += rightAngle;
>
> ```tasks
> not done
> is not recurring
> description does not include ]]
> path includes -Daily-Notes
> (heading does not include Focus) AND (heading does not include Goals)
@@ -190,7 +196,6 @@ tR += rightAngle;
>
> ```tasks
> not done
> is not recurring
> description does not include ]]
> (path does not include -Daily-Notes) AND (path does not include -Periodic-Notes)
> filename does not include Passions Backlog 🎮
@@ -205,7 +210,6 @@ tR += rightAngle;
>
> ```tasks
> not done
> is not recurring
> description includes ]]
> created on <% moment(tp.file.title, "YYYY-[Q]Q").format("YYYY-[Q]Q") %>
> group by created
@@ -215,7 +219,6 @@ tR += rightAngle;
>
> ```tasks
> not done
> is not recurring
> description does not include ]]
> created on <% moment(tp.file.title, "YYYY-[Q]Q").format("YYYY-[Q]Q") %>
> group by created
@@ -225,7 +228,6 @@ tR += rightAngle;
>
> ```tasks
> description includes ]]
> is not recurring
> done in <% moment(tp.file.title, "YYYY-[Q]Q").format("YYYY-[Q]Q") %>
> group by done
> ```
@@ -234,7 +236,6 @@ tR += rightAngle;
>
> ```tasks
> description does not include ]]
> is not recurring
> done in <% moment(tp.file.title, "YYYY-[Q]Q").format("YYYY-[Q]Q") %>
> group by done
> ```