Switch to GlExperimentBadge instead of the custom badge on custom email wrapper
Reworks custom email settings and adds `failed`... (!129004 - merged) introduced the Beta
badge to the custom_email_wrapper
component. However, it imports the custom badge component from the monolith, instead of relying on the shared GlExperimentBadge
gitlab-ui component.
This issue suggests moving to the shared UI component as the SSOT for the Beta/Experimental badge.
Beta
?
How to make it The GlExperimentBadge
component supports type
property which takes one of the two values: experiment
and beta
. So, to have it render text for the beta
scenario, all it takes is to set the type="beta"
.