Skip to content

Add Duo Enterprise trial alert for group billing page

What does this MR do and why?

Implement group /billings page designs per tier type to account for new Duo Enterprise trial, existing Duo Pro trial, and new combined Ultimate + Duo Enterprise trial offering paths

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.

Plan Desktop Mobile
free Screenshot_2024-08-09_at_10.47.50 Screenshot_2024-08-09_at_10.48.11
premium Screenshot_2024-08-09_at_10.51.19 Screenshot_2024-08-09_at_10.51.32
ultimate Screenshot_2024-08-09_at_10.53.02 Screenshot_2024-08-09_at_10.53.15

How to set up and validate locally

bin/rails c

Feature.enable(:duo_enterprise_trials)
bin/rails c

GitlabSubscription.last.update(hosted_plan: Plan.find_by(name: 'premium'))
  • Reload. Make sure you can see the Duo Enterprise alert.
bin/rails c

GitlabSubscription.last.update(hosted_plan: Plan.find_by(name: 'ultimate'))
  • Reload. Make sure you can see the Duo Enterprise alert.
bin/rails c

GitlabSubscription.last.update(hosted_plan: Plan.find_by(name: 'gold'))
  • Reload. Make sure you cannot see the Duo Enterprise alert.

Related to #472087

Edited by Serhii Yarynovskyi

Merge request reports

Loading