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: Use search.autocomplete.query event for suggestions #2570

Open
wants to merge 2 commits into
base: poc/fuzzy
Choose a base branch
from

Conversation

hellofanny
Copy link
Contributor

@hellofanny hellofanny commented Nov 18, 2024

What's the purpose of this pull request?

Follow-up of #2568

We are currently sending search.query events type instead of search.autocomplete.query when typing a term in the search input. This may be affecting some metrics.

How to test it?

Run the project locally or test though this preview link

  1. Type apple in the input search field and press enter (you can slowly type it)
  2. Open the Network Tab and filter for event
  • You might see some events with type: "search.autocomplete.query"
image
  • The last event with the full text should have type: "search.query" (and it should be the only event with this type).
image

Starters Deploy Preview

vtex-sites/starter.store#618

References

Slack thread

Copy link

vercel bot commented Nov 18, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
faststore-site ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 18, 2024 11:03pm

Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

@hellofanny hellofanny changed the base branch from main to poc/fuzzy November 18, 2024 23:06
@hellofanny hellofanny marked this pull request as ready for review November 18, 2024 23:32
@hellofanny hellofanny requested a review from a team as a code owner November 18, 2024 23:32
@hellofanny hellofanny requested review from renatamottam, lucasfp13 and eduardoformiga and removed request for a team and renatamottam November 18, 2024 23:32
@hellofanny hellofanny self-assigned this Nov 18, 2024
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.

1 participant