first commit
This commit is contained in:
51
pages/Tasks.md
Normal file
51
pages/Tasks.md
Normal file
@@ -0,0 +1,51 @@
|
||||
- Tasks Scheduled for Today #minimal-query
|
||||
background-color:: green
|
||||
- query-table:: false
|
||||
background-color:: green
|
||||
#+BEGIN_QUERY
|
||||
{
|
||||
:query [:find (pull ?b [*])
|
||||
:in $ ?day
|
||||
:where
|
||||
[?b :block/marker ?m]
|
||||
[(contains? #{"TODO" "DOING"} ?m)]
|
||||
(or
|
||||
[?b :block/scheduled ?day]
|
||||
[?b :block/deadline ?day]
|
||||
)
|
||||
]
|
||||
:inputs [:today]
|
||||
:breadcrumb-show? false
|
||||
}
|
||||
#+END_QUERY
|
||||
-
|
||||
- Unscheduled Tasks #minimal-query
|
||||
background-color:: red
|
||||
- # query-table:: true #.v-self-border #project
|
||||
query-sort-by:: block
|
||||
query-table:: true
|
||||
query-sort-desc:: false
|
||||
#+BEGIN_QUERY
|
||||
{
|
||||
:query
|
||||
[:find (pull ?b [*])
|
||||
:where
|
||||
[?b :block/marker ?marker]
|
||||
(not [?b :block/scheduled ?sch])
|
||||
(not [?b :block/ref-pages [:block/name "equinix"]])
|
||||
[(contains? #{"LATER" "TODO"} ?marker)]]
|
||||
}
|
||||
#+END_QUERY
|
||||
- Equinix
|
||||
background-color:: blue
|
||||
- query-table:: true
|
||||
#+BEGIN_QUERY
|
||||
{
|
||||
:query [:find (pull ?b [*])
|
||||
:where
|
||||
(task ?b #{"NOW" "LATER" "DOING" "TODO"})
|
||||
[?b :block/page ?p]
|
||||
[?r :block/name "equinix"]
|
||||
(or [?b :block/path-refs ?r]
|
||||
[?p :block/tags ?r])]}
|
||||
#+END_QUERY
|
||||
Reference in New Issue
Block a user