Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Evaluate analysis_reuse_mode #46

Open
miguelgrc opened this issue May 24, 2024 · 0 comments
Open

Evaluate analysis_reuse_mode #46

miguelgrc opened this issue May 24, 2024 · 0 comments
Labels
enhancement New feature or request needs refinement Needs to be refined before taking it

Comments

@miguelgrc
Copy link
Collaborator

miguelgrc commented May 24, 2024

analysis_reuse_mode in TabFieldMenu.jsx is used from CAP for an specific use case in the CMS experiment. We need to evaluate if we need to keep it in formule or if it makes sense to get rid of it or to generalize it further to cover more universal use cases.

An ideal option would be to have a way to define and visualize (jsonschema) dependencies so that you can for example say: if this number field has a value > 10 we show this other object. However this is complicated in terms of UI/UX (how do we specify the conditions - jsonschema's if-then-else - and how do we define and show the dependencies in the tree) and would likely require us to manually define all the possible cases (e.g. number field > or < or integer vs float, text field has value x, select field has value x, switch is on or off) for each field type. A possibility would be to use rjsf's additionalProperties and let the users add arbitrary properties, them being responsible of making sure they comply with the jsonschema specification.

This needs refinement, so I propose we consider tackling this later on in the future but not right now.

@miguelgrc miguelgrc added enhancement New feature or request needs refinement Needs to be refined before taking it labels May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs refinement Needs to be refined before taking it
Projects
None yet
Development

No branches or pull requests

1 participant