Skip to content
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): show robot network connection in app if able to communicate via that connection #13206

Merged

Conversation

brenthagen
Copy link
Contributor

Overview

adds a check to ensure a connected network status ip reported by a robot has a healthy response from the desktop app discovery-client. for example, robots connected to a different wifi network than the client app should not show a wifi connection in the app, because the app cannot communicate with that robot via wifi. updated robot settings networking tab, and robot status header rendered on devices and device details pages.

closes RQA-1150

example robot settings networking tab when robot connected to a different wifi network:

Screen Shot 2023-07-31 at 5 15 50 PM

Test Plan

  • manually verified app behavior for robot connected to a different wifi network
  • updated unit tests

Changelog

  • Show robot network connection in app if able to communicate via that connection

Review requests

confirm on robot connected to different wifi network than app

Risk assessment

low

… via that connection

adds a check to ensure a connected network status ip reported by a robot has a healthy response from
the app discovery-client. for example, robots connected to a different wifi network than the client
app should not show a wifi connection in the app, because the app cannot communicate with that robot
via wifi.

closes RQA-1150
@brenthagen brenthagen requested a review from a team August 1, 2023 15:22
@brenthagen brenthagen requested a review from a team as a code owner August 1, 2023 15:22
@brenthagen brenthagen requested review from jerader and removed request for a team August 1, 2023 15:22
@codecov
Copy link

codecov bot commented Aug 1, 2023

Codecov Report

Merging #13206 (94bdc43) into internal-release_0.14.0 (fcab19c) will increase coverage by 0.08%.
Report is 2 commits behind head on internal-release_0.14.0.
The diff coverage is 96.00%.

Impacted file tree graph

@@                     Coverage Diff                     @@
##           internal-release_0.14.0   #13206      +/-   ##
===========================================================
+ Coverage                    72.51%   72.59%   +0.08%     
===========================================================
  Files                         2392     2365      -27     
  Lines                        66004    65244     -760     
  Branches                      7327     7194     -133     
===========================================================
- Hits                         47865    47367     -498     
+ Misses                       16392    16140     -252     
+ Partials                      1747     1737      -10     
Flag Coverage Δ
app 71.34% <96.00%> (+0.03%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
app/src/organisms/Devices/RobotStatusHeader.tsx 85.71% <91.66%> (+3.89%) ⬆️
.../Devices/RobotSettings/RobotSettingsNetworking.tsx 95.45% <100.00%> (+3.14%) ⬆️

... and 50 files with indirect coverage changes

@brenthagen brenthagen removed the request for review from jerader August 1, 2023 15:22
Copy link
Contributor

@koji koji left a comment

Choose a reason for hiding this comment

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

The changes look good to me

@brenthagen brenthagen merged commit 008cae1 into internal-release_0.14.0 Aug 2, 2023
@brenthagen brenthagen deleted the app_network-status-for-same-network branch August 2, 2023 20:01
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.

2 participants