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

feat(protocol-designer): allow tip racks but not trash selection in moveLabware form #13109

Closed
wants to merge 1 commit into from

Conversation

jerader
Copy link
Collaborator

@jerader jerader commented Jul 17, 2023

closes RAUT-561 and RQA-1076 and RQA-1114

Overview

When you move a labware, tip racks on the deck are now selectable but the trash is no longer selectable (for now since only a fixed trash is supported)

Test Plan

sandbox: https://sandbox.designer.opentrons.com/pd_labware-dropdown-options/

add a move labware step in the timeline, doesn't matter which robot type it is. The tipracks on the deck should be selectable but the trash should not be selectable in the drop down.

add a transfer or mix to the timeline. The labware selection should not show tip racks but should show the trash.

Changelog

  • modify getLabwareOptions selector and test to have branching logic for tipracks and trash when the presaved step is moveLabware

Review requests

see test plan

Risk assessment

low

@jerader jerader requested review from b-cooper, shlokamin and a team July 17, 2023 16:44
@jerader jerader changed the title feat(protocol-designer): allow tip racks but not trash selection to moveLabware feat(protocol-designer): allow tip racks but not trash selection in moveLabware form Jul 17, 2023
@codecov
Copy link

codecov bot commented Jul 17, 2023

Codecov Report

Merging #13109 (c89915d) into edge (1a3fc3c) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             edge   #13109   +/-   ##
=======================================
  Coverage   72.45%   72.45%           
=======================================
  Files        2388     2388           
  Lines       65998    66001    +3     
  Branches     7306     7308    +2     
=======================================
+ Hits        47817    47820    +3     
  Misses      16442    16442           
  Partials     1739     1739           
Flag Coverage Δ
protocol-designer 45.86% <100.00%> (+0.02%) ⬆️

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

Impacted Files Coverage Δ
protocol-designer/src/ui/labware/selectors.ts 90.47% <100.00%> (+1.58%) ⬆️

@jerader
Copy link
Collaborator Author

jerader commented Aug 8, 2023

i ended up making this change in this pr: #13237 so gonna close this

@jerader jerader closed this Aug 8, 2023
@jerader jerader deleted the pd_labware-dropdown-options branch August 8, 2023 19:04
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.

None yet

1 participant