sourcegraph icon indicating copy to clipboard operation
sourcegraph copied to clipboard

v2 telemetry: add v2 telemetry to src/communitySearchContexts

Open dadlerj opened this issue 1 year ago • 3 comments

Context:

  • https://github.com/sourcegraph/sourcegraph/pull/60127
  • https://github.com/sourcegraph/sourcegraph/pull/60192
  • https://github.com/sourcegraph/sourcegraph/pull/60219
  • https://github.com/sourcegraph/sourcegraph/pull/60343

Test plan

sg start visit page check if events appear in event_logs table locally

dadlerj avatar Feb 09 '24 17:02 dadlerj

This is small/simple PR that is in good shape for review. I'm honestly struggling to know how to test these pages though. Can you provide any guidance on, like, what settings to set and what URLs to visit to actually test locally @vovakulikov ?

dadlerj avatar Feb 27 '24 19:02 dadlerj

@dadlerj good questions, I remember that these pages were created for setting sourcegraph.com instance contexts with different repositories. I'm not sure this is still in use actually, I will double-check and will be back with updates, thanks for asking.

vovakulikov avatar Mar 01 '24 05:03 vovakulikov

@dadlerj so it looks like we still support custom community context pages. To check them you should open sourcegraph.com (they work only on dot-com instance) and go to the sourcegraph/com/kubernetes URL (or any other community context URL, you can find a full list of routes here)

Sidenote: It looks a bit outdated though so we may want to remove them completely or make an update there (but not sure this will happen soon since priority now is on the svelte prototype)

cc @taiyab just FYI that we have these pages (and we probably should think of them if we do any changes on the home page)

Screenshot 2024-03-04 at 11 56 01

vovakulikov avatar Mar 04 '24 15:03 vovakulikov