Skip to content

Commit

Permalink
vault: Add some more examples comparing Tasks & Dataview results rend…
Browse files Browse the repository at this point in the history
…ering
  • Loading branch information
claremacrae committed Oct 10, 2024
1 parent 605df76 commit d7b4c93
Show file tree
Hide file tree
Showing 3 changed files with 119 additions and 14 deletions.
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -9,7 +49,7 @@ WHERE completed
GROUP BY meta(section).subpath
```

## 2 Fully completed
### 4.2 Fully completed

```dataview
TASK
Expand All @@ -18,7 +58,7 @@ WHERE fullyCompleted
GROUP BY meta(section).subpath
```

## 3 Not completed
### 4.3 Not completed

```dataview
TASK
Expand All @@ -27,7 +67,7 @@ WHERE !completed
GROUP BY meta(section).subpath
```

## 4 Not fully completed
### 4.4 Not fully completed

```dataview
TASK
Expand Down
Original file line number Diff line number Diff line change
@@ -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}}
Expand All @@ -9,7 +55,9 @@ group by heading
hide backlinks
```

## 2 Fully completed
### 4.2 Fully completed

==Not Implemented==

```tasks
folder includes {{query.file.folder}}
Expand All @@ -19,7 +67,7 @@ group by heading
hide backlinks
```

## 3 Not completed
### 4.3 Not completed

```tasks
folder includes {{query.file.folder}}
Expand All @@ -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}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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]] |

0 comments on commit d7b4c93

Please sign in to comment.