-
Notifications
You must be signed in to change notification settings - Fork 180
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
fix(app): add robot serial number to BuildrootAnalyticsData #15000
Conversation
add robot serial number to BuildrootAnalyticsData close RQA-2386
@@ -32,16 +32,20 @@ export function getBuildrootAnalyticsData( | |||
? getRobotUpdateRobot(state) | |||
: getViewableRobots(state).find(r => r.name === robotName) ?? null | |||
|
|||
if (updateVersion === null || robot === null) return null |
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.
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.
Yeah, the way you're handling this seems better!
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.
One nit that's your discretion. This makes sense to me. Thank you!
* fix(app): add robot serial number to BuildrootAnalyticsData
Overview
add robot serial number to
BuildrootAnalyticsData
and modify the condition to send existing data.If robot is not null, sending
currentSystem
,currnetVersion
, androbotSerialNumber
would be good even ifupdateVersion
is null since those properties are reflected the current user's robot situation.close RQA-2386
Test Plan
project_token can be found in Project Settings page
Changelog
Review requests
Risk assessment