Skip to content

Frontend regex filter tweaks

What does this MR do and why?

Tweaks:

  • add tooltip (@dgruzd)
  • toggle only reloads if search therm is entered (@bvenker)
  • add tracking

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-04-23_at_15.50.00 Screenshot_2024-04-23_at_15.49.42

How to set up and validate locally

  1. Enable regular expression feature flag
    echo 'Feature.enable(:zoekt_exact_search)' | rails c
  2. Make sure advanced search is installed and enabled
  3. Make sure you enable zoekt.
  4. Visit http://gdk.test:3000/search?search=test*&project_id=PROJECT_WITH_ZOEKT_ENABLED&group_id=GROUP_WITH_ZOEKT_ENABLED&search_code=true&scope=blobs
  5. Test search with regular expression toggle

Related to #435777

Edited by Tomas Bulva

Merge request reports