Skip to content

Instrument "Comments (from users)" in the MR comment filter dropdown

What does this MR do and why?

For #441451

Adds telemetry that tracks clicks on the "Comments (from users)" 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

  1. Go to an MR
  2. Open the network tab in the browser developer console
  3. Open the "All activity" dropdown in the "Activity"/timeline area of the MR overview
    • !

    • Note that this will read "X +n more" if you have already modified the selections inside the dropdown.
  4. Click the option labeled "Comments (from users)" (any number of times)
  5. Note that a network request is sent to track_event containing the correct event name (user_clicks_comment_filter_toggle_user_comments) for each click
Edited by Thomas Randolph

Merge request reports