Commit Graph

119 Commits (c29d4a3a70643a783a6fb00da16910c7907626e4)

Author SHA1 Message Date
Gabriel Horner 514b5b5d56 fix: numbered list in db graphs 2024-04-05 15:00:17 -04:00
Tienson Qin ac31842cec Revert "Remove :block/macros"
This reverts commit 21d550de12.
2024-04-05 15:12:56 +08:00
Tienson Qin 7084b53dad Merge branch 'feat/db' into refactor/db-properties-schema 2024-04-03 20:29:11 +08:00
rcmerci a7c8451ce4 refactor(undo): update ns frontend.worker.undo-redo (wip) 2024-04-03 17:59:13 +08:00
Gabriel Horner 12c667fabb Update nbb-logseq to latest datascript 2024-04-02 09:36:28 -04:00
Tienson Qin 1987c455e7 Merge branch 'feat/db' into refactor/db-properties-schema 2024-04-01 15:47:43 +08:00
Tienson Qin d48e45eaa7 enhance: property db ident doesn't allow # 2024-04-01 14:53:25 +08:00
Tienson Qin 21d550de12 Remove :block/macros 2024-04-01 14:22:15 +08:00
Gabriel Horner f728b7b9f6 fix: multiple bugs with built-in pages, fixes LOG-3046
- file graph wasn't creating built in pages
- 3 places where db graphs were incorrectly using file graph built in
  page names
- file graphs creating default pages with incorrect format
2024-03-29 16:21:19 -04:00
Tienson Qin 30053d372b fix: can't edit block type property value after it's deleted 2024-03-30 04:20:42 +08:00
Tienson Qin 9d5008d0a4 bump datascript 2024-03-29 17:48:08 +08:00
Tienson Qin fe922ba035 fix: rename logseq.property/status to logseq.task/status 2024-03-29 16:22:45 +08:00
Tienson Qin 958507262e Merge branch 'feat/db' into refactor/db-properties-schema 2024-03-29 15:51:28 +08:00
Tienson Qin 872bc00216 fix: db ident 2024-03-29 13:04:50 +08:00
Gabriel Horner 9c5309da47 enhance: frontend consistently uses :db/ident
for fetching built-in properties instead of :block/name
2024-03-27 20:36:48 -04:00
Gabriel Horner 9b8540921e enhance: more property helper fns uses db-ident
instead of name
2024-03-25 16:34:51 -04:00
Tienson Qin 33f418b297 wip: properties refactor 2024-03-25 18:56:36 +08:00
Tienson Qin 98d2b92ab1 fix: schema && built-in properties 2024-03-25 10:59:09 +08:00
Tienson Qin 16a927ad00 Bump datascript
Which enables transacting schema like other tx-data.
2024-03-25 09:45:19 +08:00
Tienson Qin 1cad8aa9bd enhance: batch refresh UI after applying remote blocks change
Fixes LOG-3114
2024-03-21 17:38:36 +08:00
Tienson Qin c079f00daf fix: page/block refs lost after syncing from the server 2024-03-21 15:43:17 +08:00
Gabriel Horner 4ba9fea065 enhance: all default db idents are namespaced under logseq
Having consistent namespacing of core idents increases the
number of features they can be used for later
2024-03-18 22:57:24 -04:00
Tienson Qin cd1c71291b fix: conflict datoms from sqlite db and tail
Fixes LOG-3087.
Addressed by fc3645fa4a.
2024-03-17 12:05:44 +08:00
Gabriel Horner 67a7a0a3e9 enhance: Add default namespace of :logseq.property
for db/ident of built-in-properties. Namespacing block identities will
be important for future features. Adding namespacing also fixed some
hidden coupling between identity and name. Also converted a couple more
related :block/name queries to use :db/ident to slowly get us closer to
named blocks
2024-03-15 18:37:15 -04:00
Gabriel Horner 9cdf78ca6a enhance: use db/ident for classes
allows built-in class names to change
2024-03-15 09:22:35 -04:00
Gabriel Horner 96b35c0252 Update nbb-logseq to stub in cljs-bean.transit 2024-03-11 15:19:50 -04:00
Tienson Qin 22a9b61b32 fix: remove :block/metadata
Use built-in properties
2024-03-08 01:01:55 +08:00
Gabriel Horner c6e358c983 fix: outliner test failing b/c not nbb compatible
bumped to latest nbb-logseq which is
2024-03-06 11:06:18 -05:00
Tienson Qin 4c03e58b6c fix: disallow built-in page or property names from being edited
fixes LOG-3049
2024-03-06 21:29:22 +08:00
Tienson Qin eb1270fff9 perf: use datascript.transit instead of edn for ui<>worker messages 2024-03-06 16:48:50 +08:00
Tienson Qin 0bb2778f2b fix: unused macros shouldn't be handled in outliner/save
Fixes LOG-3065.

Deleting blocks could result in unused macros too, we probably should
do this by running periodically job to find and retract all unused
refs (macros, pages, hidden blocks, etc).
2024-03-05 20:18:15 +08:00
rcmerci 92625679b3 fix: fix :block/tags, reuse ref->eid 2024-03-05 19:48:00 +08:00
Tienson Qin 82d5fc6c00 fix: block marker lost in file graph
fixes LOG-2964
2024-02-29 18:35:45 +08:00
Tienson Qin 7be3421e99 fix: can't add tag 2024-02-29 01:30:15 +08:00
rcmerci 6fa4048299 fix: avoid [:block/uuid nil] err when transact 2024-02-28 21:26:01 +08:00
Tienson Qin b7f8a5eef8 fix: enter to create a tagged block 2024-02-24 23:29:12 +08:00
Tienson Qin 5dbaca8638 fix: wrong ns 2024-02-24 22:49:03 +08:00
Tienson Qin 8e5851f251 fix: adding a block property deletes tag ref
fixes LOG-3064
2024-02-24 22:03:49 +08:00
Tienson Qin b1aae957e0 fix: esc doesn't save tags 2024-02-24 16:21:03 +08:00
Tienson Qin 6580edf841 fix: undo/redo 2024-02-23 23:50:44 +08:00
Tienson Qin 6329f6e4e7 perf: async writes 2024-02-23 23:32:24 +08:00
Tienson Qin 86b70c1f6d fix: compute block/refs and block/path-refs after pulling remote 2024-02-23 21:35:11 +08:00
Gabriel Horner a0329fdfff fix: page properties are deleted when block content changes
Fixes LOG-3044. Also added more ref and property info to block data cmd
2024-02-14 12:09:37 -05:00
Gabriel Horner e8010de9c3 fix: outliner vars that should be private 2024-02-09 09:07:29 -05:00
Gabriel Horner 58b2888729 fix: test and lints
also remove unused binding not caught by linter b/c it's used
2024-02-07 12:23:14 -05:00
Tienson Qin 0a028ba235 fix: editor unit tests 2024-02-07 06:38:52 +08:00
Tienson Qin 7e8ab72494 Merge branch 'feat/db' into perf/lazy-load-data 2024-02-07 04:07:40 +08:00
Tienson Qin 140287e3ea perf: don't load properties and classes for initial data
This commit also fixed the issue that some pages such as "Status" will
be shown as lower cased.
2024-02-07 03:45:35 +08:00
Gabriel Horner 6a73ffa5f7 fix: lints and a docstring 2024-02-05 17:03:44 -05:00
Gabriel Horner 232dbf682b fix outliner lint 2024-02-05 14:04:54 -05:00