tanbowensg

Results 23 comments of tanbowensg

I think it could be a good idea. This could be the base of developing multiple page app by sunmao. Module is vert similar to an application. The design `$moduleId`...

Module is one of the ways to split code. It can not only wrap components(which makes the leftTree clearer), but also prevent user using global state everywhere.

In this issue #417, we discussed using application to render module which means we could use multiple nested sunmao instance to render an appliaction. Further more, we can use router...

I think not-rendering components as a fallback could be too over. How about passing a default value according to the type, like `0` to number, `''` to string, `false` to...

If we add `defaultValue` in properties spec, can we solve this problem? We can always fallback to the safe value that is set by the component developer.

Another problem, property value will change after toggle property from normal mode to JS mode.

> the editor should display the error in the properties form and the component wrapper like the image below. Yanzhen worries about it will cause silent bug if we fallback...

This is a json schema editor. https://hellosean1025.github.io/json-schema-visual-editor/

This library can convert a JSON to JSON Schema. https://github.com/quicktype/quicktype