Skip to content
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

feat(app): Plate reader in LPC and CommandText, filter out plate reader lid as labware #16489

Merged
merged 11 commits into from
Oct 15, 2024

Conversation

smb2268
Copy link
Contributor

@smb2268 smb2268 commented Oct 15, 2024

fix PLAT-483, PLAT-525, PLAT-526, PLAT-547, RQA-3310

Overview

This PR cleans up a few things for plate reader support in the UI, enables LPC, hides the labware lid from protocol setup and details, and wires up command text

Test Plan and Hands on Testing

Reviewed the following locations to make sure plate reader lid does not display:

  1. ODD protocol details labware list and map view
  2. ODD protocol setup labware list and map view
  3. Desktop protocol details labware list and map view
  4. Desktop protocol setup labware list and map view

Looked at run preview for protocol that uses absorbance reader, view command text updates
Screen Shot 2024-10-15 at 3 28 52 PM
Screen Shot 2024-10-15 at 3 28 37 PM

Ran LPC for protocol that uses absorbance reader

Changelog

  1. Add column 4 icon when there is an absorbance reader attached
  2. Remove temporary skip of absorbance reader and lid in LPC, permanently skip all lids and add prep commands for absorbance reader
  3. Filter out absorbance reader lid from display on ODD and desktop protocol details and setup including list view and map view for each
  4. Add JS types for absorbance reader commands and wire them up to command text

Review requests

Look over screenshots and command types

Risk assessment

Low

@smb2268 smb2268 changed the title App plate reader labware feat(app): Plate reader in LPC and CommandText, filter out plate reader lid as labware Oct 15, 2024
@smb2268 smb2268 marked this pull request as ready for review October 15, 2024 18:59
@smb2268 smb2268 requested review from a team as code owners October 15, 2024 18:59
@smb2268 smb2268 requested review from brenthagen, ecormany and vegano1 and removed request for a team October 15, 2024 18:59
@smb2268 smb2268 self-assigned this Oct 15, 2024
Copy link
Contributor

@ecormany ecormany left a comment

Choose a reason for hiding this comment

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

Command text looks great, thank you!

@@ -1,4 +1,8 @@
{
"absorbance_reader_open_lid": "Opening Absorbance Reader lid",
"absorbance_reader_close_lid": "Closing Absorbance Reader lid",
"absorbance_reader_initialize": "Initializing Absorbance Reader to perform {{mode}} measurement at {{wavelengths}}",
Copy link
Contributor

Choose a reason for hiding this comment

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

@ecormany @smb2268
Do we want to mention the referenceWavelength, which is optional and only available in single mode?

Copy link
Contributor

Choose a reason for hiding this comment

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

Hmm, can't hurt. We would tack on with reference of {{referenceWavelength}} nm

Copy link
Contributor Author

Choose a reason for hiding this comment

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

added!

@@ -46,7 +46,7 @@ export const AbsorbanceReaderData = (
data-testid="abs_module_data"
>
{t('abs_reader_lid_status', {
status: moduleData.lidStatus === 'on' ? 'open' : 'closed',
status: moduleData.lidStatus === 'on' ? 'closed' : 'open',
Copy link
Contributor

Choose a reason for hiding this comment

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

nice catch

Copy link
Contributor

@vegano1 vegano1 left a comment

Choose a reason for hiding this comment

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

This looks good, just left a small comment on the initialize command copy.

@smb2268 smb2268 merged commit d9b0e23 into edge Oct 15, 2024
57 checks passed
@smb2268 smb2268 deleted the app_plate-reader-labware branch October 15, 2024 21:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants