Auto saved by Logseq

master
Borja Robert 10 months ago
parent 101550c04f
commit 8494c7d19d

@ -20,7 +20,7 @@
;; Define the default journal page template.
;; Enter the template name between the quotes.
:default-templates
{:journals ""}
{:journals "daily-template"}
;; Set a custom date format for the journal page title.
;; Default value: "MMM do, yyyy"
@ -81,7 +81,7 @@
;; the 'scheduled tasks and deadlines' query.
;; Example usage:
;; Display all scheduled and deadline blocks for the next 14 days:
;; :scheduled/future-days 14
:scheduled/future-days 14
;; Default value: 7
;; :scheduled/future-days 7
@ -208,12 +208,12 @@
;; The "NEXT" query returns tasks with "NOW", "LATER", or "TODO" status.
:default-queries
{:journals
[{:title "🔨 NOW"
[{:title "🔨 TODOs"
:query [:find (pull ?h [*])
:in $ ?start ?today
:where
[?h :block/marker ?marker]
[(contains? #{"NOW" "DOING"} ?marker)]
[(contains? #{"TODO" "DOING"} ?marker)]
[?h :block/page ?p]
[?p :block/journal? true]
[?p :block/journal-day ?d]
@ -225,6 +225,23 @@
(get h :block/priority "Z")) result))
:group-by-page? false
:collapsed? false}
{:title "🗄️ Forgotten"
:query [:find (pull ?h [*])
:in $ ?start ?next
:where
[?h :block/marker ?marker]
[?h :block/page ?p]
[?p :page/journal? true]
[?p :page/journal-day ?d]
[(> ?d ?start)]
[(< ?d ?next)]
[(contains? #{"NOW" "DOING" "LATER" "TODO"} ?marker)]]
:inputs [:365d :14d]
:result-transform (fn [result]
(sort-by (fn [h]
(get h :block/priority "Z")) result))
:collapsed? true}
{:title "📅 NEXT"
:query [:find (pull ?h [*])
:in $ ?start ?next
@ -238,7 +255,7 @@
[(< ?d ?next)]]
:inputs [:today :7d-after]
:group-by-page? false
:collapsed? false}]}
:collapsed? true}]}
;; Add custom commands to the command palette
;; Example usage:

@ -20,7 +20,7 @@
;; Define the default journal page template.
;; Enter the template name between the quotes.
:default-templates
{:journals ""}
{:journals "daily-template"}
;; Set a custom date format for the journal page title.
;; Default value: "MMM do, yyyy"
@ -81,7 +81,7 @@
;; the 'scheduled tasks and deadlines' query.
;; Example usage:
;; Display all scheduled and deadline blocks for the next 14 days:
;; :scheduled/future-days 14
:scheduled/future-days 14
;; Default value: 7
;; :scheduled/future-days 7
@ -208,12 +208,12 @@
;; The "NEXT" query returns tasks with "NOW", "LATER", or "TODO" status.
:default-queries
{:journals
[{:title "🔨 NOW"
[{:title "🔨 TODOs"
:query [:find (pull ?h [*])
:in $ ?start ?today
:where
[?h :block/marker ?marker]
[(contains? #{"NOW" "DOING"} ?marker)]
[(contains? #{"TODO" "DOING"} ?marker)]
[?h :block/page ?p]
[?p :block/journal? true]
[?p :block/journal-day ?d]
@ -223,8 +223,25 @@
:result-transform (fn [result]
(sort-by (fn [h]
(get h :block/priority "Z")) result))
:group-by-page? false
:group-by-page? true
:collapsed? false}
{:title "🗄️ Forgotten"
:query [:find (pull ?h [*])
:in $ ?start ?next
:where
[?h :block/marker ?marker]
[?h :block/page ?p]
[?p :page/journal? true]
[?p :page/journal-day ?d]
[(> ?d ?start)]
[(< ?d ?next)]
[(contains? #{"NOW" "DOING" "LATER" "TODO"} ?marker)]]
:inputs [:365d :14d]
:result-transform (fn [result]
(sort-by (fn [h]
(get h :block/priority "Z")) result))
:collapsed? true}
{:title "📅 NEXT"
:query [:find (pull ?h [*])
:in $ ?start ?next
@ -238,7 +255,7 @@
[(< ?d ?next)]]
:inputs [:today :7d-after]
:group-by-page? false
:collapsed? false}]}
:collapsed? true}]}
;; Add custom commands to the command palette
;; Example usage:
@ -419,5 +436,5 @@
:feature/enable-whiteboards? false
:ui/show-brackets? true
:graph/settings {:orphan-pages? false
:journal? true
:journal? false
:excluded-pages? false}}

@ -208,7 +208,7 @@
;; The "NEXT" query returns tasks with "NOW", "LATER", or "TODO" status.
:default-queries
{:journals
[{:title "🔨 TODOs"
[{:title "🔨 COMMING UP"
:query [:find (pull ?h [*])
:in $ ?start ?today
:where
@ -223,7 +223,7 @@
:result-transform (fn [result]
(sort-by (fn [h]
(get h :block/priority "Z")) result))
:group-by-page? false
:group-by-page? true
:collapsed? false}
{:title "🗄️ Forgotten"
:query [:find (pull ?h [*])

Loading…
Cancel
Save