Skip to content

Make createHandRaiseLeadPath an optional injected prop

What does this MR do and why?

Make createHandRaiseLeadPath an optional injected prop in code_suggestions_intro.vue so the component can be used from SM flow for Code Suggestions usage management without having to specify a value for createHandRaiseLeadPath.

Changelog not required as all changes are behind feature flags.

Screenshots or screen recordings

No visual changes are introduced in this MR. Screenshots below are making sure that the existing functionality still works.

Scenario Screenshot

With cs_connect_with_sales feature flag disabled

Screen Recording 2023-12-12 at 3.16.57 PM.mov

With cs_connect_with_sales feature flag en

abled

Screen Recording 2023-12-12 at 3.18.32 PM.mov

How to set up and validate locally

Application setup

  1. Customers Dot needs to be setup in order to view the billing page for a group
  2. Start GDK in SaaS mode GITLAB_SIMULATE_SAAS=1 gdk start

Group setup

  1. Create a Group
  2. Buy a Subscription for your group from Settings > Billing

Feature flag

Run the following in your rails console

Feature.enable(:hamilton_seat_management, Namespace.find(your-group-id))
 Feature.enable(:cs_connect_with_sales)

Application Setting

Run the following in your rails console

ApplicationSetting.first.update(check_namespace_plan: true)

Code Suggestions tab

  1. Visit /groups/<your-namespace-name>/-/usage_quotas#code-suggestions-usage-tab

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #432440

Edited by Vamsi Vempati

Merge request reports