Skip to content

Commit 6b6bbb9

Browse files
committed
vault: Major updates to Dependencies Samples.md
Full examples of use of the new 'blocking' and 'blocked' instructions
1 parent 9ce40a2 commit 6b6bbb9

File tree

1 file changed

+58
-12
lines changed

1 file changed

+58
-12
lines changed

resources/sample_vaults/Tasks-Demo/Manual Testing/Dependencies Samples.md

Lines changed: 58 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,24 +7,52 @@
77
- [ ] #task Craft a conclusion 🆔 0wigip ⛔️ mvplec
88
- [ ] #task Proofread and edit 🆔 5ti6bf ⛔️ 0wigip
99
- [ ] #task Publish the article ⛔️ 5ti6bf
10+
- [ ] #task Do something on a different project
1011

1112
---
1213

13-
## Do Next
14+
## Real-world searches
15+
16+
### Blocking and Not Blocked - Do very soon
17+
18+
```tasks
19+
is blocking
20+
is not blocked
21+
# by definition these are all 'not done'
22+
23+
path includes {{query.file.path}}
24+
#explain
25+
```
26+
27+
### Not Blocking and Not Blocked - Do any time
1428

1529
```tasks
16-
((is blocking) AND (is not blocked)) OR (is not blocked)
30+
is not blocking
31+
is not blocked
32+
33+
# DONE, CANCELLED and NON_TASK are never blocking nor blocked,
34+
# so we need to exclude those:
1735
not done
1836
1937
path includes {{query.file.path}}
2038
#explain
2139
```
2240

41+
### Blocked - Cannot yet do
42+
43+
```tasks
44+
is blocked
45+
# by definition these are all 'not done'
46+
47+
path includes {{query.file.path}}
48+
#explain
49+
```
50+
2351
---
2452

25-
## Blocking Tasks
53+
## Demonstration searches - showing the Blocking instructions
2654

27-
### Blocking Tasks - Any Status
55+
### `is blocking` - Blocking Tasks - tasks which prevent others from being done
2856

2957
```tasks
3058
is blocking
@@ -33,30 +61,39 @@ path includes {{query.file.path}}
3361
#explain
3462
```
3563

36-
### Blocking Tasks - Not Done
64+
### `is not blocking` - Non-blocking Tasks - Not Done
3765

3866
```tasks
39-
is blocking
67+
is not blocking
4068
not done
4169
4270
path includes {{query.file.path}}
4371
#explain
4472
```
4573

74+
### `is not blocking` - Non-blocking Tasks - Any Status
75+
76+
```tasks
77+
is not blocking
78+
79+
path includes {{query.file.path}}
80+
#explain
81+
```
82+
4683
---
4784

48-
## Blocked Tasks
85+
## Demonstration searches - showing the Blocked instructions
4986

50-
### Blocked Tasks - Any Status
87+
### `is blocked` - Blocked Tasks - tasks which cannot be done yet
5188

5289
```tasks
53-
is not blocked
90+
is blocked
5491
5592
path includes {{query.file.path}}
5693
#explain
5794
```
5895

59-
### Blocked Tasks - Not Done
96+
### `is not blocked` - Non-blocked Tasks - Not Done
6097

6198
```tasks
6299
is not blocked
@@ -66,19 +103,28 @@ path includes {{query.file.path}}
66103
#explain
67104
```
68105

106+
### `is not blocked` - Non-blocked Tasks - Any Status
107+
108+
```tasks
109+
is not blocked
110+
111+
path includes {{query.file.path}}
112+
#explain
113+
```
114+
69115
---
70116

71117
## Show/Hide Instructions
72118

73-
### Hide Id
119+
### `hide id`
74120

75121
```tasks
76122
hide id
77123
path includes {{query.file.path}}
78124
#explain
79125
```
80126

81-
### Hide blockedBy
127+
### `hide depends on` ==TODO Rename to blocked by==
82128

83129
```tasks
84130
hide depends on

0 commit comments

Comments
 (0)