Tienson Qin
9b8a8e7da5
enhance: implement ISeqable and IPrintwithwriter for EntityPlus
2024-08-08 13:43:18 +08:00
Tienson Qin
75463c4df4
fix: don't depend frontend.(db|state) in worker ns
2024-08-08 10:34:03 +08:00
Gabriel Horner
3d8e579e67
refactor: decouple block extraction for db graphs and exporting
...
Coupling db graph app to export needs could lead to bugs and is harder
to maintain. Also fix a test assertion
2024-08-07 18:12:31 -04:00
Gabriel Horner
dcb73b1003
fix: db import of advanced queries
...
Fixes LOG-3082
2024-08-07 16:30:20 -04:00
Gabriel Horner
66439dde68
fix: db import of markdown tables and multiline blocks
...
Fixes LOG-3072 and fixes LOG-3070
2024-08-07 12:33:13 -04:00
Gabriel Horner
f74e5fbad7
fix: remove unused built-in property
...
Stop being used in #11311
2024-08-06 15:56:50 -04:00
Gabriel Horner
f811ab242c
fix: test count changed by #11458
2024-08-06 15:53:07 -04:00
Gabriel Horner
4b4fa45ae2
fix: db import broken by type changes in #11458 and other import bugs
...
New data model of allowing a single :block/type failed a lot of import tx
because properties and class types could be overwritten by a single page ref.
Also this fixes page-properties-tx which wasn't just transacting the
page properties. Also fixes importing pages like 'Tags' which were
incorrectly getting associated to built-in properties with the same name
2024-08-06 15:35:21 -04:00
Tienson Qin
72552d6224
fix: avoid :block/refs self cycle
2024-08-06 15:21:13 +08:00
Tienson Qin
c1c6197b9b
fix: pages of different types can use the same name
2024-08-06 13:08:35 +08:00
Tienson Qin
9c60742519
Merge branch 'feat/db' into refactor/single-block-type
2024-08-06 07:24:29 +08:00
Tienson Qin
f46372b346
chore: keep using class instead of tag for internal usage
2024-08-06 07:15:41 +08:00
Tienson Qin
beb3472fec
Disable lint rules for db :property and :page-property
2024-08-05 17:12:24 -04:00
Gabriel Horner
512dd6b543
chore: update linters to use latest deps
2024-08-05 16:29:28 -04:00
Gabriel Horner
94b67d95f2
fix: db import from UI having some intermittent invalid blocks
...
Some imported blocks in UI have :block.temp/fully-loaded? but db on disk
doesn't. Unsure what recent change caused this. Also improve console
import errors
2024-08-05 15:26:31 -04:00
Gabriel Horner
e9d1ec1cef
fix: db import of properties that conflict with new built-in property names
...
Fixes LOG-3039. This was noticed because new description built-in
conflicted with file graphs that had the same name. This fixes the issue
for :description but also any of the other new db built-in property
names
2024-08-05 15:13:10 -04:00
Tienson Qin
5d2cd70142
Support db migration for :block/type update
2024-08-05 21:23:16 +08:00
Tienson Qin
825b6d0678
fix: allow closed values to be deleted when they've been refed
2024-08-05 19:04:18 +08:00
Tienson Qin
411b05e7ba
Prefer to use ldb/{type}? check when possible
2024-08-05 17:51:24 +08:00
Tienson Qin
0a9320c234
Disable lint rules for db :property and :page-property
2024-08-05 17:06:47 +08:00
Tienson Qin
ccc9c99744
fix: outliner test
2024-08-05 15:46:01 +08:00
Tienson Qin
4d7e3d33c8
Merge branch 'feat/db' into refactor/single-block-type
2024-08-05 15:19:32 +08:00
Tienson Qin
69912f3dce
fix: lint
2024-08-05 15:19:04 +08:00
Tienson Qin
8f4bd7d713
refactor: updates :checkbox type to store Boolean values instead of ref values ( #11451 )
...
* refactor: don't store :checkbox as ref type
* fix: :property dsl query
* fix: task rule uses :property-ref-type
* enhance: dynamic query in :property rule depends on db/valueType
* enhance: use identity to avoid multiple vals binding error
* fix: replace outdated :page type with :node type
* fix: query-dsl tests
* fix: more outdated :page type
* fix: db test
* fix: db rules tests
* fix: move [?p ?prop ?pv] to the front
* fix: outliner tests
* fix: graph-parser tests
* Migrate checkbox ref type to non-ref type
2024-08-05 15:10:12 +08:00
Tienson Qin
4083a2d0a0
enhance: prefer tag instead of class on UI
...
Some users are confused with Classes/Objects, so on UI it'll be
Tags/Nodes.
2024-08-05 15:06:54 +08:00
Tienson Qin
8bef1d7742
Merge branch 'refactor/boolean-not-ref-type' into refactor/single-block-type
2024-08-03 15:37:17 +08:00
Tienson Qin
4cb9cb63a6
Merge branch 'feat/db' into refactor/single-block-type
2024-08-03 15:34:40 +08:00
Tienson Qin
cb7b15402b
fix: shouldn't hide markers/priorities for db graphs
...
Fixes LOG-3090
2024-08-03 15:21:41 +08:00
Tienson Qin
390b44985c
chore: bump mldoc to 1.5.9
2024-08-03 15:19:51 +08:00
Tienson Qin
a85fcdb842
Merge branch 'feat/db' into refactor/boolean-not-ref-type
2024-08-03 15:10:53 +08:00
Gabriel Horner
eb63add1f0
enhance: provide a built-in description property
...
that is used by properties and closed values and can easily be used by
other blocks. Also removes :block/schema for closed values and schema
:description for properties which helps get away from data modeling debt
of :block/schema
2024-08-03 00:13:13 -04:00
Tienson Qin
8155d06d22
fix: properties on a property page don't load correctly
...
Fixes LOG-3202
2024-08-03 07:09:16 +08:00
Tienson Qin
ea0a26e744
Merge branch 'feat/db' into refactor/boolean-not-ref-type
2024-08-03 04:48:54 +08:00
Tienson Qin
5869681598
Migrate checkbox ref type to non-ref type
2024-08-03 04:45:02 +08:00
Tienson Qin
b2f1f79b3d
fix: graph-parser tests
2024-08-03 04:11:38 +08:00
Tienson Qin
09ad9d6d97
fix: outliner tests
2024-08-03 00:51:08 +08:00
Tienson Qin
fb681d3b12
fix: move [?p ?prop ?pv] to the front
2024-08-03 00:05:31 +08:00
Tienson Qin
870ff095aa
fix: db rules tests
2024-08-02 23:54:39 +08:00
Tienson Qin
3a9fc0628e
fix: db test
2024-08-02 23:22:32 +08:00
Tienson Qin
04e32b33d2
fix: more outdated :page type
2024-08-02 22:37:08 +08:00
Tienson Qin
227437f852
fix: replace outdated :page type with :node type
2024-08-02 10:36:07 -04:00
Gabriel Horner
0769583183
fix: more missed renames of :page to :node type
...
from #11433
2024-08-02 10:34:35 -04:00
Tienson Qin
55f211be16
fix: query-dsl tests
2024-08-02 22:34:04 +08:00
Tienson Qin
914a21c47e
fix: replace outdated :page type with :node type
2024-08-02 22:14:37 +08:00
Tienson Qin
d1ef3fbeec
enhance: use identity to avoid multiple vals binding error
2024-08-02 21:44:20 +08:00
Tienson Qin
36e3366a74
enhance: dynamic query in :property rule depends on db/valueType
2024-08-02 21:35:06 +08:00
Tienson Qin
bb365b0171
fix: task rule uses :property-ref-type
2024-08-02 20:54:10 +08:00
Tienson Qin
e743091909
fix: :property dsl query
2024-08-02 19:42:43 +08:00
Gabriel Horner
2d50f565ea
chore: mv table property idents to their own ns
...
table feature will grow with time and could benefit from its own ns
2024-08-01 17:12:00 -04:00
Gabriel Horner
636e395d96
fix gp tests from #11433
2024-08-01 11:51:27 -04:00