voyager
voyager copied to clipboard
Config Customization
- [ ] Custom mark/bin/scale/axis/legend properties
- [ ] Custom config
This API is promising https://mozilla-services.github.io/react-jsonschema-form/
- [ ] For
EncodingShelf, when there is aShelfFieldDefon each specific encoding, show a pop-up caret for the shelf. - [ ] The popup can be a new component with a new file. Maybe
FieldCustomizer? - [ ] We can implement a generic component (maybe
PropertyEditor) that takes a property (e.g.,type) of an object (e.g.,Scale) and generate UI based on the schema
For the initial version of EncodingCustomizer, I would try to add a scale type changer.
-
[ ] Read "Scale" from JSON schema, for its "type" property, you will find a
"$ref"toScaleType, which hastype: "string"withenum. -
You will find
SpecFieldNestedPropChangeaction useful.