v2 telemetry: add v2 telemetry to src/communitySearchContexts
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
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 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.
@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)