-
Notifications
You must be signed in to change notification settings - Fork 683
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
PWA-622: Update Venia's button #2496
PWA-622: Update Venia's button #2496
Conversation
- copy tokens to `venia-ui` - move index.css to `venia-ui` - update global vars and move to tokens - update custom property name references
- update serif font fallback value - update @font-face weights in templates - add serif @font-face in templates
# Conflicts: # packages/venia-concept/template.html # packages/venia-ui/lib/components/Footer/footer.css # packages/venia-ui/templates/default-font-include.mst
- use absolute paths to import `venia-ui` in `venia-concept`
- update existing CSS custom properties to use the new values
- Initial styling for new button styles
- use functional color notation
- Fix various buttons throughout the app
- Fix various buttons throughout the app
- Create <LinkButton /> component
- Update hover state to new colors - Fix various buttons throughout site - Fix estimate shipping info inconsistencies
# Conflicts: # packages/venia-ui/lib/tokens.css
|
Performance Test Results The following fails have been reported by WebpageTest. These numbers indicates a possible performance issue with the PR which requires further manual testing to validate. https://pr-2496.pwa-venia.com : LH Performance Expected 0.85 Actual 0.51, LH Best Practices Expected 1 Actual 0.92, WPT Cache Expected 90 Actual 83.333333333333 |
- Update unit test snapshots
Just a quick glance, I noticed the following:
|
- Update filter and sort buttons - Make icons the same color in account area - Fix shipping estimate button
Good catch, spoke with Soumya and updated to black outline with smaller min width.
Another great catch, fixed.
This is intentional, this is the
Didn't know account area was a thing, thanks for bringing it to my attention. Worked with Scott & Soumya and decided to turn the black icon blue. |
- Prettier & update snapshots
- Add white background to header
- Fix checkout buttons
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.
Three times a charm!
@davemacaulay As discussed Shipping Info and Shipping Method Edit overlay buttons needs to be consistent in guest and Auth mode. Rest all looks good. |
- Update auth shipping address edit buttons
disabled: isSaving, | ||
priority: isUpdate ? 'high' : 'normal', |
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.
I doubt this was an accident originally. Does the style guide call for all proceed/submit buttons to be high priority?
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.
Both 'Update' and 'Add' are considered primary actions in the address modal, I modified this logic to the Save and Continue
button is the correct normal
priority if the authenticated user doesn't have any saved addresses :)
- Update checkout auth button to be secondary style
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.
....Fourth?
- Update button treatments in mini cart
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.
So many buttons.
QA Approved.
|
Description
Adjust
Button
styles to match the new designRelated Issue
https://jira.corp.magento.com/browse/PWA-622
Acceptance
Verification Stakeholders
@jimbo
@dhaecker
@soumya-ashok
@schensley
Specification
Verification Steps
Screenshots / Screen Captures (if appropriate)
Checklist