Skip to content

Add correct syntax option for zoekt enabled searches

What does this MR do and why?

When Zoekt search is enabled the syntax options content will change to zoekt related content.

Screenshots or screen recordings

Before After
Screenshot_2023-09-26_at_17.21.10 Screenshot_2023-09-26_at_17.32.52

How to set up and validate locally

  1. Make sure advanced search is installed and enabled
  2. Enable Zoekt search in your gdk https://gitlab.com/gitlab-org/gitlab-development-kit/-/blob/main/doc/howto/zoekt.md?ref_type=heads
  3. Visit a search page http://gdk.test:3000/search?scope=blobs&search=*&group_id=33 group_id should correspond to namespace you have chosen for your zoekt

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 #419268 (closed)

Edited by Tomas Bulva

Merge request reports

Loading