Commit Graph

20494 Commits

Author SHA1 Message Date
Tienson Qin
a63d21cf01 fix: lost editor focus when indent to embed node 2025-07-03 17:25:36 +08:00
Gabriel Horner
39e2967044 fix: batch remove required property
results in invalid entities e.g. invalid class
when extends is removed.
Fixes
https://test.logseq.com/#/page/6864f732-c4ac-4fea-8ef2-c40561e1bde6
2025-07-02 18:29:25 -04:00
Gabriel Horner
48adb2723d fix: batch delete tags breaks pages
Fixes
https://test.logseq.com/#/page/6864f732-c4ac-4fea-8ef2-c40561e1bde6.
Also fix protected property not notifying user
2025-07-02 18:23:10 -04:00
Tienson Qin
6f4e8cc405 perf: defaults to virtualized list for blocks
except for journals and children blocks
2025-07-02 15:21:25 +08:00
Tienson Qin
2023d87f8e perf: get-class-extends 2025-07-02 15:21:25 +08:00
Gabriel Horner
62c618c75d enhance(dev): build :datetime properties for schema graph
Also fix intermittent issue with diffing previous exports and
misleading message for rangeIncludes
2025-07-01 14:57:32 -04:00
Gabriel Horner
5d04681551 fix(dev): rm unnecessary property conflicts for schema graph
Property conflict detection was based on older model where :block/name
was unique and built-in and user properties competed for same name
2025-07-01 12:46:48 -04:00
Gabriel Horner
c315be920f enhance(dev): schema graph builds multiple parents for classes
know that extends is a :many
2025-07-01 11:55:45 -04:00
Tienson Qin
a5c3dda958 fix: lint 2025-07-01 23:05:25 +08:00
Tienson Qin
d8a07234c1 perf: linked references
1. don't use recursive rule `block-parent`
2. using `:block/path-ref` to get both parent and children
3. run `hidden-ref?` check for refs only (not path-refs)
2025-07-01 22:50:19 +08:00
Tienson Qin
a365154eec fix: indentation after an embeded node
fixes https://github.com/logseq/db-test/issues/361
2025-06-30 23:28:47 +08:00
Tienson Qin
a1d1e0b752 fix: typo 2025-06-30 21:10:49 +08:00
Tienson Qin
fa0777c65a fix: can't open empty block with arrow left and right 2025-06-30 21:10:49 +08:00
charlie
c953973cd6 fix: e2e tests 2025-06-30 21:10:49 +08:00
charlie
a97e7ff7ff enhance(ux): visible selected block add button 2025-06-30 21:10:49 +08:00
charlie
afc36f4549 enhance(ux): improve blocks selection for the dummy block button 2025-06-30 21:10:49 +08:00
Tienson Qin
702255adea fix: don't create unnecessary linked/unlinked reference views 2025-06-29 15:43:35 +08:00
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