cern-sis / cern-sis/react-formule
reorganize or merge settings and ui settings
- Dominant language
- JavaScript
- Stars
- 16
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Description
After #49 UI settings are displayed in collapse elements, for the moment in two different ones. We should come up with a good way of splitting the properties between general/common and field-specific ones. The reorganization requires splitting properties between `ui:options` and `ui:` so rjsf's `getUiOptions` will be very useful for this as it returns all UI options no matter in which of the two ways they are specified. This task will require some small refactoring of some fields and widgets in order to accommodate this.
An **option worth considering** is merging both schema and uiSchema in one single schema (probably keeping the distinction in fieldTypes and merging after) and passing it to the settings form. Then in the settings we can arrange them however we want. E.g. discrete mode in slider and options and labels (otherwise options and labels would be in different tabs if we follow the correct rjsf way)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.