Commit Graph

2083 Commits

Author SHA1 Message Date
Tienson Qin
16a39c8e7b fix: tags not displayed for blocks 2024-04-14 07:56:56 +08:00
rcmerci
836cedfd7f fix(undo): sort&merge undo-ops
because maybe some ops depend-on others, e.g. insert parent first then
its children.
2024-04-13 19:53:38 +08:00
Gabriel Horner
8ac39b3cbb fix: adding new properties for some property actions
Also removed duplicate helper fn
2024-04-12 21:53:04 -04: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
81e5d5f68f fix: remove frontend.config usage from graph parser dep 2024-04-11 23:02:50 +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
4f8d76c79f Merge branch 'feat/db' into refactor/db-properties-schema 2024-04-09 16:29:46 -04: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
charlie
f77a6b42d9 chore(dev): chilly keys warning 2024-04-09 18:41:14 +08: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
9f9bfbc5e6 Merge branch 'feat/db' into refactor/db-remove-block-name-unique 2024-04-08 23:56:46 +08:00
Tienson Qin
6df866a2d1 fix: handle more whiteboard properties 2024-04-08 22:56:14 +08:00
Tienson Qin
2940e86d74 fix: save whiteboard 2024-04-08 22:54:56 +08:00
charlie
618f3bd107 Merge branch 'master' into feat/db 2024-04-08 19:00:51 +08:00
Tienson Qin
cd38e0b9f9 fix: calculate :block/path-refs when adding new graph or re-index 2024-04-08 17:24:51 +08:00
charlie
57af873bf4 enhance(ux): support more align position for the shui dialog 2024-04-08 11:40:36 +08:00
Tienson Qin
210be5aaca fix: creating redundant pages when editing a block 2024-04-08 01:25:48 +08:00
Tienson Qin
ede9e5df5d fix: page names in refs not updated after renamed 2024-04-07 22:25:56 +08:00
Tienson Qin
a324d845b2 fix: don't parse refs from quoted string 2024-04-07 21:35:14 +08:00
Tienson Qin
b5f0f58efc fix: missing refs for property text values when creating a page 2024-04-07 21:35:14 +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
f52993ec6d fix: tests and lint warnings 2024-04-07 14:27:05 +08:00
Tienson Qin
6eb6e60b55 Bring back namespaces/page merge/nested pages 2024-04-07 13:48:55 +08:00
Tienson Qin
b9195e40e5 Merge branch 'refactor/db-properties-schema' into refactor/db-remove-block-name-unique 2024-04-06 07:59:06 +08:00
Gabriel Horner
009e5b6d62 enhance: consistently create sanitized property ident
for new properties. Also made build-new-property easier to
use by making property name optional
2024-04-05 16:55:40 -04:00
Gabriel Horner
3793cf6d81 fix: 2 fns that don't work in nbb b/c of :block/properties 2024-04-05 15:16:26 -04:00