cern-sis / cern-sis/react-formule

reorganize or merge settings and ui settings

Open
#124 1 comment 0 reactions 0 assignees View on GitHub
enhancement needs refinement
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.