Skip to content

Fix GitLab Duo Pro usage statistics card subtitle margin

What does this MR do and why?

Fix GitLab Duo Pro usage statistics card subtitle margin

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
150685_before 150685_after

How to set up and validate locally

  1. Needs both gdk and CustomersDot running (setup guide)
  2. In Rails console, enable Code Suggestions Feature.enable(:hamilton_seat_management)
  3. In Rails console, enable the filtering capabilities Feature.enable(:enable_add_on_users_filtering)

To assign Code Suggestions seats to your group:

  1. Pick (or create) a Group with a paid Subscription (e.g., Premium)
  2. In Rails console: add_on = GitlabSubscriptions::AddOn.find_or_create_by!(name: "code_suggestions") {|e| e.description = "Test"}
  3. In Rails console: GitlabSubscriptions::AddOnPurchase.create!(add_on: add_on, namespace: Namespace.find(<you-name-space-id>), expires_on: 21.month.from_now, quantity: 5, purchase_xid: 'A-S0002')
  4. Visit your group usage quotas page https://gdk.test:3443/groups/<your-group-here>/-/usage_quotas
  5. Check the expected behavior
Edited by Sheldon Led

Merge request reports