Skip to content

Add hand raise lead to the duo pro trial widget popover

Doug Stull requested to merge 457267-add-hand-raise-lead into master

What does this MR do and why?

Add hand raise lead to the duo pro trial widget popover

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

  • note: error in recording is due to customersDot not being setup locally.
Before After
Screenshot_2024-05-20_at_5.06.45_PM Screenshot_2024-05-20_at_5.04.37_PM

Screen_Recording_2024-05-20_at_5.05.24_PM

How to set up and validate locally

  1. Setup GDK to simulate SaaS
  2. Create a new top-level group.
  3. Go to admin panel and edit the group to apply the Ultimate plan.
  4. Add a duo pro trial to that namespace in the rails console and enable the feature flag duo_pro_trials
Feature.enable(:duo_pro_trials)
n = Namespace.last
add_on = ::GitlabSubscriptions::AddOn.where(name: ::GitlabSubscriptions::AddOn.names[:code_suggestions]).last
::GitlabSubscriptions::AddOnPurchase.create(add_on: add_on, namespace: n, quantity: 1, expires_on: 30.days.from_now, purchase_xid: SecureRandom.hex(16), trial: true)
  1. Visit the group page and verify widget seen.
  2. Create a project under that group and visit the project page and verify widget seen.

Related to #457267

Edited by Doug Stull

Merge request reports