Skip to content

Add error handling to depencencies project filter

What does this MR do and why?

It shows a meaningful error message in case fetching the list of projects for the group-level project filter fails.

Screenshots or screen recordings

Before After
Screenshot_2023-11-24_at_12.44.54_pm Screenshot_2023-11-24_at_12.43.58_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. Use devtools to throttle your network to be offline
  4. Apply the project filter
  5. Verify that an error banner with a message shows up

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

Related to #432707 (closed)

Edited by David Pisek

Merge request reports