-
Notifications
You must be signed in to change notification settings - Fork 184
feat(app): Add Submerge screen to QT Aspirate and Dispense #18209
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
Conversation
add submerge to quick transfer for liquid classes close AUTH-
<> | ||
<Flex | ||
width="30.5rem" | ||
height="100%" | ||
gridGap={SPACING.spacing24} | ||
flexDirection={DIRECTION_COLUMN} | ||
marginTop={SPACING.spacing68} | ||
> | ||
<StyledText oddStyle="level4HeaderRegular"> | ||
{t('submerge_aspirating_description')} | ||
</StyledText> | ||
<InputField type="number" value={speed} title={t('speed')} readOnly /> | ||
</Flex> | ||
<Flex | ||
paddingX={SPACING.spacing24} | ||
height="21.25rem" | ||
marginTop="7.75rem" | ||
borderRadius="0" | ||
> | ||
<NumericalKeyboard | ||
key={`${kind}_speed_keyboard`} | ||
keyboardRef={keyboardRef} | ||
initialValue={String(speed ?? '')} | ||
onChange={e => { | ||
setSpeed(Number(e)) | ||
}} | ||
/> | ||
</Flex> | ||
</> |
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.
Using this because of https://opentrons.slack.com/archives/C07JJA1AJFQ/p1745864136081549
once i sync with Sue, i think i would be able to make a common component for the main part (input field + numerical keyboard) and reduce redundancy of this part (including the following one)
For size, there is diff between Primary design and the currnet prod. this pr aligns with the currnet prod size. I will disscuss this with Sue.
app/src/organisms/ODD/QuickTransferFlow/Aspirate/hooks/useAspirateSettingsConfig.ts
Outdated
Show resolved
Hide resolved
app/src/organisms/ODD/QuickTransferFlow/Dispense/hooks/useDispenseSettingsConfig.ts
Outdated
Show resolved
Hide resolved
onClickBack={handleClickBackOrExit} | ||
onClickButton={handleClickSaveOrContinue} | ||
top={SPACING.spacing8} | ||
// buttonIsDisabled={buttonIsDisabled} |
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.
is this needed?
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.
oh, i forgot to update the disabled.
i will update this.
@@ -53,23 +53,23 @@ describe('SelectPipettePath', () => { | |||
screen.getByText('Single transfers') | |||
}) | |||
|
|||
it('should render sinle transfer when transfer is 1:n', () => { | |||
it('should render single transfer when transfer is 1:n', () => { |
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.
nice catch lol
@@ -95,7 +95,7 @@ export function Delay(props: DelayProps): JSX.Element { | |||
trackEventWithRobotSerial({ | |||
name: ANALYTICS_QUICK_TRANSFER_SETTING_SAVED, | |||
properties: { | |||
settting: `Delay_${kind}`, |
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.
nice catch here too, i guess this has been affecting mixpanel
@@ -144,7 +144,7 @@ export function BlowOut(props: BlowOutProps): JSX.Element { | |||
trackEventWithRobotSerial({ | |||
name: ANALYTICS_QUICK_TRANSFER_SETTING_SAVED, | |||
properties: { | |||
settting: `BlowOut`, |
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.
😄 nice
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, just left some minor comments
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## edge #18209 +/- ##
==========================================
+ Coverage 57.53% 57.72% +0.18%
==========================================
Files 3039 3044 +5
Lines 254623 256455 +1832
Branches 30448 30890 +442
==========================================
+ Hits 146507 148036 +1529
- Misses 107930 108236 +306
+ Partials 186 183 -3
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
Overview
add Submerge to QuickTransfer's Aspirate tab and Dispense Tab
close AUTH-913 and AUTH-914
Test Plan and Hands on Testing
Changelog
useReducer
Review requests
Risk assessment
low