Skip to content

Add Duo Pro Trial CTA button to /billings page for paid group

Roy Liu requested to merge 439495-add-duo-pro-trial-cta-to-billings-page into master

What does this MR do and why?

Add Duo Pro Trial CTA button to the billings page of Premium and Ultimate group, and adjust the button on free group's billing page.

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.

Current cta on free billing page After
Screenshot_2024-02-16_at_4.19.55_PM Screenshot_2024-02-16_at_4.22.58_PM
Current Premium billing page After
Screenshot_2024-02-16_at_4.27.12_PM Screenshot_2024-02-16_at_4.09.32_PM
Current Ultimate billing page After
Screenshot_2024-02-16_at_4.26.20_PM Screenshot_2024-02-16_at_4.10.17_PM

How to set up and validate locally

  1. Turn on related feature flags, this particular change is behind duo_pro_trials
    Feature.enable(:duo_pro_trials)
    Feature.enable(:cs_connect_with_sales)
  2. To view the change on free billing page, go to the billing page of a top level group that's on free plan and never had a trial before.
  3. To view the change on paid plan billing page, set a group as premium plan by logging in as admin, and go to "/admin/groups", edit the group's plan under "Permissions and group features" to "Premium". And either impersonate the group owner or login as the group owner to view the billing page.

Related to #439495

Edited by Roy Liu

Merge request reports