Add Duo Pro Trial CTA button to /billings page for paid group
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 |
---|---|
Current Premium billing page | After |
---|---|
Current Ultimate billing page | After |
---|---|
How to set up and validate locally
- Turn on related feature flags, this particular change is behind
duo_pro_trials
Feature.enable(:duo_pro_trials) Feature.enable(:cs_connect_with_sales)
- 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.
- 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