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

Module Setup Accordion Step: link usb connection connection status #8233

Closed
3 tasks
b-cooper opened this issue Aug 11, 2021 · 1 comment
Closed
3 tasks

Module Setup Accordion Step: link usb connection connection status #8233

b-cooper opened this issue Aug 11, 2021 · 1 comment
Labels
app Affects the `app` project

Comments

@b-cooper
Copy link
Contributor

Part of functionality that lives within the Modules Setup Accordion Step whose reqs are outlined here #7664. The rendered modules also display whether or not the connected robot has detected a module of that type plugged in. There are two visual possibilities for the USB status overlay: "Not Connected" and "Connected" the designs are details in this figma node

  • Poll the robots GET /modules endpoint every 5 seconds while the Module Setup Step is mounted. This will allow us to update the UI as soon as a new module is detected by the robot's operating system. As this feature will not take advantage of the legacy RPC session, this component must manage its own poll of the GET /modules endpoint. A similar poll has been implemented already at line 100 of AttachedModulesCard.tsx here
  • Use the usbPort property of each module object to populate the correct contents of the new usb info overlay component. Current logic for this is implemented here for reference.
  • if any of the modules required by the protocol are not detected by the robot, the main "Proceed to Labware Setup" CTA should be disabled with a hover tooltip that explains that the modules must be connected via USB to the robot, power cables plugged in, and switched on.
@jerader
Copy link
Collaborator

jerader commented Aug 18, 2021

Additional acceptance criteria for this ticket, mentioned in a comment on PR #8224:

would we be able to have this copy be dynamic based on there being 1 vs more than 1 module? so if
there's one module it says

Plug in and power up the required module via the OT-2 USB Port. Place the module(s) as shown in the deck map.

if there are more than 1 module, it says

Plug in and power up the required module(s) via the OT-2 USB Port(s). Place the module(s) as shown in the deck map.

@anthonywilleee anthonywilleee added the app Affects the `app` project label Aug 24, 2021
@anthonywilleee anthonywilleee added this to the App & UI Sprint 1 milestone Aug 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app Affects the `app` project
Projects
None yet
Development

No branches or pull requests

3 participants