Commit Graph

3732 Commits

Author SHA1 Message Date
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
Gabriel Horner
c85ce5b17c fix: page property values that are uuids weren't exported
causes more complex schema graph to fail to export
2025-03-17 11:59:16 -04:00
Gabriel Horner
c344f4a577 CLI can create graphs from exported sqlite.build EDN 2025-03-17 11:59:13 -04:00
Gabriel Horner
9232d10ac2 Provide consistent sort for graph's pages-and-blocks
Also allow full timestamp test now that all timestamp issues are fixed
2025-03-17 11:58:30 -04:00
Gabriel Horner
3dd196d8f8 fix duplicate pages in imported graph for page property values
Don't use :build/page for graph exports as it leads to needless
complexity when reconciling referenced nodes
2025-03-17 11:58:30 -04:00
Gabriel Horner
ab9796ae60 Add scripts for exporting and diffing graphs
Allows for quick export<->import QA of more complex graphs
and any examples made in app
2025-03-17 11:58:30 -04:00
Gabriel Horner
25efc164c6 add graph export support for property + class refs
Also fixed class + property refs forgetting keep-uuid?.
Also moved test helpers
2025-03-17 11:58:30 -04:00
Gabriel Horner
fae1e8a6cb graph export optionally exports timestamps 2025-03-17 11:58:30 -04:00
Gabriel Horner
5d1e532122 fix: graph exports with pvalue classes or properties failed 2025-03-17 11:58:30 -04:00
Gabriel Horner
c67745c4fa refactor: sqlite.build was adding noisy
uuid indices for every block. uuid indices are only needed
for referenced uuids
2025-03-17 11:58:30 -04:00
Gabriel Horner
29eff25887 fix: property closed values were not importing correctly from graph export
They need their uuids to import for blocks
2025-03-17 11:58:30 -04:00
Gabriel Horner
e0a7418ad2 Add pvalue uuid support to graph export 2025-03-17 11:58:30 -04:00
Gabriel Horner
a7b586b2b0 add export+import support for files 2025-03-17 11:58:30 -04:00
Gabriel Horner
e896641f6e add block/link support for graphs and
confirm views and favorites work
2025-03-17 11:58:30 -04:00
Gabriel Horner
27f81c3325 enhance: basic graph export of pages and blocks
Still doing redundant properties and classes. Content refs partially
work and uuid refs are todo
2025-03-17 11:58:30 -04:00
Tienson Qin
36b5778bf2 don't include block property values for all pages 2025-03-17 23:31:16 +08:00
Gabriel Horner
fecb42f49d fix(dev): deps scripts not handling relative and absolute paths for graphs
transact and create didn't handle relative paths. All scripts except
import didn't handle absolute paths
2025-03-17 11:09:44 -04:00