Instrument "Comments (from bots)" in the MR comment filter dropdown
What does this MR do and why?
For #441451 (closed)
Adds telemetry that tracks clicks on the "Comments (from bots)" item in the MR comments filter dropdown.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
N/A (all backstage)
How to set up and validate locally
- Go to an MR
- Open the network tab in the browser developer console
- Open the "All activity" dropdown in the "Activity"/timeline area of the MR overview
- Click the option labeled "Comments (from bots)" (any number of times)
- Note that a network request is sent to
track_event
containing the correct event name (click_comment_filter_toggle_bot_comments_in_mr
) for each click
Edited by Thomas Randolph