Skip to content

Add `Settings > GitLab Duo` menu item to top-level groups

What does this MR do and why?

Add Settings > GitLab Duo menu item to top-level groups

This adds a new page to manage GitLab Duo usage quotas from. The page is accessible via the Setting > GitLab Duo menu item in top-level groups.

Requires the gitlab_duo_usage_menu_item feature flag to be enabled.

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

Screenshot_2024-06-20_at_2.23.41_PM

How to set up and validate locally

  1. Enable the :hamilton_seat_management feature flag: echo "Feature.enable(:hamilton_seat_management)" | rails c.
  2. Enable the :gitlab_duo_usage_menu_item feature flag: echo "Feature.enable(:gitlab_duo_usage_menu_item)" | rails c.
  3. Run your GDK in SaaS mode: https://docs.gitlab.com/ee/development/ee_features.html#simulate-a-saas-instance.
  4. Navigate to a top-level group. There should be a Setting > GitLab Duo menu item that brings to a dedicated page to manage the feature's usage.

Related to #464019 (closed)

Edited by Paul Gascou-Vaillancourt

Merge request reports