Draft: Usage Quotas: Setup repository health section
Why Draft?
- UX Review !215969 (comment 2951283756)
- Tests
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
| Expanded | Collapsed | Empty State |
|---|---|---|
|
|
|
How to set up and validate locally
- Enable feature flag
Feature.enable(:project_repositories_health) - Navigate to the Project -> Settings -> Usage Quotas
- Ensure Repository has a expandable chevron on it
- When clicked, if met with an empty state then ensure you can click the Generate button
- 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


