-
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(components,-protocol-designer): fix order and border radius logic for DeckLabelSet #17230
Conversation
… for DeckLabelSet This PR updates the order in which elements of a module/adapter/labware stack are displayed. The correct order should be top-down, reflecting the physical orientation of the elements on the deck. Also, this PR fixes the border radii of each label in the set according to designs. Closes RQA-3736
text: def.metadata.displayName, | ||
isSelected: true, | ||
isLast: hoveredLabware == null && selectedNestedLabwareDefUri == null, | ||
const hoverLabelLabel = { |
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.
hoverLabwareLabel
?
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.
typo! i will fix. thanks
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.
props in this component aren't optional so I recommend you use ===
/ !==
instead of ==
/!=
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.
lgtm! don't forget to target the release branch
Overview
This PR updates the order in which elements of a module/adapter/labware stack are displayed. The correct order should be top-down, reflecting the physical orientation of the elements on the deck. Also, this PR fixes the border radii of each label in the set according to designs.
Specifically, the order from top-down should be:
Border radii (all 4px) should be:
Closes RQA-3736
Test Plan and Hands on Testing
Changelog
Review requests
see test plan
Risk assessment
low