Skip to content

Update CTAs on Usage Quotas page for Duo Pro

Aman Luthra requested to merge 452361-al-update_cta_on_usage_quotas_duo_pro into master

What does this MR do and why?

With https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/9077+s, we replaced the Contact Sales action with Purchase Seats which would navigate the customer to the CustomersDot purchase flow to purchase the subscription. This MR re-enables the Contact Sales action to be available along with Purchase Seats to provide an alternative to the end user.

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

Before After
image image

How to set up and validate locally

Enable the following feature flags in the Rails console (bundle exec rails c):

Feature.enable(:code_suggestions)
Feature.enable(:code_suggestions_tokens_api)
Feature.enable(:purchase_code_suggestions)
Feature.enable(:self_managed_code_suggestions)
Feature.enable(:hamilton_seat_management)
Feature.enable(:cs_connect_with_sales)
  1. Create a new group with a Saas or SM Premium or Ultimate subscription.
  2. Visit /groups/<GROUP_NAME>/-/usage_quotas#code-suggestions-usage-tab.
  3. You should see the screenshots above with a link to customers-app.

Related to #452361

Edited by Minahil Nichols

Merge request reports