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

Fix near me searches sometimes not triggering HTML5 geolocation #1809

Merged
merged 8 commits into from
Mar 24, 2023

Conversation

oshi97
Copy link
Contributor

@oshi97 oshi97 commented Mar 24, 2023

This PR updates the SDK to the latest version of core, which has been updated to include inputIntents
on search-core's AutocompleteResult that were expected by the SDK but did not exist before.

search-core has been updated from v1.6 to v2.2, however none of the breaking changes affect the SDK's
external interfaces. The SDK's internal filter registry has been updated to support the breaking static filter changes from v2.0 of search-core.

T=TECHOPS-8462
TEST=auto,manual

hook local SDK up to affected techops site. see that geolocation now fires for edge case where a user
clicks on an autocomplete option for a "near me" search as opposed to typing it out manually.

see that selecting a single static filter works as expected
multiple static filters from the same field works as expected (are $or-ed together)
and multiple static filters from different fields works as expected (are $and-ed together)

@coveralls
Copy link

coveralls commented Mar 24, 2023

Coverage Status

Coverage: 61.441% (+0.002%) from 61.439% when pulling ac44769 on dev/missing-autocomplete-input-intents into 3ab4bca on hotfix/v1.15.4.

@oshi97 oshi97 merged commit b4a6d5e into hotfix/v1.15.4 Mar 24, 2023
@oshi97 oshi97 deleted the dev/missing-autocomplete-input-intents branch March 24, 2023 17:16
@oshi97 oshi97 mentioned this pull request Mar 24, 2023
oshi97 added a commit that referenced this pull request Mar 24, 2023
### Fixes
* Fix `near me` searches not triggering HTML5 geolocation in certain scenarios (#1809)
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