Allow dismissal of pipeline minutes quota warning
What does this MR do and why?
Relates to #42472 (closed)
This allows dismissal of pipeline minutes quota warning by switch dismissible
attribute and adding a cookie to the dismiss
action on DismissibleAlert
.
Screenshots or screen recordings
Before | After |
---|---|
![]() |
pipeline_minutes_quota_warning_after |
How to set up and validate locally
- You can either setup your group to run out minutes, or change the return value in
ee/app/models/ci/minutes/context.rb
(which is what it's done in the video demo) - Then go to your group page
- Click on the
X
button in the alert, be sure the alert doesn't show up on page reload
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.
Edited by Sheldon Led