Commit Graph

605 Commits

Author SHA1 Message Date
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
Bowen Tan
5d182f9a0a render border 2022-02-10 15:34:09 +08:00
Yanzhen Yu
5d2418f8dd improve #225, reset field value when type miss match 2022-02-10 00:02:08 +08:00
Yanzhen Yu
f0810a09f1 customize state viewer theme 2022-02-09 23:49:48 +08:00
Yanzhen Yu
f46df01acc add category annotation to chakra ui lib 2022-02-09 14:50:33 +08:00
Yanzhen Yu
31bfa1fc32 refactor component list with category annotation 2022-02-09 13:41:04 +08:00
Yanzhen Yu
a722dcc34a extend metadata and set category annotation to core components 2022-02-09 12:50:51 +08:00
yz-yu
f68207c91c
Merge pull request #265 from webzard-io/auto-complete
impl #225 trigger auto-complete when typing
2022-02-09 09:36:51 +08:00
Yanzhen Yu
c683619a86 impl #225 trigger auto-complete when typing 2022-02-08 18:27:02 +08:00
yz-yu
96d5bfc76e
Merge pull request #243 from webzard-io/improve/xzdry
feat: change selected componet will automatically jump to the inspect…
2022-02-08 18:25:37 +08:00
tanbowensg
ed913afc94
Merge pull request #260 from webzard-io/feat/windlike-patch
feat(editor): auto-complete the parameters of the method
2022-02-08 11:00:34 +08:00
MrWindlike
ac1c09e98f feat(editor): auto-complete the parameters of the method 2022-02-07 17:24:44 +08:00
xzdry
727718010b fix: use @typescript-eslint/no-unused-vars instead of no-unused-vars to support typescript 2022-02-07 15:58:30 +08:00
xzdry
aba1265b00 fix: correct some typos 2022-02-07 15:54:30 +08:00
Bowen Tan
a0e1a9bf31 fix bug that the editor will crash after change module 2022-02-07 14:32:48 +08:00
Bowen Tan
9e8b9d5c75 rename folder and files name 2022-02-07 13:42:46 +08:00
tanbowensg
dec1a8526a
Merge pull request #238 from webzard-io/feat/xzdry-patch
feat: support top level components reorder
2022-02-07 11:34:28 +08:00
tanbowensg
70873a491f
Merge pull request #244 from webzard-io/yanzhen-patch-2
improve state viewer UX
2022-02-07 10:59:09 +08:00
tanbowensg
cd3a87be5c
Merge pull request #256 from webzard-io/fix/windlike-patch
fix(editor): change some styles and fix the problems of editor
2022-02-07 10:55:51 +08:00
Yanzhen Yu
e92ee94203 improve multiline expression eval 2022-02-04 17:01:45 +08:00
Yanzhen Yu
46fa447432 support expression editor in object values 2022-02-04 16:32:40 +08:00
Yanzhen Yu
8a375861e6 support expression in number and any fields 2022-02-04 15:21:42 +08:00
Yanzhen Yu
fce1d84bbe implement filter for state viewer 2022-01-31 22:12:09 +08:00
MrWindlike
77031a620a fix(editor): fix the problem of removing a module 2022-01-30 15:53:00 +08:00