Commit Graph

1657 Commits

Author SHA1 Message Date
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
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
702255adea fix: don't create unnecessary linked/unlinked reference views 2025-06-29 15:43:35 +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
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
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
cb88d84a5e fix: dnd-kit sortable items require ids 2025-06-25 18:30:35 +08:00
charlie
08b824934c Merge branch 'master' into feat/capacitor-new 2025-06-25 14:06:52 +08: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
Tienson Qin
3c52bced5c Merge branch 'master' into feat/capacitor-new 2025-06-22 21:39:37 +08:00
Tienson Qin
b5f0a4d236 fix: building search index shouldn't blocked by one block
related to https://github.com/logseq/db-test/issues/332
2025-06-22 10:22:02 +08:00
Tienson Qin
119485fafb enhance(perf): reduce get-block calls when children have been loaded 2025-06-19 22:21:45 +08:00
Tienson Qin
b6c06b692a enhance(perf): reduce <get-block calls for children 2025-06-19 21:31:16 +08:00
Tienson Qin
0047730991 enhance(perf): sort view data using datoms when possible 2025-06-19 19:26:09 +08:00
Tienson Qin
21a9b37ed0 enhance(perf): render references after table has been loaded
Also, use search index to check whether there're unlinked refs.
2025-06-19 18:37:02 +08:00
Tienson Qin
6c14572e9e perf: lazy render references 2025-06-19 16:37:48 +08:00
Tienson Qin
5d6f5ad8dd fix: a few bugs on sentry 2025-06-19 14:33:22 +08:00
Tienson Qin
477029d2ed fix(regression): assets referenced in blocks do not load correctly
on initial graph load

fixes https://test.logseq.com/#/page/6852fb42-bb45-486c-82cc-23ce9a4013d4
2025-06-19 14:11:52 +08:00
Gabriel Horner
ca108e9ea6 fix: remove test and export support for tags
that doubled as properties. Follow up to
https://test.logseq.com/#/page/684af61f-7cf9-4680-a7da-e7f647332e0c
2025-06-18 15:52:53 -04:00
Gabriel Horner
4a6a3f8169 fix: schema not validating extends
Properties that are validated in a top-level schema need to be declared
in exceptions-to-block-properties. Also remove unused attribute for empty-placeholder
2025-06-18 15:26:14 -04:00
Tienson Qin
785e5b3203 fix: remove :block/order for tags 2025-06-19 00:58:48 +08:00
Tienson Qin
170b0a9a81 fix: migrate for using properties as tags 2025-06-18 23:06:02 +08:00
Tienson Qin
9bb6842b1e fix: missing db/ident for inline tags 2025-06-18 21:57:57 +08:00
Tienson Qin
54a82f38cd fix: load all user datoms when opening a graph 2025-06-18 18:32:21 +08:00
Tienson Qin
e09b8ca97e fix: task status in references are not loaded when rendering 2025-06-18 16:52:06 +08:00
Tienson Qin
e5a75db04d fix: tag properties migration 2025-06-18 14:28:46 +08:00
Tienson Qin
0158194815 fix: block/tags are not displayed on table view 2025-06-18 12:26:13 +08:00
Tienson Qin
53e0d1a4ca enhance: put library page name to config to make it easier to rename 2025-06-18 08:25:47 +08:00
Tienson Qin
7b46076170 Merge branch 'master' into refactor/page-parent 2025-06-17 19:44:34 +08:00
Tienson Qin
3b718f70c8 enhance(ux): render blocks by their orders (#11948)
* enhance: render nested children when rendering its parent

except that for long pages (500+ blocks).

* refactor: rename :block.temp/fully-loaded? to :block.temp/load-status

* fix: tests

* enhance: define keyword :block.temp/load-status

* update to :self

* chore: remove buggy parent cycle detect

* enhance(ux): don't delay rendering block properties

---------

Co-authored-by: rcmerci <rcmerci@gmail.com>
2025-06-17 19:41:13 +08:00