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
- Verify that the approved filter does nothing
- Run
Feature.enable(:mr_approved_filter)
in the rails console - 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.
-
I have evaluated the MR acceptance checklist for this MR.