Update CTAs on Usage Quotas page for Duo Pro
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 |
---|---|
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)
- Create a new group with a Saas or SM Premium or Ultimate subscription.
- Visit
/groups/<GROUP_NAME>/-/usage_quotas#code-suggestions-usage-tab
. - You should see the screenshots above with a link to customers-app.
Related to #452361