Draft: Usage Quotas: Setup repository health section

Why Draft?

What does this MR do and why?

Part of #509253

Broken off from !215969
This change is behind the feature flag (:project_repositories_health)

This change is the second of multiple MRs focused on implementing the Repository Health Dashboard on the Usage Quotas page. The UI in totality can be viewed here: !215969

This change is focused on initializing the Repository Health Section component and fetching/managing data from the API.

Screenshots or screen recordings

Demo

Demo

Expanded Collapsed Empty State
Expanded Collapsed Empty_State

How to set up and validate locally

  1. Enable feature flag Feature.enable(:project_repositories_health)
  2. Navigate to the Project -> Settings -> Usage Quotas
  3. Ensure Repository has a expandable chevron on it
  4. When clicked, if met with an empty state then ensure you can click the Generate button
  5. When clicked, if data exists, ensure you are met with a JSON blob of the API response

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

Merge request reports

Loading