Relocate GitLab Duo Self-Hosted Pages to Main Duo Settings Page

What does this MR do and why?

As part of efforts to unify AI settings UX, the GitLab Duo Self-Hosted pages are being relocated to link out from the main Duo settings page (/admin/gitlab_duo) and the current stand-alone menu item in the admin menu is to be removed.

See Figma design

Out of scope:

References

GitLab Duo Self-Hosted

Screenshots or screen recordings

GitLab Duo settings page & admin menu

Before After
Screenshot_2025-04-22_at_5.25.23_pm Screenshot_2025-04-24_at_11.41.32_am

GitLab Duo Self-hosted breadcrumbs

Before After
Screenshot_2025-04-22_at_5.36.23_pm Screenshot_2025-04-22_at_5.11.07_pm

Screen Recording

UnifiedAIUX

How to set up and validate locally

Pre-requisites

  • You will need an active Ultimate online cloud license.
  • Make sure you are set up with a Duo Enterprise subscription by running the following command in the terminal:

GITLAB_SIMULATE_SAAS=0 bundle exec 'rake gitlab:duo:setup[duo_enterprise]'

  1. Start GDK in self-managed mode (GITLAB_SIMULATE_SAAS=0 gdk start)
  2. Navigate to http://gdk.test:3000/rails/features/ and enable the ai_duo_chat_sub_features_settings feature flag
  3. Visit Admin Area > GitLab Duo
  4. Find the "Configure AI Features" info card and click the "Configure Self-hosted models" button. This should navigate to the GitLab Duo Self-Hosted pages. Validate the pages are all working as expected and that there is a GitLab Duo breadcrumb which leads back to the Duo settings page.

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #524053 (closed)

Edited by Julie Huang

Merge request reports

Loading