-
Notifications
You must be signed in to change notification settings - Fork 178
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(protocol-designer): update transfer form design #3221
Conversation
Codecov Report
@@ Coverage Diff @@
## edge #3221 +/- ##
==========================================
- Coverage 53.77% 53.72% -0.06%
==========================================
Files 698 699 +1
Lines 20455 20476 +21
==========================================
Hits 11000 11000
- Misses 9455 9476 +21
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks great. i defer to UX on caps/colons but app is unaffected functionally
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
…te padding/margins
f0d9eec
to
7638f3b
Compare
@@ -26,23 +27,29 @@ | |||
justify-content: flex-start; | |||
} | |||
|
|||
/* TODO: Ian 2019-03-14 delete probably (just used for Mix) */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mix form stuff will be addressed in next PR to update Mix form design
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No regressions in run app
- Jog controls radio buttons look the same
- Pipette config looks the same (except for form group label : )
- Deck calibration interrupt checkboxes look the same
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
⛺️
overview
Closes #3140
This messes up Mix form, which will be updated in a follow-up PR. However, it should not break anything other than Mix form, including new protocol form, pipette setup, liquids tab, and adding/deleting ingredients in Starting Deck State. (Don't worry about Pause form either, that will be updated right after Mix is!)
This affects Components Library. I addressed our TODOs about replacing inline text with
i18n
data, and I didn't want to keep i18n responsible for capitalization of labels, so I changed the CSS forFormGroup
to capitalize and to append a colon eg'some label' --> 'Some Label:'
.To opt out of this default capitalization to labels ofNopeInputField
,CheckboxField
, andRadioGroup
, you can pass the propnoCapitalize
. I added this to all the places where it seemed relevant to Run App. This doesn't append a colon.I think now, Run App is only visibly affected in one way in the one place it uses
FormGroup
: now colons are added to the labels in Pipette Config.changelog
review requests
Please ignore Mix and Pause forms for now!