Commit Graph

628 Commits

Author SHA1 Message Date
Bowen Tan
6bb6acc617 fix bug that new created component is not observed resize 2022-02-17 16:26:43 +08:00
Bowen Tan
8df35c22bf fix text component cannot be selected bug 2022-02-17 15:24:44 +08:00
Bowen Tan
f782e68ae3 register lib in PreviewModal 2022-02-17 15:13:49 +08:00
Bowen Tan
f360632a06 fix: mask position calculation is wrong after scrolling 2022-02-17 11:49:54 +08:00
yz-yu
dfb2b66a0e
Merge pull request #283 from webzard-io/fix/bugs
fix some small bugs
2022-02-16 16:35:09 +08:00
Bowen Tan
19a0d7292f hide explorer 2022-02-16 15:16:13 +08:00
MrWindlike
535e19bd9f fix(editor): fix setting API's body 2022-02-16 14:39:48 +08:00
Bowen Tan
b6fd5c1512 fix the bug that cannot drag component to a selected component 2022-02-16 11:25:05 +08:00
Bowen Tan
2df5395665 fix typo: hanlder => handler 2022-02-16 11:02:22 +08:00
Bowen Tan
46137aa8d2 Fix the bug that page cannot scroll when chakra dialog is openning. 2022-02-16 10:53:06 +08:00
MrWindlike
363af1b817 fix(runtime): fix deleting state in the wrong time 2022-02-15 16:55:54 +08:00
yz-yu
61d97fc55a
Merge pull request #280 from webzard-io/fix/disable-save-anyway
validation error will not block save anymore
2022-02-15 15:44:01 +08:00
tanbowensg
114babd865
Merge pull request #281 from webzard-io/feat/chakra-properties-category
feat(lib): change properties spec
2022-02-15 15:43:03 +08:00
yz-yu
da43750319
Merge pull request #276 from webzard-io/feat/property-classification
fix: fix bugs with incorrect setting values and incorrect sorting
2022-02-15 15:27:56 +08:00
MrWindlike
79c4c29e95 chore: fix test cases and change some properties' spec 2022-02-15 15:19:05 +08:00
xzdry
0aa55c7ad0 fix: use advance instead of basic and put it at the bottom 2022-02-15 15:12:35 +08:00
MrWindlike
fc15a2dc50 feat(lib): change properties spec 2022-02-15 13:49:36 +08:00
Bowen Tan
f6cafef182 validation error will not block save anymore 2022-02-15 10:22:44 +08:00
Yanzhen Yu
dc271becd9 use auto refresh addon in code mirror 2022-02-14 23:27:07 +08:00
yz-yu
e9a8b0abb9
Merge pull request #278 from webzard-io/fix/wrapper-drop-bug
improve left panel ui tree
2022-02-14 21:58:11 +08:00
Bowen Tan
7b95f04383 improve left panel ui tree 2022-02-14 18:00:46 +08:00
xzdry
eb58535565 fix: fix bugs with incorrect setting values and incorrect sorting 2022-02-14 16:41:23 +08:00
MrWindlike
322654289c fix(editor): fix error of resolving the conflict 2022-02-14 15:22:32 +08:00
MrWindlike
daf3118b70 fix(editor): fix crash after errors hanpened 2022-02-14 15:19:47 +08:00
tanbowensg
a0a5a653a2
Merge pull request #270 from webzard-io/feat/datasource
feat: make the DataSource as an independent panel
2022-02-14 14:01:21 +08:00
tanbowensg
8567a83e28
Merge pull request #273 from webzard-io/feat/property-classification
feat: classify the properties of the components
2022-02-14 10:41:46 +08:00
MrWindlike
82eec7dcd2 fix(runtime): delete the component state when unmounting 2022-02-14 09:49:19 +08:00
Yanzhen Yu
7290a721d5 improve overlay mode and impl editor modal 2022-02-13 14:09:15 +08:00
Yanzhen Yu
b4e1ea2dc3 improve expression editor with codemirror multiplexing and overlay 2022-02-12 15:46:33 +08:00
xzdry
1a03f331e3 feat: classify the properties of the components 2022-02-12 14:21:06 +08:00
yz-yu
7ab7afa6a7
Merge pull request #271 from webzard-io/fix/wrapper-drop-bug
fix can not drop component in mask bug
2022-02-12 00:10:29 +08:00
MrWindlike
13c6196205 chore: eslint fixed 2022-02-11 17:48:31 +08:00
MrWindlike
7e14b0b2c5 chore(DataSource): improve the codes 2022-02-11 17:43:37 +08:00
Bowen Tan
64deb7ef42 fix can not drop component in mask bug 2022-02-11 16:21:33 +08:00
MrWindlike
d670694361 fix(editor): auto change selected component id after id changed
ISSUE: https://github.com/webzard-io/sunmao-ui/issues/264
2022-02-11 16:18:17 +08:00
MrWindlike
5fededd409 feat(editor): improve UI 2022-02-11 10:31:18 +08:00
MrWindlike
7d06ca61e1 fix(editor): fix the API DataSource params replaced wrong 2022-02-11 10:03:41 +08:00
MrWindlike
f27a1b6a64 Merge branch 'main' of https://github.com/webzard-io/sunmao-ui into feat/datasource 2022-02-11 09:59:56 +08:00
MrWindlike
4ee2dea836 feat(editor): improve UI interaction 2022-02-11 09:45:01 +08:00
Yanzhen Yu
75cf9d0128 do not reset value when original value is undefined 2022-02-10 23:33:20 +08:00
Bowen Tan
4cbb6f187c rename and add test 2022-02-10 18:17:05 +08:00
MrWindlike
5642fde8dc Merge branch 'main' of https://github.com/webzard-io/sunmao-ui into feat/datasource 2022-02-10 18:12:38 +08:00
MrWindlike
69a1f7cd35 feat: make the DataSource as an independent panel 2022-02-10 18:05:05 +08:00
Bowen Tan
f40c42fa8a add ref to chakra-ui components 2022-02-10 15:34:10 +08:00
Bowen Tan
cb3d7e9dd2 refine code 2022-02-10 15:34:10 +08:00
Bowen Tan
1e29658fef drag component to mask 2022-02-10 15:34:10 +08:00
Bowen Tan
5aecab13b3 use resize observer 2022-02-10 15:34:09 +08:00
Bowen Tan
07a0a0af61 add drop slot area 2022-02-10 15:34:09 +08:00
Bowen Tan
053ca3bc63 add lifecycles 2022-02-10 15:34:09 +08:00
Bowen Tan
9f8a23902d detect mouse position 2022-02-10 15:34:09 +08:00