Fase B1: chain journal pages with previous/next graph links

Adds :logseq.property.journal/previous and /next (built-in, hidden,
single-cardinality node refs) and maintains them in
logseq.outliner.page/create whenever a new journal page is created.
Filling a gap between two already-linked journals re-links both
neighbors around the new page instead of just appending. A migration
backfills the chain across all existing journal pages ordered by day.
This commit is contained in:
2026-08-26 19:02:44 +02:00
parent db7f1fac7d
commit c50511a7b5
5 changed files with 116 additions and 4 deletions

View File

@@ -265,11 +265,24 @@
:public? false
:hide? true}}
:logseq.property.citation/target {:title "Cited page or block"
:schema {:type :node}}
:logseq.property.citation/context {:title "Citation context"
:schema {:type :string}}
;; Journal props
:logseq.property.journal/title-format {:title "Title Format"
:schema
{:type :string
:public? false}}
:logseq.property.journal/previous {:title "Previous journal"
:schema {:type :node
:hide? true
:public? false}}
:logseq.property.journal/next {:title "Next journal"
:schema {:type :node
:hide? true
:public? false}}
:logseq.property/choice-checkbox-state {:title "Choice checkbox state"
:schema {:type :checkbox

View File

@@ -30,7 +30,7 @@
(map (juxt :major :minor)
[(parse-schema-version x) (parse-schema-version y)])))
(def version (parse-schema-version "65.33"))
(def version (parse-schema-version "65.36"))
(defn major-version
"Return a number.