Skip to content

Add top margin to admin email alert

Peter Hegman requested to merge add-top-margin-to-admin-email-alert into master

What does this MR do and why?

Follow-up to !119789 (comment 1385197155)

Adds top margin to alert in /admin/email

Screenshots or screen recordings

With success alert

Before After
Screenshot_2023-05-10_at_11.18.47_AM Screenshot_2023-05-10_at_11.11.44_AM

Without success alert

Before After
Screenshot_2023-05-10_at_11.16.30_AM Screenshot_2023-05-10_at_11.11.56_AM

How to set up and validate locally

EE license required

  1. Sign in as an admin
  2. Navigate to /admin/email
  3. Fill out the form and submit
  4. Close the success alert

Clearing the throttling alert

  1. Start rails console
    • bin/rails console
  2. Run the following command
Gitlab::ExclusiveLease.cancel(Admin::EmailService::LEASE_KEY, Gitlab::ExclusiveLease.get_uuid(Admin::EmailService::LEASE_KEY))

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 Peter Hegman

Merge request reports