diff --git a/logseq/bak/logseq/config/2024-01-17T14_45_40.444Z.Desktop.edn b/logseq/bak/logseq/config/2024-03-08T09_20_44.265Z.Desktop.edn similarity index 95% rename from logseq/bak/logseq/config/2024-01-17T14_45_40.444Z.Desktop.edn rename to logseq/bak/logseq/config/2024-03-08T09_20_44.265Z.Desktop.edn index f039b32f..0bfb075d 100644 --- a/logseq/bak/logseq/config/2024-01-17T14_45_40.444Z.Desktop.edn +++ b/logseq/bak/logseq/config/2024-03-08T09_20_44.265Z.Desktop.edn @@ -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: diff --git a/logseq/bak/logseq/config/2024-01-17T14_45_46.972Z.Desktop.edn b/logseq/bak/logseq/config/2024-03-08T09_21_22.916Z.Desktop.edn similarity index 95% rename from logseq/bak/logseq/config/2024-01-17T14_45_46.972Z.Desktop.edn rename to logseq/bak/logseq/config/2024-03-08T09_21_22.916Z.Desktop.edn index 3c69243e..4c25ff99 100644 --- a/logseq/bak/logseq/config/2024-01-17T14_45_46.972Z.Desktop.edn +++ b/logseq/bak/logseq/config/2024-03-08T09_21_22.916Z.Desktop.edn @@ -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}} diff --git a/logseq/config.edn b/logseq/config.edn index 0bfb075d..8c1b770e 100644 --- a/logseq/config.edn +++ b/logseq/config.edn @@ -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 [*])