Add post trial CTAs to GitLab Duo Pro tab on /usage_quotas page

What does this MR do and why?

Related to #467797

Add post-trial experience for namespaces that trialed Duo Pro with free subscription to GitLab Duo Pro tab on /usage_quotas page for Gitlab.com.

Consist of:

  • A post trial alert
  • Empty state description updates
  • CTAs update
  • Trackings

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

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After
Tab is not available for free tier post_cta_after
Screenshot_2024-08-20_at_12.53.12_PM

How to set up and validate locally

GitlabSubscriptions::AddOn.find_or_create_by(name: 'code_suggestions', description: GitlabSubscriptions::AddOn.descriptions[:code_suggestions])
GitlabSubscriptions::AddOnPurchase.create(subscription_add_on_id: GitlabSubscriptions::AddOn.find_by(name: 'code_suggestions').id, namespace: Group.last, organization_id: 1, started_at: 60.days.ago, expires_on: 5.days.ago, trial: true, quantity: 1, purchase_xid: '1')
  • Go to /groups//-/usage_quotas#code-suggestions-usage-tab and observe
Edited by Roy Liu

Merge request reports

Loading