Skip to content

Add "CodeCopied" event log

Warren Gifford requested to merge erzhtor/add-code-copy-event-log into main

Created by: erzhtor

Closes https://github.com/sourcegraph/sourcegraph/issues/37341.

Description

This PR adds CodeCopied event log to analyze how often users copy code from results/files/notebooks.

image

Test plan

  • tested manually
  • sg start
  • Go to any file, search results, or notebook with code results/files
  • Select some code and copy (either using the keyboard or right-click)
  • Check-in DevTools.Networks tab that new CodeCopied event is sent

App preview:

Check out the client app preview documentation to learn more.

Merge request reports

Loading