From d7b4c93067401e4b61cd89415bf64a598b7cdac1 Mon Sep 17 00:00:00 2001 From: Clare Macrae Date: Thu, 10 Oct 2024 23:15:20 +0100 Subject: [PATCH] vault: Add some more examples comparing Tasks & Dataview results rendering --- ...ild relationships - Searches - Dataview.md | 48 +++++++++++++-- ...-Child relationships - Searches - Tasks.md | 58 +++++++++++++++++-- .../Parent-Child relationships - Searches.md | 27 +++++++-- 3 files changed, 119 insertions(+), 14 deletions(-) diff --git a/resources/sample_vaults/Tasks-Demo/Other Plugins/Dataview/Parent-Child relationships - Searches - Dataview.md b/resources/sample_vaults/Tasks-Demo/Other Plugins/Dataview/Parent-Child relationships - Searches - Dataview.md index 4aa0d66c5f..344d5d5911 100644 --- a/resources/sample_vaults/Tasks-Demo/Other Plugins/Dataview/Parent-Child relationships - Searches - Dataview.md +++ b/resources/sample_vaults/Tasks-Demo/Other Plugins/Dataview/Parent-Child relationships - Searches - Dataview.md @@ -1,6 +1,46 @@ # Parent-Child relationships - Searches - Dataview -## 1 Completed +## 1 Simple lists + +## 2 Filtering + +### 2.1 Completed + +```dataview +TASK +FROM "Other Plugins/Dataview/Parent-Child relationships - Tasks" +WHERE completed +``` + +### 2.2 Fully completed + +```dataview +TASK +FROM "Other Plugins/Dataview/Parent-Child relationships - Tasks" +WHERE fullyCompleted +``` + +### 2.3 Not completed + +```dataview +TASK +FROM "Other Plugins/Dataview/Parent-Child relationships - Tasks" +WHERE !completed +``` + +### 2.4 Not fully completed + +```dataview +TASK +FROM "Other Plugins/Dataview/Parent-Child relationships - Tasks" +WHERE !fullyCompleted +``` + +## 3 Sorting + +## 4 Grouping + +### 4.1 Completed ```dataview TASK @@ -9,7 +49,7 @@ WHERE completed GROUP BY meta(section).subpath ``` -## 2 Fully completed +### 4.2 Fully completed ```dataview TASK @@ -18,7 +58,7 @@ WHERE fullyCompleted GROUP BY meta(section).subpath ``` -## 3 Not completed +### 4.3 Not completed ```dataview TASK @@ -27,7 +67,7 @@ WHERE !completed GROUP BY meta(section).subpath ``` -## 4 Not fully completed +### 4.4 Not fully completed ```dataview TASK diff --git a/resources/sample_vaults/Tasks-Demo/Other Plugins/Dataview/Parent-Child relationships - Searches - Tasks.md b/resources/sample_vaults/Tasks-Demo/Other Plugins/Dataview/Parent-Child relationships - Searches - Tasks.md index ce65efe2f5..e950ae3d55 100644 --- a/resources/sample_vaults/Tasks-Demo/Other Plugins/Dataview/Parent-Child relationships - Searches - Tasks.md +++ b/resources/sample_vaults/Tasks-Demo/Other Plugins/Dataview/Parent-Child relationships - Searches - Tasks.md @@ -1,6 +1,52 @@ # Parent-Child relationships - Searches - Tasks -## 1 Completed +## 1 Simple lists + +## 2 Filtering + +### 2.1 Completed + +```tasks +folder includes {{query.file.folder}} +done +hide backlinks +``` + +### 2.2 Fully completed + +==Not Implemented== + +```tasks +folder includes {{query.file.folder}} +# There is no Tasks instruction for "fully done" yet +done +hide backlinks +``` + +### 2.3 Not completed + +```tasks +folder includes {{query.file.folder}} +not done +hide backlinks +``` + +### 2.4 Not fully completed + +==Not Implemented== + +```tasks +folder includes {{query.file.folder}} +# There is no Tasks instruction for "not fully done" yet +not done +hide backlinks +``` + +## 3 Sorting + +## 4 Grouping + +### 4.1 Completed ```tasks folder includes {{query.file.folder}} @@ -9,7 +55,9 @@ group by heading hide backlinks ``` -## 2 Fully completed +### 4.2 Fully completed + +==Not Implemented== ```tasks folder includes {{query.file.folder}} @@ -19,7 +67,7 @@ group by heading hide backlinks ``` -## 3 Not completed +### 4.3 Not completed ```tasks folder includes {{query.file.folder}} @@ -28,7 +76,9 @@ group by heading hide backlinks ``` -## 4 Not fully completed +### 4.4 Not fully completed + +==Not Implemented== ```tasks folder includes {{query.file.folder}} diff --git a/resources/sample_vaults/Tasks-Demo/Other Plugins/Dataview/Parent-Child relationships - Searches.md b/resources/sample_vaults/Tasks-Demo/Other Plugins/Dataview/Parent-Child relationships - Searches.md index 9a93c0769f..3006a4a7f3 100644 --- a/resources/sample_vaults/Tasks-Demo/Other Plugins/Dataview/Parent-Child relationships - Searches.md +++ b/resources/sample_vaults/Tasks-Demo/Other Plugins/Dataview/Parent-Child relationships - Searches.md @@ -4,9 +4,24 @@ Purpose: Compare the behaviour of similar Dataview and Tasks plugins, to aid in implementing Parent-Child relationships in the Tasks plugin. -| Dataview | Tasks | -| --------------------------------------------------------------------------- | ------------------------------------------------------------------------ | -| ![[Parent-Child relationships - Searches - Dataview#1 Completed]] | ![[Parent-Child relationships - Searches - Tasks#1 Completed]] | -| ![[Parent-Child relationships - Searches - Dataview#2 Fully completed]] | ![[Parent-Child relationships - Searches - Tasks#2 Fully completed]] | -| ![[Parent-Child relationships - Searches - Dataview#3 Not completed]] | ![[Parent-Child relationships - Searches - Tasks#3 Not completed]] | -| ![[Parent-Child relationships - Searches - Dataview#4 Not fully completed]] | ![[Parent-Child relationships - Searches - Tasks#4 Not fully completed]] | +## 1 Simple lists + +## 2 Filtering + +| Dataview | Tasks | +| ----------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| ![[Parent-Child relationships - Searches - Dataview#2.1 Completed]] | ![[Parent-Child relationships - Searches - Tasks#2.1 Completed]] | +| ![[Parent-Child relationships - Searches - Dataview#2.2 Fully completed]] | ![[Parent-Child relationships - Searches - Tasks#2.2 Fully completed]] | +| ![[Parent-Child relationships - Searches - Dataview#2.3 Not completed]] | ![[Parent-Child relationships - Searches - Tasks#2.3 Not completed]] | +| ![[Parent-Child relationships - Searches - Dataview#2.4 Not fully completed]] | ![[Parent-Child relationships - Searches - Tasks#2.4 Not fully completed]] | + +## 3 Sorting + +## 4 Grouping + +| Dataview | Tasks | +| ----------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| ![[Parent-Child relationships - Searches - Dataview#4.1 Completed]] | ![[Parent-Child relationships - Searches - Tasks#4.1 Completed]] | +| ![[Parent-Child relationships - Searches - Dataview#4.2 Fully completed]] | ![[Parent-Child relationships - Searches - Tasks#4.2 Fully completed]] | +| ![[Parent-Child relationships - Searches - Dataview#4.3 Not completed]] | ![[Parent-Child relationships - Searches - Tasks#4.3 Not completed]] | +| ![[Parent-Child relationships - Searches - Dataview#4.4 Not fully completed]] | ![[Parent-Child relationships - Searches - Tasks#4.4 Not fully completed]] |