rcmerci
cf4e43e126
fix: remove wrong cond when delete-blocks
2024-04-16 18:58:40 +08:00
Gabriel Horner
8ac39b3cbb
fix: adding new properties for some property actions
...
Also removed duplicate helper fn
2024-04-12 21:53:04 -04:00
Tienson Qin
1a9608bda1
fix: property handler with the new properties pair storage
2024-04-12 01:17:37 +08:00
Tienson Qin
210be5aaca
fix: creating redundant pages when editing a block
2024-04-08 01:25:48 +08:00
Tienson Qin
b9195e40e5
Merge branch 'refactor/db-properties-schema' into refactor/db-remove-block-name-unique
2024-04-06 07:59:06 +08:00
Gabriel Horner
514b5b5d56
fix: numbered list in db graphs
2024-04-05 15:00:17 -04:00
Tienson Qin
0bc8d1c3b1
Merge branch 'refactor/db-properties-schema' into refactor/db-remove-block-name-unique
2024-04-05 15:16:13 +08:00
Tienson Qin
ac31842cec
Revert "Remove :block/macros"
...
This reverts commit 21d550de12 .
2024-04-05 15:12:56 +08:00
Tienson Qin
bf539751a8
disable rtc merge tests for now
2024-04-04 15:57:49 +08:00
Tienson Qin
c018f1517d
perfer to use get-page instead of get-first-page-by-name
2024-04-04 15:57:48 +08:00
Tienson Qin
60d4fca0ba
wip: remove :block/name uniqueness for db based graphs
...
This PR also remove supports for:
1. merge pages when renaming a page to existing page
2. namespaces such as a/b/c
3. nested page such as [[a [[nested page]]]]
Pages merge might be added back depends on RTC, but it should be
decoupled from renaming, otherwise it's too complex.
Namespaces and nested pages have been contributed some critical bugs
that lead data-loss, they're so complex together with page alias,
it's just impossible to have a good test coverage and ensure the app
is stable, especially when page rename and RTC.
2024-04-04 15:57:48 +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