serge-web / serge-td

Technical demonstrator for serge-experiments
https://serge-td.herokuapp.com/
Apache License 2.0
0 stars 0 forks source link

Wrap json-schema-editor in ReactJS #51

Open IanMayo opened 5 years ago

IanMayo commented 5 years ago

@lilitkarapetyan - you're familiar with the json editor.

I've sponsored a project to extend this, so that it can be used to edit JSON Schemas, not just JSON Documents [1]

But, before we put it into our project, we have to wrap it, for ReactJS.

So, I'd like you to produce a react component within a single-page application that wraps the JSon Schema Editor, and just exposes these methods:

The control should have no state management, it should just manage it's own state.

The current version of the control is in the branch below [2]. If that branch has been deleted, it's because it will have been merged - in which case you can use the master branch.

For testing purposes, you can pass it a copy of this JSON schema [3]

[1]. https://github.com/DeepBlueCLtd/json-schema-editor [2]. https://github.com/DeepBlueCLtd/json-schema-editor/tree/props-label [3]. https://github.com/DeepBlueCLtd/serge-schemas/blob/master/schemas/machinery_failure.json

lilitkarapetyan commented 5 years ago

I am working on it but need more time that integrate it with react js. https://github.com/DeepBlueCLtd/json-schema-editor coded in pure client side js in our client app we are using ecmascript

lilitkarapetyan commented 5 years ago

image