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(protocol-designer): add duplicate tipracks off deck #17026

Merged
merged 1 commit into from
Dec 4, 2024

Conversation

jerader
Copy link
Collaborator

@jerader jerader commented Dec 3, 2024

closes RQA-3744

Overview

Fix bug where you couldn't add the same tiprack multiple times off deck

Test Plan and Hands on Testing

Test that you can add multiple of the same labware and tipracks offdeck by selecting it and not pressing the duplicate button

Changelog

  • add logic for offdeck labware

Risk assessment

low

@jerader jerader requested a review from a team as a code owner December 3, 2024 22:44
@jerader jerader requested review from koji and ncdiehl11 December 3, 2024 22:44
(selectedNestedLabwareDefUri != null &&
selectedNestedLabwareDefUri !==
createdNestedLabwareForSlot?.labwareDefURI))
(slot === 'offDeck' && selectedLabwareDefUri != null) ||
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

definitely need to clean up this component after the release. the logic is confusing to follow!

Copy link
Collaborator

@ncdiehl11 ncdiehl11 left a comment

Choose a reason for hiding this comment

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

Once we know we're offDeck, do we need to check for nesting and modules?

Copy link
Collaborator

@ncdiehl11 ncdiehl11 left a comment

Choose a reason for hiding this comment

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

looks good, we should probably add some util for getting whether it's safe to add the LW or not, handling off deck and nesting etc.

@jerader jerader merged commit 06f9601 into chore_release-pd-8.2.0 Dec 4, 2024
24 checks passed
@jerader jerader deleted the pd_off-deck-duplicate branch December 4, 2024 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants