Frontend: Add mergeRequests and issues to CiCatalogResource
What does this MR do and why?
Related to #415499 (closed)
Updating the ci_catalog_details query to use openMergeRequestsCount
and openIssuesCount
instead of the statistics
object.
Screenshots or screen recordings
How to set up and validate locally
Prerequisites
- Enable the feature flag
Feature.enable(:ci_namespace_catalog_experimental)
- To set projects as a ci catalog resource, follow the instructions in this MR
To Test
- Navigate to http://127.0.0.1:3000/flightjs/Flight/-/ci/catalog/resources/1 (replace project path with your project of choice)
- You should be able to see the details page
- View the "About" section in the right panel and insure that merge request and issues count are rendered
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Briley Sandlin