Show message acknowledging deployment approval
What does this MR do and why?
Migrates an old submit button to the pajamas button. Related to #417901 (closed)
Show message acknowledging deployment approval
It can be unclear to users whether or not their approval or rejection of a deployment has taken effect due to a mix of polling delays and quick loading times.
To get around this, we toast a small message acknowledging that their approval or rejection of the deployment had executed successfully.
We do not show a toast in the event of an error, but the error message is put into an alert at the top of the page.
This covers both the environment details page and environments page.
Changelog: added EE: true
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Create a project runner in any project and assign it to multiple projects.
- Visit the project that you did not create it in, but assigned it to instead.
- Go to project CI/CD settings, then Runner section.
- View the button.
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.