Skip to content

Resolve "Add "project" filter option to group-level dependencies app"

What does this MR do and why?

Adds the "project" search-option to the group-level dependency report.

Screenshots or screen recordings

Screen_Recording_2023-11-22_at_12.47.44_pm

How to set up and validate locally

  1. Enable the related feature flags echo "Feature.enable(:group_level_dependencies_filtering)" | rails c
  2. Go to a group's dependency list: "Secure" -> "Dependency List"
  3. Verify that when focusing the "Search of filter dependencies ..." input the "Project" option appears
  4. Verify that projects load and can be selected/deselected
  5. Verify that when typing in a project names it filters based on the search term
  6. Verify that when the filters get submitted, the correct request is made - for example -/dependencies.json?sort_by=packager&sort=asc&page=1&filter=all&project_ids[]=54&project_ids[]=1

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #422356 (closed)

Edited by David Pisek

Merge request reports