Skip to content

Implement Trial-end widget in navigation

Roy Liu requested to merge 415702-implement-trial-end-widget into master

What does this MR do and why?

In the new nav sidebar, reuse the trial widget and popover to display post trial information during the first 10 days.

Also includes:

  1. Modifying the tracking details of trial widget and popover.
  2. Removing the use and reference of ultimate_plan_id method as it's no longer needed.

Screenshots or screen recordings

Active trial widget Trial-end widget
Screenshot_2023-07-24_at_3.46.51_PM Screenshot_2023-08-01_at_3.32.47_PM

How to set up and validate locally

  1. Simulate saas and restart gdk
  2. Login and create a group
  3. In rails console, change the trial start and end date for the group
    Group.find_by(name: your_group_name).gitlab_subscription.update_columns(trial_starts_on: 31.days.ago, trial_ends_on: 1.days.ago)
  4. Go to group overview page and check super sidebar

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 #415702

Edited by Roy Liu

Merge request reports