Skip to content

Move approved filter behind `mr_approved_filter` feature flag

What does this MR do and why?

The approved filter is causing performance problems. This MR moves it behind a feature flag. See details here: #3159 (comment 1333653484)

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

How to set up and validate locally

  1. Verify that the approved filter does nothing
  2. Run Feature.enable(:mr_approved_filter) in the rails console
  3. Verify that the approved filter does filter the MRs

MR acceptance checklist

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

Merge request reports