Skip to content

Update 'Trial-end widget' popover copy

Roy Liu requested to merge 431814-update-trial-popover-copy into master

What does this MR do and why?

  1. Update the trial-end widget popover copy
  2. Change ordering of CTAs on both trial-end widget popover and active-trial-status widget popover.

Screenshots or screen recordings

Widget Before After
Trial-end Screenshot_2023-11-14_at_9.42.02_AM Screenshot_2023-11-21_at_11.50.37_AM
Active-trial-status Screenshot_2023-11-21_at_2.30.28_PM Screenshot_2023-11-21_at_11.50.15_AM

How to set up and validate locally

  1. Simulate SaaS and start GDK.
  2. Create a new private top level group, get the group id from group overview page.
  3. To observe the active-trial-status widget and popover, run the following command in rails console:
    Group.find(your_group_id).gitlab_subscription.update_columns(trial: true, hosted_plan_id: 7, trial_starts_on: 10.days.ago, trial_ends_on: 10.days.from_now)
    You should see the active-trial-status widget in the sidebar, hover over it will display the popover.
  4. To observe the trial-end widget and popover, run the following command in rails console after running the above command:
    Group.find(your_group_id).gitlab_subscription.update_columns(hosted_plan_id: nil, trial_ends_on: 1.days.ago)
    You should see the trial-end widget in the sidebar, hover over it will display the popover.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #431814

Edited by Roy Liu

Merge request reports