Skip to content

Show message acknowledging deployment approval

Gina Doyle requested to merge pajamas-runner-button into master

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
Screenshot_2023-08-14_at_12.38.17_PM Screenshot_2023-08-14_at_12.38.25_PM

How to set up and validate locally

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

  1. Create a project runner in any project and assign it to multiple projects.
  2. Visit the project that you did not create it in, but assigned it to instead.
  3. Go to project CI/CD settings, then Runner section.
  4. 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.

Merge request reports