Skip to content

Shows branch name in non-blob and non-wiki_blob scopes

What does this MR do and why?

Under specific conditions the search type indicator was showing wrong type of search. We have addressed this by making the front-end logic more robust.

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

Before After
Screenshot_2024-02-09_at_16.21.13 Screenshot_2024-02-09_at_16.20.20

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Make sure advanced search is installed and enabled
  2. Make sure you enable zoekt.
  3. Visit http://gdk.test:3000/search?group_id=9970&project_id=278964&repository_ref=0a68660b-mr-iid&scope=issues&search=test
  4. Check scopes together with the repository_ref param

Related to #436479 (closed)

Edited by Tomas Bulva

Merge request reports

Loading