Commit Graph

1026 Commits

Author SHA1 Message Date
Tienson Qin
8554e15be7 fix: closed values for default type 2024-04-16 21:04:19 +08:00
rcmerci
842efe5958 test(undo): add random outliner-ops testcase 2024-04-16 18:58:40 +08:00
Tienson Qin
202576a862 fix: load property pairs for structured blocks 2024-04-16 16:30:03 +08:00
Tienson Qin
daafe5f4e0 fix: default type values 2024-04-16 15:56:43 +08:00
Gabriel Horner
1e1a17aaf4 fix: validation of single value for a :many property
Single value of a :many property wasn't being rolled up as a set,
in CLI or in app validation
2024-04-15 17:17:24 -04:00
Tienson Qin
09f65cf842 fix: lazy load properoty value blocks 2024-04-16 00:49:29 +08:00
Gabriel Horner
236a28764b fix: new property values invalid because of placeholder
Also use cardinality in validation instead of previous hacky value-based
detection. Also disable closed-values generation so new graphs can
temporarily be valid
2024-04-15 12:22:21 -04:00
Gabriel Horner
8ec360759a enhance(dev): humanize option for validation script
also fix nil entity query results
2024-04-15 09:36:09 -04:00
Tienson Qin
4828cfa17d fix: handle situations when block values have been retracted 2024-04-15 21:05:11 +08:00
Tienson Qin
fb93a35fbc fix: store text values as entities 2024-04-15 20:39:36 +08:00
Tienson Qin
e19879a12a fix: cleanup property related data 2024-04-15 17:00:46 +08:00
Tienson Qin
3e0849cb16 fix: set more properties as hidden properties 2024-04-15 13:01:46 +08:00
Tienson Qin
81da3a9960 enhance: move tags and icon to properties area too 2024-04-15 12:52:53 +08:00
Tienson Qin
dd0de0b45f fix: closed value icon 2024-04-15 12:11:45 +08:00
Tienson Qin
ebe67390fa perf: no need to get all the property pairs when asking for only one 2024-04-14 08:33:53 +08:00
Tienson Qin
e03b5a2322 fix: property pairs lazy load 2024-04-14 08:19:59 +08:00
Tienson Qin
47abd92155 fix: load property pairs too when lazy load a block 2024-04-14 08:13:10 +08:00
Tienson Qin
16a39c8e7b fix: tags not displayed for blocks 2024-04-14 07:56:56 +08:00
Gabriel Horner
b99af712b2 fix: validating user :many properties
User properties with :many cardinality were overriding each other
instead of aggregating
2024-04-12 17:33:56 -04:00
Gabriel Horner
8cbc0ac32a fix: validate property values 2024-04-12 15:27:26 -04:00
Gabriel Horner
7003903edd fix: new graph creates hidden pages all with same name '$$$' 2024-04-12 12:50:09 -04:00
Gabriel Horner
4771a97d09 fix: page-property rules to use latest schema 2024-04-12 12:29:47 -04:00
Gabriel Horner
4f3b7e7687 fix: ref checks in schema
attribute in the wrong schema and db graph only vars had file graph
keys. Also temp fix to avoid crashing ui with props
2024-04-12 12:15:59 -04:00
Gabriel Horner
b2a22498ea fix: closed validation with new properties
Also fix group error reporting incorrectly and improve it by adding
:db/id
2024-04-12 11:32:03 -04:00
Gabriel Horner
354c0c1e42 fix: built-in? helper and most deps tests
Also fix validate script's count
2024-04-12 10:04:43 -04:00
Gabriel Horner
97367c3d4f fix: add timestamps to built-in property pair
Also cleanup build-initial-properties and remove unused ns
2024-04-11 18:23:52 -04:00
Gabriel Horner
cbcff4bae8 fix: schema graph creation for previous properties schema
Also add db/id to query script and fix outdated case insensitive
constraint on property db idents
2024-04-11 17:46:49 -04:00
Gabriel Horner
e07fd51c83 fix: new db graph creates properties correctly
Also fix basic validation
2024-04-11 17:42:51 -04:00
Tienson Qin
1a9608bda1 fix: property handler with the new properties pair storage 2024-04-12 01:17:37 +08:00
Tienson Qin
89b40b4ad8 Extends entity for new :block/properties and direct property access 2024-04-12 00:05:20 +08:00
Tienson Qin
00967481ad Merge branch 'refactor/db-properties-schema' into refactor/db-remove-block-name-unique 2024-04-11 20:32:12 +08:00
Tienson Qin
419eac1b16 Merge branch 'feat/db' into refactor/db-properties-schema 2024-04-11 19:56:34 +08:00
Tienson Qin
da96052908 fix: safe check db before get-pid 2024-04-11 17:18:25 +08:00
Tienson Qin
e979e8158c fix: add db schema for :editor/tx-batch-mode? 2024-04-11 16:45:20 +08:00
Gabriel Horner
527dae34dc fix: class properties schema 2024-04-10 14:03:39 -04:00
Tienson Qin
7007fa7d41 fix: status and priority should be :entity type 2024-04-10 21:07:20 +08:00
Tienson Qin
8d128f420c Merge branch 'refactor/db-properties-schema' into refactor/db-remove-block-name-unique 2024-04-10 16:14:47 +08:00
Gabriel Horner
a42e5f659a fix: new graphs don't create unused hidden pages for
date and page closed properties. Observed with properties graph
2024-04-09 14:53:47 -04:00
Gabriel Horner
c29d4a3a70 chore: property type vars should be in property.type
also remove unused :block and :uuid types
2024-04-09 14:07:46 -04:00
Gabriel Horner
fcecbcfa76 fix: switching page closed values 2024-04-09 09:49:59 -04:00
Gabriel Horner
a608139975 fix: new db graph doesn't silently clobber db/ident's
if they conflict
2024-04-08 16:54:22 -04:00
Gabriel Horner
6a2b6d2913 fix: adding class properties can result
in clobbered db idents. Also rename fn to make its
purpose explicit
2024-04-08 16:32:27 -04:00
Gabriel Horner
ea1cc87d77 fix: properties silently clobbered each other if
they had the same unique db-ident. Ensure a unique db-ident with
automatic db-ident suffixes. Also add tests for this and add more
sanitization to property db idents
2024-04-08 15:06:39 -04:00
Tienson Qin
cd38e0b9f9 fix: calculate :block/path-refs when adding new graph or re-index 2024-04-08 17:24:51 +08:00
Tienson Qin
ede9e5df5d fix: page names in refs not updated after renamed 2024-04-07 22:25:56 +08:00
Tienson Qin
dab2a6e563 fix: disable namespace for db based graphs 2024-04-07 17:29:21 +08:00
Tienson Qin
0b49d09fb1 fix: db schema validate 2024-04-07 17:26:58 +08:00
Tienson Qin
c815fa9823 fix: schema error for :class/schema.properties 2024-04-07 16:31:00 +08:00
Tienson Qin
75d35f9202 enhance: display exact invalid entity map for schema invalidations 2024-04-07 16:12:53 +08:00
Tienson Qin
6eb6e60b55 Bring back namespaces/page merge/nested pages 2024-04-07 13:48:55 +08:00