Commit Graph

1926 Commits

Author SHA1 Message Date
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
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
cd0e2d438c chore: nbb.edn does not depend on lambdaisland.glogi 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
Tienson Qin
8a81b02bcc use deferred input for view search 2025-03-26 11:19:22 +08:00
rcmerci
336af2a2db fix(rtc): enable :logseq.property.view/xxx properties rtc-syncing 2025-03-26 01:25:23 +08:00
Tienson Qin
873413a0d6 fix: search view 2025-03-25 20:28:20 +08:00
Tienson Qin
1dbd6f8469 fix: switching between different views 2025-03-25 18:11:58 +08:00
Tienson Qin
521aba97b6 add db/sub-entity for using in react functional components
`db/sub-block` can only be used in class components together with
rum/reactive and db-mixins/query.
2025-03-25 17:15:39 +08:00
Tienson Qin
b117a3ddf3 fix: page refs filter 2025-03-25 12:25:02 +08:00
Tienson Qin
c89bf000c8 move page refs filter to worker 2025-03-25 10:05:09 +08:00
Tienson Qin
ca73932d01 list view blocks group by parent 2025-03-24 15:17:53 +08:00
Tienson Qin
6f3b01d9b0 fix: page backlinks sort 2025-03-24 08:19:59 +08:00
Tienson Qin
9d29829f39 fix: query view 2025-03-23 11:04:20 +08:00
Gabriel Horner
4d58925ad7 fix: uuid nodes and view nodes not grouping by page
They were grouping instead by parent which caused parent blocks to incorrectly
export as pages
2025-03-21 17:10:12 -04:00
Tienson Qin
6e004e349b fix: views on file graphs 2025-03-21 21:30:06 +08:00
Tienson Qin
80ecaea95a fix: rseq raises error of lazyseq on electron 2025-03-21 21:09:54 +08:00
Tienson Qin
a7093caf54 remove :block.temp/top? and :block.temp/bottom? 2025-03-21 20:59:19 +08:00
Tienson Qin
e169666173 using rseq instead of reverse because reverse isn't lazy 2025-03-21 20:46:05 +08:00
Tienson Qin
ea7836ba15 perf: virtualized journals 2025-03-21 17:28:50 +08:00
rcmerci
ca558450c1 Merge remote-tracking branch 'origin/feat/db' into feat/hnswlib+transformer-js 2025-03-21 15:42:50 +08:00
Tienson Qin
d20359080f fix: group-by page render 2025-03-21 13:53:38 +08:00
Tienson Qin
3676bce783 enhance: remove custom linked and unlinked refs implementations
Every view should use the same for loading data, filter and group by.
2025-03-21 12:07:18 +08:00
Gabriel Horner
4495728abd enhance: export+import supports :block/collapsed? 2025-03-20 17:11:26 -04:00
Gabriel Horner
aa77ef199d fix: ident from docs graph couldnt serialize to edn 2025-03-20 16:35:30 -04:00
Gabriel Horner
f3f73e53a0 enhance: graph export+import supports :block/alias 2025-03-20 15:01:50 -04:00
rcmerci
a7273847bc feat(vec-search): debug ui support selecting model 2025-03-20 22:27:56 +08:00
Gabriel Horner
8ed2aeba37 enhance: simplify and speed up graph import
By providing ::export-type we can simplify import handling and
turn off property value translation which. Also adds an option to
sqlite.build which is then used by import
2025-03-19 17:48:16 -04:00
Gabriel Horner
f99a89f9b3 enhance: add :logseq.kv data to graph export
Addresses
https://github.com/logseq/logseq/pull/11784#pullrequestreview-2697690952.
Also improves :set option and removes outdated code in a test
2025-03-19 15:41:12 -04:00
Tienson Qin
e76be2a2c7 handle linked refs and unlinked refs in worker instead of ui thread 2025-03-19 22:00:15 +08:00
Tienson Qin
6d49fcc38b fully loading block when editing
Table view blocks are not transacted to the ui db to not block rendering
2025-03-19 10:53:35 +08:00
Gabriel Horner
210f583cae enhance(dev): add set option for diff script 2025-03-18 13:00:43 -04:00
Gabriel Horner
103af910d0 refactor: provide default for build/prorties-ref-types
Reasonable default reduces building config which could change
2025-03-18 09:54:16 -04:00
Gabriel Horner
332b7a0825 fix: lints and new scripts having same path bugs as feat/db 2025-03-17 12:08:44 -04:00
Gabriel Horner
9b9c22933f fix: built-in pages option
also renamed option and fixed a sorting bug
2025-03-17 11:59:16 -04:00
Gabriel Horner
fafdbb3dbd perf: dont build ontology for graph export
no need to build it twice for most graph export cases
2025-03-17 11:59:16 -04:00
Gabriel Horner
c215617a0f fix extra exported property for graph
and add import option to diff script
2025-03-17 11:59:16 -04:00
Gabriel Horner
5c07ff3fe7 enhance: option to ignore built-ins for graph export
useful for lambda which has buggy built-in pages
2025-03-17 11:59:16 -04:00
Gabriel Horner
c71ec4c441 fix: graph failing to export when there are dupe page titles
graph export mustn't use merge-export-maps
2025-03-17 11:59:16 -04:00
Gabriel Horner
a24a765a1e fix: content ref extraction breaks any export+import 2025-03-17 11:59:16 -04:00
Gabriel Horner
ce8a3eae68 fix: export+import fails on :logseq.property/default-value
This property needs additional config since it has an unusual internal
property type
2025-03-17 11:59:16 -04:00
Gabriel Horner
00da28b95a fix: content refs and property value translation failing graph export
of more complex graphs like lambda
2025-03-17 11:59:16 -04:00
Gabriel Horner
d7721981af enhance: add :exclude-namespaces export option
Useful for graphs with existing ontologies to avoid noisy
and needless exporting. Also update related scripts and noted
that create script has always been able to also update
2025-03-17 11:59:16 -04:00