-
Notifications
You must be signed in to change notification settings - Fork 178
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(app): fix liquid & modules confirm (#15946)
Fixes RQA-2925 for desktop: the liquids entry now will count as complete for the purposes of not popping or being listed in the modal if you have no liquids. It also gets complete decorations if there are no liquids. That required adding that rightElement thing to the empty version of the setup step, and that also is what we would need to do for modules, so also add decorations for modules and fix the completion logic to count the module actually being plugged in again (this was RQA-2928). On the ODD, similar kind of logic but a lot easier to implement because the data is more local; we can default the state to !hasLiquids, and then use the same styling we already had implemented for runtime parameters for the setup step. Also, remove some stylistically out of date text transforms on the setup cards. ## testing and review - [x] Upload a protocol that has no liquids and no modules and no deck fixtures - [x] the liquids and modules tabs should should default to completed, meaning - [x] on desktop, they get complete badges and text (including on the OT-2) - [x] on the ODD, they get rendered green - [x] on desktop and ODD, they don't inhibit starting the run - [x] including that if you haven't confirmed some other step, the steps nag modal doesn't mention liquids - [x] on a protocol that requires modules, if you don't have the modules plugged in you get an action needed badge Closes RQA-2928 Closes RQA-2925
- Loading branch information
Showing
4 changed files
with
55 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters