Commit Graph

19932 Commits

Author SHA1 Message Date
rcmerci
b711a1694c enhance: use faster eq-fn in hotpath 2025-04-02 15:06:54 +08:00
Tienson Qin
ecba29e9f9 fix: default collapse state 2025-04-02 09:57:56 +08:00
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
Tienson Qin
d34a10fa5d perf: list view 2025-04-02 00:21:43 +08:00
Gabriel Horner
ad64632c1b enhance: export tags for property values 2025-04-01 11:47:33 -04:00
Tienson Qin
031c0ecc51 fix: query result not shown when rendering the block 2025-04-01 21:45:29 +08:00
Tienson Qin
2f9db90303 fix: console error of zero-sized element 2025-04-01 20:39:29 +08:00
Tienson Qin
5b1b4cda71 fix: reactive journals 2025-04-01 20:30:59 +08:00
Tienson Qin
cf31f1b9fa fix: display items count only for the current view 2025-04-01 17:14:53 +08:00
rcmerci
b342d122f2 enhance(rtc): adjust some properties' rtc config 2025-04-01 16:39:39 +08:00
Tienson Qin
4706a33b3b fix: journal border 2025-04-01 16:35:13 +08:00
Tienson Qin
b836bde0a3 enhance: hide references view when there's no ref 2025-04-01 15:50:14 +08:00
Tienson Qin
032c6b9fb2 fix: references 2025-04-01 15:31:01 +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
Tienson Qin
5923f24f56 fix: lint and test 2025-03-31 22:38:34 +08:00
Tienson Qin
1aca680ae4 Merge branch 'feat/db' into perf/app-start 2025-03-31 21:53:37 +08:00
Tienson Qin
4c54427640 move graph view data handler to deps/db 2025-03-31 19:38:02 +08:00
Tienson Qin
f8ea0f94a4 fix: view ops for queries 2025-03-31 17:53:54 +08: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
Tienson Qin
b9c385d2e3 fix: set parent page 2025-03-27 21:40:18 +08: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
Tienson Qin
2bb667fe91 fix: avoid changing recent pages position 2025-03-27 21:11:02 +08:00
rcmerci
df858e1fb4 fix(rtc): ignore :retract when merge update-client-ops 2025-03-27 21:07:05 +08:00
Tienson Qin
591c5e391f fix: make table row reactive 2025-03-27 20:50:19 +08:00
Tienson Qin
5305460694 perf: avoid transacting both blocks and properties to UI db
when displayed in table view
2025-03-27 18:35:40 +08:00
rcmerci
9e719cc58f fix(copy): replace block-uuid in nested block-ref 2025-03-27 17:08:46 +08:00
Tienson Qin
572d6f4390 perf: no need to transact property values to ui db 2025-03-27 17:07:15 +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
Tienson Qin
da74228213 fix: later picked settings should have higher priority for sorting
fix https://test.logseq.com/#/page/67cd8311-b5f6-4974-b18d-038876725b0d
2025-03-27 15:05:16 +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
Tienson Qin
d2162bb805 fix: property value select 2025-03-27 14:02:36 +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