[FE] Update group dependency list to use GraphQL location query
What does this MR do and why?
Populate location dropdown with the new GraphQL query introduced by: Add dependency locations GraphQL to GroupType (!237674 - merged). This replaces the REST endpoint. It is part of the migration work: Migrate dependency filtering to GraphQL: Group-... (gitlab-org#17254).
The UI/UX remains the same.
FF enabled: GraphQL
| GraphQL | With Dependency Paths |
|---|---|
![]() |
![]() |
FF disabled: REST
| REST | With Dependency Paths |
|---|---|
![]() |
![]() |
References
Screenshots or screen recordings
| Before | After |
|---|---|
How to set up and validate locally
- Enable FF:
group_dependency_graphql - Create a Group
- Clone any project that will generate dependency findings
- Run a successful pipeline
- Navigate to the Group > Dependency List
- Click on the location dropdown, it will make the GraphQL request
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 #600885
Edited by Samantha Ming



