Commit Graph

2986 Commits

Author SHA1 Message Date
Gabriel Horner
04d39d8de8 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-03 17:35:34 +08:00
Tienson Qin
d0c54bb2b6 fix: lint 2025-07-03 17:34:38 +08:00
Tienson Qin
d46e97fafe 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-03 17:34:14 +08:00
Tienson Qin
38cdc875e0 perf: get-class-extends 2025-07-02 15:23:30 +08:00
Tienson Qin
18d607a27e fix: lint 2025-07-02 15:23:01 +08:00
Tienson Qin
d4b37189a0 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-02 15:23:01 +08:00
Tienson Qin
1f18aeb8c9 fix(mobile): table view scroll container 2025-07-01 10:33:16 +08:00
Tienson Qin
f339d0a712 enhance(ux): remove #Task from todos when toggle Done 2025-07-01 10:21:46 +08:00
Tienson Qin
90a776edf1 enhance(ux): hide #Task by default on mobile 2025-07-01 08:54:35 +08:00
Tienson Qin
13305e3169 Merge branch 'master' into feat/capacitor-new 2025-07-01 08:06:47 +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
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
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
charlie
b6e3e98990 Merge branch 'master' into feat/capacitor-new 2025-06-28 11:06:25 +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
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
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
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
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
charlie
b68c305872 Merge branch 'master' into feat/capacitor-new 2025-06-26 09:55:02 +08: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
charlie
08b824934c Merge branch 'master' into feat/capacitor-new 2025-06-25 14:06:52 +08:00
Gabriel Horner
9f924dd587 chore: remove dev flag 2025-06-24 10:40:02 -04:00
Gabriel Horner
e4ffd13340 fix: tags can have duplicate names
Tags should not have duplicate names regardless of their
extends or if they're built-in or not.
Fixes https://github.com/logseq/db-test/issues/338 and fixes
https://github.com/logseq/db-test/issues/349
2025-06-24 08:35:49 -04:00
Tienson Qin
c770c91409 fix: url type validation
This commit also fixes the unknown error in db validations.

fixes https://github.com/logseq/db-test/issues/348
2025-06-24 12:25:07 +08:00
Gabriel Horner
42f0519797 fix: import property that changes from :node to :default
on same page :as :node property is defined. Also affects :date ->
:default. Fixes https://github.com/logseq/db-test/issues/340
2025-06-23 14:02:28 -04:00
Gabriel Horner
957eab73d8 fix: import fails on query sort with built-in properties
Fix for https://github.com/logseq/db-test/issues/341
2025-06-23 09:17:26 -04:00
Gabriel Horner
58d3abbafb fix: use ast blocks for simple queries conversions
Fixes cases where {{query nested in BEGIN_* blocks were incorrectly
being converted to queries. Also made ast block handling faster
by only doing one prewalk and cleaned up handling of queries
2025-06-23 19:04:03 +08:00
Gabriel Horner
cc05518ea5 fix: use ast blocks for advanced queries conversion
Fixes cases where BEGIN_QUERY nested in BEGIN_SRC were incorrectly
being converted to queries e.g. most queries in
https://docs.logseq.com/#/page/advanced%20queries
2025-06-23 19:04:03 +08:00
Gabriel Horner
507ff3ce29 enhance: import page and block embeds
One embed per block as that's what DB version supports.
Fixes https://github.com/logseq/db-test/issues/198
2025-06-23 19:04:03 +08:00
Tienson Qin
3c52bced5c Merge branch 'master' into feat/capacitor-new 2025-06-22 21:39:37 +08:00