Implement Trial-end widget in navigation
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:
- Modifying the tracking details of trial widget and popover.
- 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 |
---|---|
How to set up and validate locally
- Simulate saas and restart gdk
- Login and create a group
- 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)
- 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.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #415702
Edited by Roy Liu