Skip to content

Migrate legacy dropdown on admin emails page

What does this MR do and why?

Removes the admin_emails_vue feature flag. This feature flag was used to migrate the form and legacy dropdown on the /admin/email page.

Screenshots or screen recordings

Before After
Screenshot_2023-01-17_at_1.27.43_PM Screenshot_2023-01-17_at_1.25.44_PM

How to set up and validate locally

  1. Navigate to /rails/letter_opener/ and clear the existing emails
  2. Navigate to /admin/email
  3. Fill out the form and click Send message
  4. Refresh /rails/letter_opener/. Emails should have been sent to everyone in the selected group or project
  5. After submitting the form you will get a message saying you have to wait 10 minutes. To clear this message run Gitlab::ExclusiveLease.cancel(Admin::EmailService::LEASE_KEY, Gitlab::ExclusiveLease.get_uuid(Admin::EmailService::LEASE_KEY)) in the Rails console (bin/rails console)

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