Skip to content

feat(app): add disposal volume #18652

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

Merged
merged 12 commits into from
Jun 18, 2025
Merged

feat(app): add disposal volume #18652

merged 12 commits into from
Jun 18, 2025

Conversation

koji
Copy link
Contributor

@koji koji commented Jun 16, 2025

Overview

add Disposal volume to QT dispense

close AUTH-1980

Test Plan and Hands on Testing

  • Create a new Quick Transfer which is multiDispense
  • Set settings and save them
  • Settings are displayed in Disposal volume button under Dispense tab

Changelog

  • add DisposalVolume component and its tests
  • modify Dispense componetns to add Disposal volume screen to Dispense tab

Review requests

Risk assessment

low

@koji koji requested review from ncdiehl11 and jerader June 16, 2025 21:01
@koji koji marked this pull request as ready for review June 16, 2025 21:01
@koji koji requested a review from a team as a code owner June 16, 2025 21:01
Comment on lines +104 to +111
let pipetteName = state.pipette.model
if (state.pipette.channels === 1) {
pipetteName = pipetteName + `_single_flex`
} else if (state.pipette.channels === 8) {
pipetteName = pipetteName + `_multi_flex`
} else {
pipetteName = pipetteName + `_96`
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

huh, do we not have a util that gets the pipette name from the model? like maybe you can use getPipetteSpecsV2() to get the pipette specs then you can use the specs to get the right info? i just think appending strings like this is a bit brittle

Copy link
Contributor Author

@koji koji Jun 17, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

state.pipette.model is like p50 and it's not PipetteModel so cannot use getPipetteSpecsV2()

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i see

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is fine for now then.

<InputField
type="text"
value={String(volume ?? '')}
title={t('disposal_volume_µL')}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i didn't know you can use the µ symbol for an i18n string, nice

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i took this from the same json and it works.

@koji koji requested a review from jerader June 17, 2025 20:40
Copy link
Collaborator

@jerader jerader left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@koji koji merged commit 50edfd2 into edge Jun 18, 2025
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants