search: Add telemetry to search history in query input
Created by: fkling
Closes #40297 (closed)
This was easier than I thought...
Test plan
- Enable simple UI
- Focus search input and select a search history entry
- Browser network tools should show a call to
graphql?LogEvent
with a request content similar to this (I removed irrelevant data):
{
"query": "[...]",
"variables": {
"events": [{
"event": "SearchHistoryAutcompleteSuggestionClicked",
"argument": "{\"index\":2}",
[...]
}]
}
}
App preview:
Check out the client app preview documentation to learn more.