Preset definitions & form design #760
gmaclennan
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
To-date we have been using the preset definitions from iD Editor as a way of defining how forms should be rendered in the app. I think we might hit some limitations of this schema as we continue to develop the UI and the details screens. The iD presets include some very specific UI designs for showing forms which is very tied to specific OSM stuff (e.g. addresses).
I was recently looking at react-jsonschema-form by Mozilla, which defines forms with a combination of JSON Schema which defines what should be rendered, and a UI Schema which defines how it should be rendered.
I don't like the actual UI of the Mozilla library, but this is an interesting way of defining how the UI should be rendered for form questions, which uses JSON Schema which has the advantage of being a widely used standard.
Beta Was this translation helpful? Give feedback.
All reactions