Adding alert for duo pro trials for existing users
What does this MR do and why?
Resolves https://gitlab.com/gitlab-org/gitlab/-/issues/448671
Adding alert for Duo Pro trials for existing users
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Alert | |
---|---|
![]() |
|
Project with empty repo | ![]() |
Project with no repo | ![]() |
How to set up and validate locally
- Setup GDK to simulate SaaS
- Enable Duo Pro trials Feature Flag:
echo "Feature.enable :duo_pro_trials" | gdk rails c
- Enable alert Feature Flag:
echo "Feature.enable :duo_pro_trial_alert" | gdk rails c
- Create a group that is on a paid plan such as premium or ultimate
- Go to Group, sub-group and project overview pages
- Alert should be visible
To clear a callout for the dismissed alert, run Users::Callout.last.destroy
Related to #448671
Edited by Roy Liu