Commit Graph

15471 Commits (5c3512d57823f91a14b0cfc090fc2255a13d939b)

Author SHA1 Message Date
Tienson Qin afde2df1f0 fix: lint 2024-04-15 11:40:18 +08:00
Tienson Qin 356f45b8e5 Merge branch 'feat/db' into refactor/db-properties-schema 2024-04-15 11:38:34 +08:00
charlie 2ba9f28026 Merge branch 'master' into feat/db 2024-04-15 07:58:14 +08:00
charlie 1e6a7f9010 fix(ui): close all for the shui popups 2024-04-14 11:18:11 +08:00
charlie 956f380ddc fix(plugin): props for the sdk editor component 2024-04-14 11:17:46 +08:00
Tienson Qin e66e8d245e fix: cycle todos 2024-04-14 08:46:34 +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 3efc85ca6c fix: can't edit page text value properties 2024-04-14 08:03:20 +08:00
Tienson Qin 16a39c8e7b fix: tags not displayed for blocks 2024-04-14 07:56:56 +08:00
Tienson Qin dd1ae2e787 fix: property multiple values 2024-04-14 07:36:38 +08:00
Tienson Qin 52c7281e51 fix: debug block/page 2024-04-14 07:30:46 +08:00
Tienson Qin 10cb5b6d10 fix: property value not refreshed after adding new pair 2024-04-14 07:24:16 +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 90a7fe62c6 fix: generating graph with properties 2024-04-12 17:07:58 -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
charlie 1bbb8c7831 enhance(plugin): more args extensible for the exported editor component 2024-04-12 12:49:35 +08:00
rcmerci f0275db47d test(undo): update-block-op add more attrs 2024-04-12 12:01:38 +08:00
rcmerci e76a672918 enhance(undo): support :block/collapsed? 2024-04-12 11:33:16 +08: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 ddd9a8246b perf: faster rendering editor for the new created block 2024-04-11 22:08:45 +08:00
rcmerci 98e37d4576 enhance(undo): support :block/tags 2024-04-11 21:47:32 +08:00
rcmerci 9eb6fb321e chore: update debug code in comment 2024-04-11 21:47:32 +08:00
Tienson Qin 7b6698fc73 fix: deleting block blink in UI 2024-04-11 21:09:43 +08:00
Tienson Qin 0c0291e93d fix: don't show property info if all properties are built-in 2024-04-11 20:53:06 +08:00
Tienson Qin bbdfb6b226 enhance: disable page configure when editing page name 2024-04-11 20:50:41 +08:00
Tienson Qin e8c83a318f fix: display entity type as text type in UI 2024-04-11 20:48:32 +08:00
Tienson Qin 3b41808c67 fix: switch status 2024-04-11 20:40:56 +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 ea566f7d5f fix: undo && redo
batch-txs need to be sorted first.
2024-04-11 19:33:39 +08:00
Tienson Qin da96052908 fix: safe check db before get-pid 2024-04-11 17:18:25 +08:00
Tienson Qin f90663df45 fix: ensure sequential running undo/redo 2024-04-11 16:57:50 +08:00
Tienson Qin e979e8158c fix: add db schema for :editor/tx-batch-mode? 2024-04-11 16:45:20 +08:00
charlie 9294d94776 enhance(plugin): more args extensible for the exported editor component 2024-04-11 16:37:35 +08:00
Tienson Qin 696fd4ec0e fix: refresh for batch txs 2024-04-11 16:30:04 +08:00
rcmerci 5d28129f81 fix(lang): remove non-exist key 2024-04-11 14:47:50 +08:00