Skip to content

Replace window.confirm with GlModal in deployment actions

What does this MR do and why?

This MR replaces the browser confirm modal with GlModal in app/assets/javascripts/vue_merge_request_widget/components/deployment/deployment_actions.vue

Screenshots or screen recordings

Before After
deploy environment deploy_environment_modal_before deploy_environment_modal_confirm_text
re-deploy environment redeploy_environment_modal_before redeploy_environment_modal_confirm_text
stop environment stop_environment_modal_before stop_environment_modal_danger_text

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #344117 (closed)

Edited by Martin Wortschack

Merge request reports

Loading