Add frontend archived filter for zoekt code search
What does this MR do and why?
Related to #411833 (closed)
Add frontend for archived filter for zoekt code search
behind a wip
type ff search_add_archived_filter_to_zoekt
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
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
-
enable
search_add_archived_filter_to_zoekt
feature flagecho "Feature.enable(:search_add_archived_filter_to_zoekt)" | gdk rails c
-
make sure the namespace has at least one archived project with searchable text. Since i created new projects with the default README, I searched for
"To make it easy for you to get started with GitLab"
-
do a group code search (ensure that Zoekt code search is enabled in your user preferences)
-
verify the
include archived
checkbox shows up and by default is unchecked -
verify archived results not returned
-
select
include archived
and re-run the search -
verify archived results are returned