fix(protocol-designer): disallow batch edit for multiple tips and pipette types #18651
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
closes RQA-4279
Overview
The bug Alex found is because Alex tried to open batch edit and the flow rate field required a tiprack but the tiprack was undefined because there were 2 tiprack types in the multiple steps selected. The fix is to disallow batch edit from opening up if the steps include multiple tiprack types. and it extended to also disallow batch edit if the steps include multiple pipette types, this is because lots liquid class advanced settings require knowing both pipette and tiprack types.
Test Plan and Hands on Testing
Upload the protocol attached in the ticket (make sure you update the version to 8.5.0 so it doesn't goes through the migration by accident)
multi-select several transfer steps and see that it doesn't show an error
Changelog
Risk assessment
low