Commit Graph

19231 Commits

Author SHA1 Message Date
Gabriel Horner
798928aed5 refactor: clean up mutually recursive fns
Better to localize dependent fns than to make them circular dependencies
2025-04-01 14:56:38 -04:00
Gabriel Horner
a1bd567906 fix: build+export of closed :many property values 2025-04-01 13:42:42 -04:00
Gabriel Horner
ad64632c1b enhance: export tags for property values 2025-04-01 11:47:33 -04:00
rcmerci
b342d122f2 enhance(rtc): adjust some properties' rtc config 2025-04-01 16:39:39 +08:00
Gabriel Horner
29ac5a9c18 enhance: export+import property value properties
For https://github.com/logseq/db-test/issues/242. Also added timestamp
support for proprety values
2025-03-31 18:24:11 -04:00
Gabriel Horner
1e29c9ee15 enhance: add sqlite.build support for properties on property values
Needed for export in https://github.com/logseq/db-test/issues/242
2025-03-31 17:04:45 -04:00
Gabriel Horner
bc47905416 fix: can't navigate to journal page in file graphs
Occurred when home page was configured
Fixes
https://test.logseq.com/#/page/67ea96a6-067c-4569-a02a-6ff8d43619a0
2025-03-31 10:44:17 -04:00
rcmerci
f38b09f51f Merge pull request #11795 from logseq/refactor/remove-deftype-main
refactor: remove deftype Main
2025-03-29 14:15:15 +08:00
Gabriel Horner
6209bd0ae2 fix: block/collapsed? not built for properties 2025-03-28 11:16:06 -04:00
Gabriel Horner
dd4b68a140 fix: export for overlapping property+class
overlapping entity with blocks was exporting duplicate blocks
2025-03-28 10:39:20 -04:00
rcmerci
12e6284bbe refactor: add <invoke-main-thread 2025-03-28 21:49:05 +08:00
rcmerci
0f1ceef31c refactor: add thread-apis for ui-thread 2025-03-28 21:11:08 +08:00
rcmerci
631fdcafee feat(rtc): add rtc-add-migration-client-ops for debug&fix 2025-03-28 18:29:37 +08:00
Gabriel Horner
872b130eec fix: export of class + property aliases 2025-03-27 17:27:47 -04:00
Gabriel Horner
9dfb6713ca enhance: export+import supports properties
that double/overlap as classes
2025-03-27 17:02:32 -04:00
Gabriel Horner
e5061f1504 enhance: add export option to exclude-files
Useful for demo graphs as it's noisy and not useful to include since
imported graphs already have it. Also added descriptions for properties
graph to share it
2025-03-27 09:13:14 -04:00
Gabriel Horner
144ad2623c enhance: export+import of class + property page blocks 2025-03-27 09:13:14 -04:00
rcmerci
df858e1fb4 fix(rtc): ignore :retract when merge update-client-ops 2025-03-27 21:07:05 +08:00
rcmerci
9e719cc58f fix(copy): replace block-uuid in nested block-ref 2025-03-27 17:08:46 +08:00
rcmerci
4b939e8265 fix: support args direct-passthrough to db-worker
:thread-api/import-db's arg is a js arraybuffer, which is unable to be transit-write
2025-03-27 16:44:43 +08:00
rcmerci
434c9a67a7 Merge pull request #11790 from logseq/refactor/remove-defclass
refactor: remove defclass DBWorker
2025-03-27 14:36:52 +08:00
Gabriel Horner
61775b3e4d fix: user page crashing b/c of nil search results
Search shouldn't return this but this is a guard against
Fixes crashing page in https://github.com/logseq/db-test/issues/236
2025-03-26 14:09:58 -04:00
Gabriel Horner
1dee44aa40 chore: split overly large migration and fix lint 2025-03-26 11:42:02 -04:00
Gabriel Horner
0233adfebd fix: remove invalid page-less blocks
Also improve validation error message so it's clear what next steps are
2025-03-26 11:30:54 -04:00
Gabriel Horner
11f765638e fix: invalid graphs b/c of blocks with missing title 2025-03-26 11:10:04 -04:00
Gabriel Horner
638cb6e65f fix: export failing for some uses of :block/alias 2025-03-26 10:58:23 -04:00
Gabriel Horner
17acbbc8d4 enhance(dev): option to catch export validation errors
to write invalid edn and debug issues quicker
2025-03-26 10:25:54 -04:00
rcmerci
7913bb9bf6 chore: add a TODO to simplify ldb/read-transit-str later 2025-03-26 21:27:21 +08:00
rcmerci
ea4f872962 refactor: use <invoke-db-worker to replace @*db-worker (2) 2025-03-26 19:23:03 +08:00
rcmerci
5a87b609a5 refactor: use <invoke-db-worker to replace @*db-worker 2025-03-26 19:04:22 +08:00
rcmerci
cd0e2d438c chore: nbb.edn does not depend on lambdaisland.glogi 2025-03-26 16:47:28 +08:00
rcmerci
4c1179dff8 fix: passed the wrong wrapped-worker before 2025-03-26 16:47:28 +08:00
rcmerci
2bfb6bf5f1 fix: remove some ldb/read-transit-str calls 2025-03-26 16:47:28 +08:00
rcmerci
cae3084f9c refactor: use the namespace "thread-api" for all thread-api keywords 2025-03-26 16:47:28 +08:00
rcmerci
961a143aa1 refactor: remove unnecessary ldb/read-transit-str 2025-03-26 16:47:28 +08:00
rcmerci
a99149d6c6 fix lint 2025-03-26 16:47:28 +08:00
rcmerci
7ca1fe7569 refactor: unify the transit-read/write for the return values of the thread-api 2025-03-26 16:47:28 +08:00
rcmerci
b99581968a fix lint 2025-03-26 16:47:28 +08:00
rcmerci
1151b33df4 refactor: remove defclass DBWorker 2025-03-26 16:47:28 +08:00
rcmerci
b7d65b82e3 refactor(wip): add def-thread-api, and move fns from class DBWorker 2025-03-26 16:47:28 +08:00
rcmerci
d0422948cb fix: add some comments for logseq.common.defkeywords 2025-03-26 02:08:30 +08:00
rcmerci
336af2a2db fix(rtc): enable :logseq.property.view/xxx properties rtc-syncing 2025-03-26 01:25:23 +08:00
rcmerci
4036a36f46 test(rtc): add ut for remote-op-value->tx-data 2025-03-26 01:18:43 +08:00
rcmerci
58dd5a8f19 fix(rtc): ignore pre-configured attrs when remote-op-value->tx-data 2025-03-26 01:18:43 +08:00
Gabriel Horner
d6bb065959 fix: publishing failing to load due to nonexistent conn 2025-03-25 12:16:04 -04:00
charlie
0cf44976e5 Merge branch 'feat/db' of https://github.com/logseq/logseq into feat/db 2025-03-25 15:01:39 +08:00
charlie
3d2285f090 chore(plugin): build libs core 2025-03-25 15:01:24 +08:00
charlie
ad1bc36811 chore(dev): remove warning 2025-03-25 14:59:02 +08:00
charlie
2bc243da0d enhance(ui): improvements for the narrow screen 2025-03-25 14:58:29 +08:00
Gabriel Horner
92ff2a5436 fix: export edn should always be accessible in view 2025-03-24 12:44:51 -04:00