Frontend work for regex filter on Zoekt code search
What does this MR do and why?
Added regular expression button.
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
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Enable regular expression feature flag
echo 'Feature.enable(:zoekt_exact_search)' | rails c
- Make sure advanced search is installed and enabled
- Make sure you enable zoekt.
- 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
- Test search with regular expression toggle enabled/disabled
Related to #435777 (closed)
Edited by Tomas Bulva