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

refactor(app): Untangle labware organisms #16295

Merged
merged 4 commits into from
Sep 19, 2024
Merged

Conversation

sfoster1
Copy link
Member

Another in the vein of the app code reorganization PRs. This time, take the organisms that make up the labware page and move them into an organisms/Desktop/Labware directory (which will eventually mirror organisms/Desktop/Devices, since there's already organisms/Devices) as a new home.

Also, get rid of the things they import from pages/Desktop/Labware by moving them to a new home: local-resources.

In the same way that resources/ provides app-specific wrappers around robot api concerns, local-resources/ provides app-specific wrappers around code and handling of other opentrons resources, like (for now) labware.

@sfoster1 sfoster1 requested a review from a team as a code owner September 18, 2024 21:32
@sfoster1 sfoster1 requested review from jerader and removed request for a team September 18, 2024 21:32
This is a new container for desktop-specific organisms.

Also, there were a bunch of pictures of ~spider-man~ labware in here
that could go in assets/ instead.
There were a couple helpers and types that lived in
app/src/pages/Desktop/Labware that were imported all over the place in
organisms. Let's give them a new home: local-resources

In the same way that resources/ provides app-specific wrappers around
robot api concerns, local-resources/ provides app-specific wrappers
around code and handling of other opentrons resources, like (for now)
labware.
@sfoster1 sfoster1 force-pushed the untangle-labware-organisms branch from 5592402 to 9e4b034 Compare September 19, 2024 16:19
@sfoster1 sfoster1 requested a review from mjhuff September 19, 2024 16:25
Copy link
Contributor

@mjhuff mjhuff left a comment

Choose a reason for hiding this comment

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

Sweet! lgtm

@sfoster1 sfoster1 merged commit 3c3ce0a into edge Sep 19, 2024
20 checks passed
@sfoster1 sfoster1 deleted the untangle-labware-organisms branch September 19, 2024 17:51
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.

2 participants