Confirmation dialog when leaving registration page
requested to merge 396895-add-warning-modal-when-users-try-to-leave-registration-page-for-runner into master
What does this MR do and why?
This change attempts to prevent users from leaving the registration page when runner is not yet online.
Screenshots or screen recordings
How to set up and validate locally
- Enable the feature flag: in your console
rails c
, and thenFeature.enable(:create_runner_workflow_for_admin)
- Follow the runner creation instructions from http://gdk.test:3000/admin/runners
- Submit the runner form
- In the registration page, try to leave the page by clicking on "Go to runners page"
- browsers will show the confirmation dialog after users interacted with the page, you may try other methods to leave.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #396895 (closed)
Edited by Miguel Rincon