2024-01-07 10:00:13 +00:00
|
|
|
- # Project
|
|
|
|
template:: project
|
|
|
|
template-including-parent:: false
|
2024-01-06 19:24:10 +00:00
|
|
|
- ## Meta
|
2024-01-06 20:52:09 +00:00
|
|
|
Type:: [/[project]]
|
2024-01-06 19:24:10 +00:00
|
|
|
Tags:: project
|
2024-01-06 22:02:23 +00:00
|
|
|
icon:: 📂
|
2024-01-06 20:52:09 +00:00
|
|
|
title::
|
2024-01-06 19:24:10 +00:00
|
|
|
Status:: [/[Idea]] [/[Planned]] [/[Active]] [/[Completed]]
|
|
|
|
Team::
|
|
|
|
Lead::
|
|
|
|
Goals::
|
|
|
|
Start::
|
|
|
|
End::
|
|
|
|
areas::
|
|
|
|
priority::
|
|
|
|
- ## Objective/Goal
|
2024-01-06 22:02:23 +00:00
|
|
|
-
|
2024-01-06 19:24:10 +00:00
|
|
|
- ## Scope
|
2024-01-06 22:02:23 +00:00
|
|
|
-
|
2024-01-06 19:24:10 +00:00
|
|
|
- ## Project Kickoff Checklist
|
2024-01-06 22:02:23 +00:00
|
|
|
-
|
2024-01-06 19:24:10 +00:00
|
|
|
- ## Tasklist
|
2024-01-06 20:52:09 +00:00
|
|
|
- TODO Setup project page
|
2024-01-06 19:24:10 +00:00
|
|
|
- ## Tasks
|
|
|
|
- {{query (and <% current page %> (task LATER))}}
|
|
|
|
- ## Resources
|
|
|
|
- ## Notes
|
|
|
|
- ### Project Meta
|
|
|
|
- DOING [#B] #project <% current page %>
|
|
|
|
- query-table:: false
|
2024-01-06 22:02:23 +00:00
|
|
|
#+BEGIN_QUERY
|
|
|
|
{:title [:h2 "Related Tasks"]
|
|
|
|
:query [:find (pull ?b [*])
|
|
|
|
:in $ ?query-page
|
|
|
|
:where
|
|
|
|
[?p :block/name ?query-page]
|
|
|
|
[?b :block/marker ?marker]
|
|
|
|
[?b :block/refs ?p]
|
|
|
|
[?ref :block/name "project"]
|
|
|
|
(not [?b :block/refs ?ref])
|
|
|
|
[(contains? #{"TODO" "DOING" "NOW" "LATER" "WAITING"} ?marker)]]
|
|
|
|
:inputs [:query-page]
|
|
|
|
:result-transform (fn [result]
|
|
|
|
(sort-by (fn [b]
|
|
|
|
(get b :block/priority "Z")) result))
|
|
|
|
:breadcrumb-show? false
|
|
|
|
:group-by-page? false
|
|
|
|
:collapsed? false
|
|
|
|
}
|
|
|
|
#+END_QUERY
|
|
|
|
#+BEGIN_QUERY
|
|
|
|
{:title [:h2 "Checklist"]
|
|
|
|
:query [:find (pull ?b [*])
|
|
|
|
:in $ ?tag
|
|
|
|
:where
|
|
|
|
[?b :block/marker ?marker]
|
|
|
|
[(contains? #{"TODO"} ?marker)]
|
|
|
|
(page-ref ?b ?tag)
|
|
|
|
[?ref :block/name "project"]
|
|
|
|
(not [?b :block/refs ?ref])]
|
|
|
|
:inputs [:query-page]
|
|
|
|
:result-transform (fn [result]
|
|
|
|
(sort-by (fn [b]
|
|
|
|
(get b :block/priority "Z")) result))
|
|
|
|
:breadcrumb-show? true
|
|
|
|
:table-view? false
|
|
|
|
}
|
|
|
|
#+END_QUERY
|
|
|
|
#+BEGIN_QUERY
|
|
|
|
{:title [:h2 "Completed Related Tasks"]
|
|
|
|
:query [:find (pull ?b [*])
|
|
|
|
:in $ ?query-page
|
|
|
|
:where
|
|
|
|
[?p :block/name ?query-page]
|
|
|
|
[?b :block/marker "DONE"]
|
|
|
|
[?b :block/refs ?p]
|
|
|
|
[?ref :block/name "project"]
|
|
|
|
(not [?b :block/refs ?ref])
|
|
|
|
]
|
|
|
|
:inputs [:query-page]
|
|
|
|
:result-transform (fn [result]
|
|
|
|
(sort-by (fn [b]
|
|
|
|
(get b :block/priority "Z")) result))
|
|
|
|
:breadcrumb-show? false
|
|
|
|
:group-by-page? false
|
|
|
|
:collapsed? false
|
|
|
|
}
|
|
|
|
#+END_QUERY
|