CarnegieLearningWeb / UpGrade

Framework for adding A/B testing to education applications
https://www.upgradeplatform.org/
BSD 3-Clause "New" or "Revised" License
25 stars 12 forks source link

Saving experiment after changing Context #1434

Open RidhamShah opened 2 months ago

RidhamShah commented 2 months ago

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:

  1. Create an experiment.
  2. Open in edit mode.
  3. Change context.
  4. 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.

Screenshots

https://github.com/CarnegieLearningWeb/UpGrade/assets/49234788/e00938af-062a-4e62-9293-02ef3b93a7fc

RidhamShah commented 2 months ago

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.