-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add plugin installed event [IDE-736] #632
Conversation
@@ -26,7 +26,10 @@ import java.util.UUID | |||
storages = [Storage("snyk.settings.xml", roamingType = RoamingType.DISABLED)], | |||
) | |||
class SnykApplicationSettingsStateService : PersistentStateComponent<SnykApplicationSettingsStateService> { | |||
val requiredLsProtocolVersion = 16 | |||
// events | |||
var pluginInstalledSent: Boolean = false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will plugin developers working towards prod send a plugin installed event every time we start debug sessions? Will this be an issue for reporting?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should not be an issue, as these versions would have a snapshot version of the integrationName. Any report would of cause need to filter snapshot or dev versions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The issue would only occur in our org anyways.
6dfb39a
to
40b9c02
Compare
Description
This PR adds code to send analytics to track plugin installation. It could later be extended to send more events.
Depends on CLI preview release with protocol version 17
Checklist
Screenshots / GIFs
Visuals that may help the reviewer. Please add screenshots for any UI change. GIFs are most welcome!