Exclude archived projects from commit search
What does this MR do and why?
Exclude archived projects from commit search
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Make sure advanced search is enabled.
- Add a commit with some specific message like
foobar
on 2 projects - Archive one of the projects from project settings
- Now search for
foobar
. You should see the results from both projects undercommits
- Now enable the feature-flag
search_commits_hide_archived_projects
- Now search again, you should see the results from only non-archived project
- Repeat the same steps and test for group search as well.
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.
Related to #414902 (closed)
Edited by Siddharth Dungarwal