Skip to content

Conversation

kchepikava
Copy link
Contributor

No description provided.

@kchepikava kchepikava requested a review from egor-zalenski July 15, 2024 09:18
@CLAassistant
Copy link

CLAassistant commented Jul 15, 2024

CLA assistant check
All committers have signed the CLA.

import { TelemetryEvent } from './events'
import { checkIsAnalyticsGranted } from './checkAnalytics'

export const getProvider = (): string => get(store.getState(), 'connections.instances.connectedInstance.provider', '')
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it is better to have undefined instead of '' (empty string). In this case provider field won't be sent at all

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ArtemHoruzhenko, fixed to be undefined by default

egor-zalenski
egor-zalenski previously approved these changes Jul 15, 2024
Copy link
Collaborator

@ArtemHoruzhenko ArtemHoruzhenko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@mariasergeenko mariasergeenko merged commit 27de4e4 into main Jul 22, 2024
@mariasergeenko mariasergeenko deleted the fe/feature/RI-5675-add-provider-to-all-frontend-telemetry-events branch July 22, 2024 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants