Open
Description
openedon Aug 2, 2024
Description
Our analytics event for submitting a search fires on the /search
route even when the search term is "cleared" by selecting the text in the input, deleting it, and pressing enter or the search button.
Reproduction
- Visit https://openverse.org/ and submit a search
- Open the developer tools of your preferred browser to the Network tavb
- Clear the search bar, and without unfocusing the search bar, submit a search.
- See that the event was sent.
In writing this, I remembered that it is technically impossible to clear the search bar, so this issue really happens when resubmitting the current search term, not when clearing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Metadata
Assignees
Labels
Type
Projects
Status
📋 Backlog