Split subtitle logic on GitLab Duo page
What does this MR do and why?
The GitLab Duo page under settings is currently using the same subtitle for both the self-managed page in the Admin area and the SaaS page in groups. This adds logic to decipher which subtitle should be displayed.
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
Test self-managed
- Enable Duo Pro following instructions in https://docs.gitlab.com/ee/development/ai_features/index.html
- Run GDK in Self-Managed mode and enable AI features for the instance
- Navigate to
/admin/code_suggestions
Test SaaS
- Enable Duo Pro following instructions in https://docs.gitlab.com/ee/development/ai_features/index.html
- Run GDK in SaaS mode and enable AI features for a group
- Navigate to {group}
/-/usage_quotas#code-suggestions-usage-tab - Navigate to {group}
/-/settings/gitlab_duo_usage
Edited by Austin Regnery



