Commit Graph

15283 Commits (ddd9a8246b42993c262b96fcf2d51984501fe211)

Author SHA1 Message Date
Tienson Qin ddd9a8246b perf: faster rendering editor for the new created block 2024-04-11 22:08:45 +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
rcmerci 990376e38c enhance(undo): use page-util/get-editing-page-id to get current
editing page
2024-04-11 14:37:37 +08:00
rcmerci 53970880d3 enhance(undo): undo/redo is page-scoped now 2024-04-11 14:24:28 +08:00
Gabriel Horner 527dae34dc fix: class properties schema 2024-04-10 14:03:39 -04:00
Gabriel Horner 22f2bccd2b fix: regression on new, unused property displays blank type
in configure modal
2024-04-10 09:25:34 -04:00
Tienson Qin 7007fa7d41 fix: status and priority should be :entity type 2024-04-10 21:07:20 +08:00
Tienson Qin b9e779e652 fix: property ref value not refreshed 2024-04-10 16:21:26 +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
Tienson Qin 3e351a4308 Merge branch 'feat/db' into refactor/db-properties-schema 2024-04-10 15:49:45 +08:00
Tienson Qin 37d6196000 chore: remove old history implementation 2024-04-10 15:43:49 +08:00
Tienson Qin b4154c683a fix: undo && redo
:refresh-ui has been removed to ensure batch txs to be transacted
to the UI db before refreshing UI
2024-04-10 15:02:27 +08:00
rcmerci b5c3757139 test(undo): update generative testcases 2024-04-10 14:06:09 +08:00
Tienson Qin f3dc460f3a more tweaks 2024-04-10 13:49:08 +08:00
charlie 103dc80508 enhance(ui): select blocks within active container for the key up/down arrow 2024-04-10 11:36:02 +08:00
Gabriel Horner 4f8d76c79f Merge branch 'feat/db' into refactor/db-properties-schema 2024-04-09 16:29:46 -04:00
Gabriel Horner aa41e64bdf fix typo 2024-04-09 16:29:34 -04:00
Gabriel Horner aa58ff3a4a fix: adding existing values to page and date properties
multiple bugs:
- detected existing closed values incorrectly
- didn't display closed values
- didn't add existing values correctly
2024-04-09 16:18:59 -04:00
Gabriel Horner 0895c1388d fix: delete block value with placeholder value 2024-04-09 15:24:59 -04:00
Gabriel Horner e4c0c33839 fix: can't choose date closed value on a block 2024-04-09 15:09:01 -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 a70b7bfb26 fix: date property page crashing with closed values
page-cp is nil from a page and is redundant in a block context
2024-04-09 12:33:09 -04:00
Gabriel Horner f1c9277b38 fix: unable to add a page or date closed value
Also fix page and date properties creating unused hidden pages
from property configuration
2024-04-09 12:20:46 -04:00
charlie de9940dc9b enhance(plugin): more args extensible for the exported editor component 2024-04-09 23:30:36 +08:00
Gabriel Horner fcecbcfa76 fix: switching page closed values 2024-04-09 09:49:59 -04:00
Gabriel Horner d44bd44ace fix: generate date and page closed properties in properties graph 2024-04-09 09:27:08 -04:00
rcmerci 1fe25c4fca fix lint 2024-04-09 20:21:57 +08:00
rcmerci 1dbc19069b test(undo): add tests and fix 2024-04-09 20:15:23 +08:00
charlie 85585a0815 enhance(plugin): more args extensible for the exported editor component 2024-04-09 18:43:22 +08:00
charlie f77a6b42d9 chore(dev): chilly keys warning 2024-04-09 18:41:14 +08:00
Tienson Qin 789e24f7eb Add gaps between page title, properties and content 2024-04-09 16:45:57 +08:00
Tienson Qin 39c2ee85fd style tweaks 2024-04-09 16:38:29 +08:00
Tienson Qin 4b1e3a827f enhance: move page configure trigger to the top of page title 2024-04-09 16:23:34 +08:00
Tienson Qin aa314c8291 enhance: remove border radius for property key bullet
To difference properties from block content.
2024-04-09 14:32:49 +08:00
Tienson Qin e962797aba enhance: use css to handle select-none instead of component state 2024-04-09 14:24:53 +08:00
Tienson Qin 69966361b2 enhance: disable text selection when selecting blocks 2024-04-09 14:02:06 +08:00