Track usage of merge request file header buttons

What does this MR do?

For issue #197412 (closed)

Following the tracking guide, this merge adds tracking to the following 6 buttons inside a diff_header:

  1. Copy file path button
  2. Toggle comments for this file button
  3. Edit file button
  4. Show full file button
  5. View file @ SHA button
  6. Review app link button

Screenshots

image

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

As outlined in the frontend tracking guide, I have added a karma test for the copy to clip board button to ensure events are tracked when the button is clicked.

Edited by David O'Regan

Merge request reports

Loading