Skip to content

Add language facet - add components

Tomas Bulva requested to merge 342651-add-language-filter-components into master

What does this MR do and why?

Add filter components

set of MRs status
Add language facet - feature flag in review
Add language facet - add state and data in review
Add language facet - add components 👈 this MR

Screenshots or screen recordings

How to set up and validate locally

  1. Checkout this branch
  2. Enable the language aggregation
    echo 'Feature.enable(:search_blobs_language_aggregation)' | rails c
  3. Setup the Advanced Search https://gitlab.com/gitlab-org/gitlab-development-kit/blob/main/doc/howto/elasticsearch.md
  4. Enable the Advanced Search http://gdk:3000/admin/application_settings/advanced_search
  5. Visit the search page http://gdk:3000/search
  6. Scope blob is now only visible when a group or project is selected.
  7. Scope 'blob' 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.

Related to #342651 (closed)

Edited by Tomas Bulva

Merge request reports