Skip to content

Usage usage_by_user path in Usage dashboard page

What does this MR do and why?

The MR passes usage_by_user path to the frontend and use it in the usage_by_user_tab.vue, so the table will link users to their respective page.

References

Screenshots or screen recordings

Before After

How to set up and validate locally

  • Ensure you're running GitLab as self-managed (e.g. 'export GITLAB_SIMULATE_SAAS=0 gdk restart`)
  • Ensure you've a license added to your instance
  • Enable billing_usage feature flag (e.g. http://gdk.test:3000/rails/features/usage_billing_dev)
  • Navigate to the /admin/gitlab_duo/usage
  • Go to "Usage by user" tab
  • Ensure the table users are linking to the correct URL (checking the ID or clicking a user)

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 #569730

Edited by Ammar Alakkad

Merge request reports

Loading