VSCE: Display warnings for unsupported versions
Created by: abeatrix
Closes https://github.com/sourcegraph/sourcegraph/issues/31808 https://github.com/sourcegraph/sourcegraph/issues/32851
This PR:
- Adds warnings for users when they are connected to an unsupported Sourcegraph version (any version below 3.32.0)
- Logs events using the new EventSource type
IDEEXTENSION
for instances on 3.38.0 and above - Fixes the issue where
IDESearchSubmitted
event is logged twice every time a search has been performed as currently, it is logged when the result page is displayed and when a search button is clicked. Now it's been updated to log this event when the result page is loaded.
Test plan
Test plan currently not available for VSCE