Draft: Replace zoekt feature_flags with application_settings
What does this MR do and why?
Added the condition of zoekt_settings
from the application_settings
. Change the default to true
for the feature_flags index_code_with_zoekt
and search_code_with_zoekt
. Add a new page to toggle the Zoket settings
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 |
---|---|
How to set up and validate locally
- Make sure Zoekt is set up.
- Run the gdk locally and navigate to
/admin
. You might need to restart the gdk. Notice that there is a new itemExact Code Search
in theSettings
- Open a rails console and verify that checkbox values match with the
ApplicationSetting.last.zoekt_settings
- Check/Uncheck the options and verify the changes reflected in the record
ApplicationSetting.last.zoekt_settings
Related to #389765