Pipeline editor: Replace the commit confirmation alert with a toast
-
Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA. As a benefit of being a GitLab Community Contributor, you can request access to GitLab Duo.
What does this MR do and why?
This MR aims to replace the commit confirmation alert in the pipeline editor with a toast message.
Closes: #345559 (closed)
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
| Before | After |
|---|---|
| before.mov | after.mov |
How to set up and validate locally
Verify the commit success message
- Navigate to a project.
- Add
.gitlab-ci.yml(if it's not present). - Click on
.gitlab-ci.yml, click onEditchooseEdit in pipeline editor. - Make some changes.
- Click on
Commit changesbutton. - The toast message should be displayed.
Verify the commit success message with a redirect
- Navigate to a project.
- Add
.gitlab-ci.yml(if it's not present). - Click on
.gitlab-ci.yml, click onEditchooseEdit in pipeline editor. - Make some changes.
- In the
Branchinput, replace the default branch name with a new one. - Check
Start anew merge requestwith these changescheckbox. - Click on
Commit changesbutton. - The toast message should be displayed.
Note: on my videos there is a webpack error (I guess) on redirect. I think it's unrelated to the changes in this MR because it is also present on a pure master branch.
Edited by Anton Kalmykov