kblincoe / QualOpt_SE701

2 stars 15 forks source link

#12 - Add warning that there are unsaved changes in the edit study form #101

Closed Karim-C closed 6 years ago

Karim-C commented 6 years ago

This pull request (fixes issue #14) makes the study edit/create forms more user-friendly and more error-tolerant. When the user has unsaved changes while they are editing/creating a study, they are warned of these unsaved changes when they try to navigate away from the form. They will receive the warning when they:

This addition prevents the user from inadvertently exiting out of the form and losing their work.

Karim-C commented 6 years ago

@AprajitGandhi and @wilmol can you please review this pull request.

Karim-C commented 6 years ago

@softeng-701 all team members have approved this pull request.