Skip to content

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_before pipeline_minutes_quota_warning_after

How to set up and validate locally

  1. 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)
  2. Then go to your group page
  3. 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.

Edited by Sheldon Led

Merge request reports