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 |
|
With abled |
How to set up and validate locally
Application setup
- Customers Dot needs to be setup in order to view the billing page for a group
- Start GDK in SaaS mode
GITLAB_SIMULATE_SAAS=1 gdk start
Group setup
- Create a Group
- 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
- 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.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #432440