Productize `trial_discover_page` experiment
What does this MR do and why?
Related to #458783
The <code data-sourcepos="5:7-5:25">trial_discover_page</code> experiment has been running for about 2 months now. We want to productize the experiment.
That means:
- removing the feature flag
- removing the references to the FF, including tracking references
- polishing the UX
- corresponding spec changes
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
No UX changes to the trial discover page itself, local screenshot attached for reference:
Changed area | Before | After |
---|---|---|
Active trial widget and popover | ||
Expired trial widget and popover |
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, you should see the trial-end widget.
-
In rails console, run this to change the group to be in an active trial:
Group.find_by(name: your_group_name).gitlab_subscription.update_columns(trial: true, hosted_plan_id: 7, trial_starts_on: 10.days.ago, trial_ends_on: 20.days.from_now)
-
Refresh the group overview page, you should see the active trial widget in the sidebar.