Skip to content

Migrate admin emails form from HAML to Vue

What does this MR do and why?

Related to #374116 (closed)

We are trying to migrate the select2 dropdown in /admin/email. Because the form also has frontend validation and it is a fairly simple form I decided it was best to migrate the whole form to Vue so we can then add the dropdown more easily. This MR introduces the admin_emails_vue feature flag to start on this. It also adds a form component with the Subject and Body fields. The Recipients dropdown will be added in a follow-up MR.

Screenshots or screen recordings

Feature flag disabled Feature flag enabled
Screenshot_2023-01-04_at_3.33.08_PM Screenshot_2023-01-04_at_3.31.10_PM

How to set up and validate locally

Navigate to /admin/email

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

Loading