Commit Graph

20477 Commits

Author SHA1 Message Date
Tienson Qin
84b83397cc enhance: remove parent extends when setting a child class for extends 2025-06-29 15:21:09 +08:00
Tienson Qin
6b13406e92 fix: remove extends class adds Root Tag 2025-06-29 15:21:09 +08:00
Gabriel Horner
a1967ef748 fix: db lint
also move class fn to db-class
2025-06-29 15:21:09 +08:00
Gabriel Horner
1ae6e5ceb5 fix: build doesn't fail if one extends
doesn't have a class-db id. Also fix export
which should always export extends unless it's the default
2025-06-29 15:21:09 +08:00
Gabriel Horner
268889d0b7 chore: rename sqlite.build :build/class-parent to :build/class-extends
Matches new property name and its arity. :build/class-parent deprecated
2025-06-29 15:21:09 +08:00
Tienson Qin
c07d8a6a6e fix: tests 2025-06-29 15:21:09 +08:00
Tienson Qin
ded9c8e517 fix: update :build/class-parent to multiple values 2025-06-29 15:21:09 +08:00
Tienson Qin
6902578358 add migration for tag extends 2025-06-29 15:21:09 +08:00
Tienson Qin
9c49f63a6f add tests for extends cycle validation 2025-06-29 15:21:09 +08:00
Tienson Qin
326ed9f753 fix: prevent extends cycle 2025-06-29 15:21:09 +08:00
Tienson Qin
1c44bc47f0 fix: disallow creating new tag in extends select 2025-06-29 15:21:09 +08:00
Tienson Qin
9bede53a34 fix: tests 2025-06-29 15:21:09 +08:00
Tienson Qin
cc39c1c1fb refactor: extends support multiple tags 2025-06-29 15:21:09 +08:00
Tienson Qin
f830bccadf fix: invalid block when adding existing pages to library 2025-06-28 00:44:56 +08:00
Gabriel Horner
7968058d4b fix: asset links with regex characters not getting updated
Fixes https://github.com/logseq/db-test/issues/358
2025-06-27 10:51:18 -04:00
Tienson Qin
3cd604787f fix: remove block.temp/* attrs from vector tx-data 2025-06-27 22:30:35 +08:00
Gabriel Horner
b6cb12445c enhance(dev): schema CLI supports optional export
instead of dump option. Dump option required some maintenance and and
export has the advantage of being able to save the created graph. The
only thing that dump had over export was refs which really shouldn't
change now that we've standardized on them with db-pipeline/add-listener
2025-06-26 17:57:05 -04:00
Gabriel Horner
32a29f5f3d enhance(dev): CLI can diff other export types 2025-06-26 17:02:14 -04:00
Gabriel Horner
16ac807894 enhance: import + sqlite.build supports classes and properties
from multiple namespaces
2025-06-26 16:57:39 -04:00
Gabriel Horner
7a7995e96f fix: test affected by option alias change 2025-06-26 14:08:30 -04:00
Gabriel Horner
0cb5c99502 enhance(dev): CLI can export other types e.g. graph-ontology 2025-06-26 12:12:50 -04:00
Tienson Qin
7037a84137 fix: failed to export EDN because default value property refed 2025-06-26 18:40:06 +08:00
Tienson Qin
2ec76caed7 fix: export datoms urls 2025-06-26 18:24:54 +08:00
Tienson Qin
2635301951 fix: invalid blocks caused by separating classes and properties 2025-06-26 18:20:29 +08:00
charlie
593aca94c0 fix: lint 2025-06-26 17:15:38 +08:00
charlie
3a66ea8920 enhance(plugins): improve get db indent from the plugin caller 2025-06-26 17:15:38 +08:00
Charlie
62eaf3ae6b Update src/main/logseq/api/block.cljs
Co-authored-by: Gabriel Horner <97210743+logseq-cldwalker@users.noreply.github.com>
2025-06-26 17:15:38 +08:00
charlie
89c5e61daf fix(apis): types & incorrect property key for plugin caller 2025-06-26 17:15:38 +08:00
charlie
d80be20c28 fix: lint 2025-06-26 17:15:38 +08:00
charlie
f4badf1321 fix(apis): e2e tests 2025-06-26 17:15:38 +08:00
charlie
f81849149d enhance(plugins): add more property related e2e tests 2025-06-26 17:15:38 +08:00
charlie
d80d9a46d4 fix(apis): upsert property for the user property 2025-06-26 17:15:38 +08:00
charlie
9291e877c8 enhance(plugins): WIP add property related e2e tests 2025-06-26 17:15:38 +08:00
charlie
0a462208cb enhance(plugins): WIP add more block property related e2e tests 2025-06-26 17:15:38 +08:00
charlie
388cddb08e enhance(plugins): add block related e2e tests 2025-06-26 17:15:38 +08:00
charlie
0c300d0a3d fix(apis): upsert block property 2025-06-26 17:15:38 +08:00
charlie
69b779e9a2 enhance(apis): parse property value for the json string 2025-06-26 17:15:38 +08:00
charlie
4fa8e092f2 enhance(apis): limited prefix for the user/plugin block property key 2025-06-26 17:15:38 +08:00
charlie
87474891f5 enhance(apis): improve block properties apis 2025-06-26 17:15:38 +08:00
charlie
702e8e26cf fix(apis): upsert block property 2025-06-26 17:15:38 +08:00
Tienson Qin
bbbb2f32a8 fix: delete default property values when deleting blocks
fixes
https://test.logseq.com/#/page/685c3794-3b3e-4909-9292-9c0cdf0d1d80
fixes
https://test.logseq.com/#/page/685c38a1-3e2d-4089-b34d-add09ef9a20f
fixes
https://test.logseq.com/#/page/685aad5f-67dc-48c8-9e7c-6505baaa9074
2025-06-26 13:20:42 +08:00
Gabriel Horner
a7562d7f26 chore: Rename 'All pages' to 'Pages'
Simplifies pages screen name to be consistent with other sidebar
items e.g. Tasks and Journals. Deleted all affected translations
since they are no longer valid translations
2025-06-26 12:28:19 +08:00
Gabriel Horner
33464da59a fix: wording in messages
"Are you sure to" isn't standard grammar. Em dash isn't common
punctuation
2025-06-25 16:03:09 -04:00
Gabriel Horner
0f3957ace8 fix: :block/alias not exported with :page export
Fixes https://github.com/logseq/db-test/issues/305
2025-06-25 15:08:16 -04:00
Tienson Qin
e443bbca9c fix: lint 2025-06-25 18:41:34 +08:00
Tienson Qin
cb88d84a5e fix: dnd-kit sortable items require ids 2025-06-25 18:30:35 +08:00
Tienson Qin
cbfe85523c fix: unset property can break system nodes/pages
fixes https://github.com/logseq/db-test/issues/354
2025-06-25 17:39:41 +08:00
Tienson Qin
6f269462ab fix: hide page history menu for db graphs
fixes https://github.com/logseq/db-test/issues/355
2025-06-25 16:41:12 +08:00
Tienson Qin
1aa21ecd8a fix: images in table view 2025-06-25 16:37:20 +08:00
Tienson Qin
d14cfb07bc fix: asset display in property value 2025-06-25 16:25:55 +08:00