Add reset button for language filter
What does this MR do and why?
Add "Reset filters" button for the language filter.
This MR is a follow-up stemming from this comment: !107973 (comment 1264001729)
Screenshots or screen recordings
before | after |
---|---|
How to set up and validate locally
- Checkout this branch
- Enable the language aggregation
echo 'Feature.enable(:search_blobs_language_aggregation)' | rails c
- Setup the Advanced Search
https://gitlab.com/gitlab-org/gitlab-development-kit/blob/main/doc/howto/elasticsearch.md
- Enable the Advanced Search
http://gdk:3000/admin/application_settings/advanced_search
- Visit the search page
http://gdk:3000/search
- Scope
blobs
(code item in the sidebar menu) are now only visible when a group or project is selected. - Scope 'blobs' contains language filter
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 #342651 (closed)
Edited by Tomas Bulva