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(components): fix logic for whether TC is selected in DeckConfigurator #16476

Merged
merged 1 commit into from
Oct 15, 2024

Conversation

ncdiehl11
Copy link
Collaborator

@ncdiehl11 ncdiehl11 commented Oct 14, 2024

Overview

In our DeckConfigurator component, there is a leaky equality check for selected cutout ID with configured thermocycler cutout. The situation arises when a thermocycler is configured in cutout A1 and the selected cutout ID is B1, or vice versa. These point to the thermocycler being configured in the same physical location, so we should check whether both selected and configured cutout IDs are included in thermocycler cutouts ([cutoutA1, cutoutB1]).

Screenshot 2024-10-14 at 10 23 13 AM

Closes RQA-3237

Test Plan and Hands on Testing

  • On desktop app, launch module calibration for thermocycler
  • If the thermocycler has not yet been configured on the robot's deck configuration, follow the prompt in the modal to do so
  • Confirm that the fixture style for the thermocycler is selected style (blue)

Changelog

  • expand selected check in DeckConfigurator for thermocycler module cutouts

Review requests

see test plan

Risk assessment

low

…ator

In our `DeckConfigurator` component, there is an insufficient equality check for selected cutout ID
with configured thermocycler cutout. The situation arises when a thermocycler is configured in
cutout A1 and the selected cutout ID is B1, or vice versa. These point to the thermocycler being
configured in the same physical location, so we should check whether both selected and configured
cutout IDs are included in thermocycler cutouts ([cutoutA1, cutoutB1]).

Closes RQA-3237
@ncdiehl11 ncdiehl11 self-assigned this Oct 14, 2024
@ncdiehl11 ncdiehl11 marked this pull request as ready for review October 14, 2024 14:43
@ncdiehl11 ncdiehl11 requested a review from a team as a code owner October 14, 2024 14:43
@ncdiehl11 ncdiehl11 requested review from mjhuff, koji and jerader and removed request for a team October 14, 2024 14:43
Copy link
Contributor

@mjhuff mjhuff left a comment

Choose a reason for hiding this comment

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

Yeah this makes sense. Thank you!

@ncdiehl11 ncdiehl11 merged commit df99ac4 into edge Oct 15, 2024
54 checks passed
@ncdiehl11 ncdiehl11 deleted the components_deck-configurator-selected-tc branch October 15, 2024 13:53
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