Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove GOVUK_DISABLE_SEARCH_AUTOCOMPLETE feature flag #4533

Merged
merged 1 commit into from
Jan 10, 2025
Merged

Conversation

csutter
Copy link
Contributor

@csutter csutter commented Jan 8, 2025

What

We are centralising the enabling/disabling of autocomplete in Search API v2 so we don't need individual feature flags across several apps and in the component itself.

Why

The rationale for being able to disable autocomplete centres on a scenario in which the underlying search engine returns unsuitable results. The search_with_autocomplete component degrades gracefully anyway when no suggestions are returned, so we are moving to a simpler setup where there is a feature flag on Search API v2 to force returning empty responses instead.

Depends on alphagov/search-api-v2#375

We are centralising the enabling/disabling of autocomplete in Search API
v2 so we don't need individual feature flags across several apps and in
the component itself.

The rationale for being able to disable autocomplete centres on a
scenario in which the underlying search engine returns unsuitable
results. The `search_with_autocomplete` component degrades gracefully
anyway when no suggestions are returned, so we are moving to a simpler
setup where there is a feature flag on Search API v2 to force returning
empty responses instead.
@govuk-ci govuk-ci temporarily deployed to components-gem-pr-4533 January 10, 2025 14:20 Inactive
@csutter csutter merged commit 10ad27d into main Jan 10, 2025
12 checks passed
@csutter csutter deleted the rem-ac-ff branch January 10, 2025 14:24
@AshGDS AshGDS mentioned this pull request Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants