[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
image image

FF disabled: REST

REST With Dependency Paths
image image

References

Screenshots or screen recordings

Before After

How to set up and validate locally

  1. Enable FF: group_dependency_graphql
  2. Create a Group
  3. Clone any project that will generate dependency findings
  4. Run a successful pipeline
  5. Navigate to the Group > Dependency List
  6. 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

Merge request reports

Loading