-
Notifications
You must be signed in to change notification settings - Fork 179
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): App support for new lid commands and fix lid error boundary trigger #17386
Changes from all commits
3d06b05
df9aa81
9c60b01
511003d
e69f8f3
ae87a66
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,7 +42,9 @@ export function getAddressableAreasInProtocol( | |
) { | ||
return [...acc, params.newLocation.addressableAreaName] | ||
} else if ( | ||
commandType === 'loadLabware' && | ||
(commandType === 'loadLabware' || | ||
commandType === 'loadLid' || | ||
commandType === 'loadLidStack') && | ||
Comment on lines
+45
to
+47
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Maybe not in this PR, but could we add a TODO for adding some sort of constant to shared data that contains a list of all possible load commands, and then implement that in the app? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah, definitely - we won't want to reference all three of these everywhere we search for |
||
params.location !== 'offDeck' && | ||
params.location !== 'systemLocation' && | ||
'slotName' in params.location && | ||
|
@@ -75,7 +77,9 @@ export function getAddressableAreasInProtocol( | |
|
||
return [...acc, ...addressableAreaNames] | ||
} else if ( | ||
commandType === 'loadLabware' && | ||
(commandType === 'loadLabware' || | ||
commandType === 'loadLid' || | ||
commandType === 'loadLidStack') && | ||
params.location !== 'offDeck' && | ||
params.location !== 'systemLocation' && | ||
'addressableAreaName' in params.location && | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That will do it!