Describe the bug
In the edit mode of the experiment, we can change the context and directly save the experiment without resetting Conditions and Partitions.
To Reproduce
Steps to reproduce the behavior:
Create an experiment.
Open in edit mode.
Change context.
Directly save and close the overview stepper.
Expected behavior
After changing the context, the user should not be allowed to save and exit as Conditions and Partitions should be reset according to the context.
If we are shifting to a new UI single-page format, we think we shouldn't waste time on this as this bug can get complex.
So do we want to proceed on this issue.
Version where bug was found: e.g "5.2.0"
Describe the bug In the edit mode of the experiment, we can change the context and directly save the experiment without resetting Conditions and Partitions.
To Reproduce Steps to reproduce the behavior:
Expected behavior After changing the context, the user should not be allowed to save and exit as Conditions and Partitions should be reset according to the context.
Screenshots
https://github.com/CarnegieLearningWeb/UpGrade/assets/49234788/e00938af-062a-4e62-9293-02ef3b93a7fc