Add language facet tracking
What does this MR do and why?
Adding missing tracking events.
Events:
- Fetch Buckets (getting all possible filters from API)
- Show More (clicked show more button, more than 10 filters)
- Show Has Over Max Label (has more than 100 filters)
- Submit Query (click apply button)
- Parse Url Query (when URL has active filters)
- Select Filter (click check box)
Screenshots or screen recordings
How to set up and validate locally
- Checkout this branch
- Enable the language aggregation
echo 'Feature.enable(:search_blobs_language_aggregation)' | rails c
- Setup the Advanced Search
- Enable the Advanced Search
- Visit the search page
http://gdk:3000/search
- Scope
blob
is now only visible when a group or project is selected. - Scope
blob
contains language filter - Check the snowplow events
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #342651 (closed)
Edited by Tomas Bulva