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): Componentize "intervention info" #15617

Merged
merged 13 commits into from
Jul 12, 2024

Conversation

sfoster1
Copy link
Member

Intervention info is the name of the grey block with the labware name and the labware icon, and this makes it a component and updates its style.

There's also a new content component called InterventionInfoComponent that mostly exists to hold the intervention info. This is used in Error Recovery, when you pick tips in a rack to pick up or tipracks to use.

Review

Seem like good changes?

Testing

  • In Error Recovery ODD, do pick up new tip / refill well flows and check that it works out nicely
  • Unfortunately you can't really get to the relevant screens on desktop so Storybook will have to suffice
  • DQA

Storybook will be at https://s3-us-west-2.amazonaws.com/opentrons-components/exec-500-intervention-content/index.html?path=/docs/app-molecules-interventionmodal-interventioncontent-interventioncontent--docs

Closes EXEC-500
Closes EXEC-530

@sfoster1 sfoster1 requested a review from a team as a code owner July 10, 2024 20:57
Copy link
Contributor

@TamarZanzouri TamarZanzouri left a comment

Choose a reason for hiding this comment

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

Love it!

Base automatically changed from exec-499-two-step-component to edge July 11, 2024 17:04
This is more than just move now, and it's not really a step.
Increasingly, we'll want some text that does or doesn't appear
responsively, and we could do that with a wrapper but we could also just
inject display: none in the same way we inject separate styles.
This will be helpful to visualize components that are standalone in
storybook but always inside a container in practice
This component now is defined with the correct text styling, better
names for things, and allows a labware nickname.

Closes EXEC-530
Steal a util from the Command component to pull the user-defined
nickname of a labware, if present.
This is a component that is a stack of stuff that lives in a left column
often along side a deck map of some description.

Closes EXEC-500
@sfoster1 sfoster1 force-pushed the exec-500-intervention-content branch from a14c461 to b30f8d5 Compare July 11, 2024 17:05
@sfoster1 sfoster1 merged commit f34e1c3 into edge Jul 12, 2024
39 checks passed
@sfoster1 sfoster1 deleted the exec-500-intervention-content branch July 12, 2024 21:03
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