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): disable exit button after successful pipette attach/detach #15205

Merged
merged 4 commits into from
May 16, 2024

Conversation

ncdiehl11
Copy link
Collaborator

@ncdiehl11 ncdiehl11 commented May 16, 2024

Closes RQA-2731

Overview

On OT-2, after a pipette is attached or detached successfully, the exit button should only be clickable once, so that many home commands are not emitted in rapid succession with each click.

Screen.Recording.2024-05-16.at.2.44.13.PM.mov
Screen.Recording.2024-05-16.at.2.44.59.PM.mov

Test Plan

  • start attach flow for an OT-2 pipette
  • after completing steps successfully, click "Exit" button
  • observe that button immediately becomes disabled after clicking
  • repeat above with detach flow

Changelog

  • pass down isDisabled prop to success exit button

Review requests

js

Risk assessment

low

…and 1 click

After a pipette is attached or detached successfully, the exit button should only be clickable once,
so that many home commands are not emitted in rapid succession with each click.

Closes RQA-2731
@ncdiehl11 ncdiehl11 self-assigned this May 16, 2024
@ncdiehl11 ncdiehl11 marked this pull request as ready for review May 16, 2024 18:47
@ncdiehl11 ncdiehl11 requested a review from a team as a code owner May 16, 2024 18:47
@ncdiehl11 ncdiehl11 requested review from smb2268 and removed request for a team May 16, 2024 18:47
@ncdiehl11 ncdiehl11 changed the title fix(app): disable exit button after successful pipette attach/detach and 1 click fix(app): disable exit button after successful pipette attach/detach May 16, 2024
@smb2268
Copy link
Contributor

smb2268 commented May 16, 2024

This looks good - but I'm wondering what happens if you press "Calibrate Pipette Offset" after pressing exit? Maybe we should disable both buttons

Copy link
Contributor

@smb2268 smb2268 left a comment

Choose a reason for hiding this comment

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

lgtm!

@ncdiehl11 ncdiehl11 merged commit a84f58a into chore_release-7.3.0 May 16, 2024
20 checks passed
@ncdiehl11 ncdiehl11 deleted the fix_app-ot2-exit-home branch May 16, 2024 22:16
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