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

@@ -80,6 +80,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") )
@@ -89,6 +90,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)
@@ -101,6 +103,7 @@ tR += rightAngle;
>
> ```tasks
> not done
> is not recurring
> description does not include ]]
> tags include #waiting
> group by filename
@@ -110,6 +113,7 @@ tR += rightAngle;
>
> ```tasks
> not done
> is not recurring
> description does not include ]]
> tags include #delegated
> group by filename
@@ -119,6 +123,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
@@ -130,6 +135,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)
@@ -140,6 +146,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)
@@ -149,16 +156,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
> ```
@@ -178,7 +185,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)
@@ -191,7 +197,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 🎮
@@ -206,7 +211,6 @@ tR += rightAngle;
>
> ```tasks
> not done
> is not recurring
> description includes ]]
> created on <% moment(tp.file.title, "YYYY").format("YYYY") %>
> group by created
@@ -216,7 +220,6 @@ tR += rightAngle;
>
> ```tasks
> not done
> is not recurring
> description does not include ]]
> created on <% moment(tp.file.title, "YYYY").format("YYYY") %>
> group by created
@@ -226,7 +229,6 @@ tR += rightAngle;
>
> ```tasks
> description includes ]]
> is not recurring
> done in <% moment(tp.file.title, "YYYY").format("YYYY") %>
> group by done
> ```
@@ -235,7 +237,6 @@ tR += rightAngle;
>
> ```tasks
> description does not include ]]
> is not recurring
> done in <% moment(tp.file.title, "YYYY").format("YYYY") %>
> group by done
> ```