Commit Graph

19159 Commits

Author SHA1 Message Date
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
1148757ae9 display error if one of the import transacts fail 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
078ac512ad add export graph command
Also add properties :file option. Was useful to compare sqlite.build
EDN w/ export equivalent
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
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
charlie
a9fb790365 fix(ui): image resizing breaks image render https://github.com/logseq/db-test/issues/231 2025-03-17 14:47:49 +08:00
Tienson Qin
ed1f178e96 fix: generate persistent uuid for journal template blocks 2025-03-17 07:42:25 +08:00
Tienson Qin
a551370498 fix: no default set for the available choices stops selection
fixes https://github.com/logseq/db-test/issues/230
2025-03-14 17:23:41 +08:00
Tienson Qin
ad4b1af31e fix: page reference display error 2025-03-14 12:47:57 +08:00
Tienson Qin
8d2025a9ed fix: creating another property when using class as property
for the first time
2025-03-14 12:03:07 +08:00
Tienson Qin
01d8bd5dd7 fix: property key align 2025-03-14 11:52:10 +08:00
Tienson Qin
db52711d14 fix: reorder auto-complete if items are grouped 2025-03-14 11:43:01 +08:00
charlie
c95c2483c2 fix(ui): alignments for the property text key 2025-03-14 11:33:14 +08:00
Gabriel Horner
0cc9205e99 enhance(dev): option to query multiple graphs 2025-03-13 16:00:01 -04:00
Gabriel Horner
14091b42d8 fix: properties with closed value have incorrect title
was using ident instead of :block/title
2025-03-13 15:52:18 -04:00
Gabriel Horner
551070fb0c chore: frontend lint
would normally fix but would cause conflicts w/ other PRs
2025-03-13 15:50:18 -04:00
charlie
33cbf0f752 fix(ui): incorrect ref update causing render infinite loop 2025-03-13 19:12:05 +08:00
charlie
504cce5d5d fix(ui): Incorrect hierarchy affects the functionality of the button tag 2025-03-13 12:30:00 +08:00
Sean Casey
24ab09bd2c .github/workflows: update download-artifact actions to v4 2025-03-13 04:30:04 +08:00
Tienson Qin
5233e1e074 Merge pull request #11763 from logseq/feat/blocks-action-bar
feat: action bar on selected blocks
2025-03-13 04:29:37 +08:00
Tienson Qin
5ea345d872 style tweaks 2025-03-13 04:27:55 +08:00
Tienson Qin
8a07115bd2 fix: batch set icon 2025-03-13 03:37:15 +08:00
Gabriel Horner
0c3398a58f fix: new property showing up in unset property selection 2025-03-12 14:28:46 -04:00
Gabriel Horner
3ab8c77bc8 fix: file graphs showing db specific actions 2025-03-12 14:07:03 -04:00
Tienson Qin
35275616b3 fix: can't add :checkbox property object 2025-03-13 00:33:59 +08:00
Tienson Qin
50314f025c add unset property 2025-03-13 00:19:24 +08:00
Tienson Qin
f62acee175 Merge branch 'feat/db' into feat/blocks-action-bar 2025-03-12 18:05:38 +08:00
Tienson Qin
d62ae19cce enhance: style tweaks 2025-03-12 18:02:42 +08:00
Tienson Qin
5f39346c8d enhance: don't close property value select after setting :many value 2025-03-12 17:58:13 +08:00
Tienson Qin
60225db3e5 fix: create new blocks for :default and :url when batch setting 2025-03-12 17:44:22 +08:00