Skip to content

Labels as a facet - state update - part 3

Tomas Bulva requested to merge labels-as-a-facet-state-update into master

What does this MR do and why?

Related to #369541 (closed)

This MR is adding one small missing piece to connect the frontend part of the labels filter to the backend. Allows to filter the results based on the filter attr in the URL.

parts status
Labels as a facet - backend tweaks - part 1 merged
Labels as a facet - minor visual updates - part 2 merged
Labels as a facet - state update - part 3 merged 👈
Labels as a facet - new component - part 4 in review

Screenshots or screen recordings

before after
before-labels after-labels

How to set up and validate locally

  1. Enable ff
    Feature.enable(:search_issue_label_aggregation)
  2. set up gdk for elasticsearch
  3. enable advanced search and index everything
  4. Apply patch component.patch
  5. Navigate to the search page http://gdk.test:3000/search?scope=issues&search=*

Note: this MR contains only the backend changes so you will not be able to interact with this using the frontend (only through the URL params)

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Tomas Bulva

Merge request reports