-
Notifications
You must be signed in to change notification settings - Fork 685
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
Update order detail page #762
Conversation
This pull request is automatically deployed with Now. |
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.
Works great, two minor feedbacks.
onBuyAgain={onBuyAgain} | ||
onShare={onShare} | ||
/> | ||
<div className={classes.list}>{props.children}</div> |
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.
We should remove "Buy Again" and "Share" from the "Interactions" section in the docs.
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.
Actually, I should just add this functionality back. It looked like it was just mocked.
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.
After further review, it basically is mocked. The share logic is a total hack, and the add-to-cart functionality doesn't work since all the data is mocked. Going to stub things out and write a couple tests. I think the docs can stay unchanged that way.
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.
Done. 👍
...concept/src/components/PurchaseDetailsPage/PurchaseDetails/__tests__/purchaseDetails.spec.js
Outdated
Show resolved
Hide resolved
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'm always hesitant to approve without having found anything but nothing really jumped out to me. I assume the design is based on mocks somewhere but without having seen them everything looks OK to me.
This PR is a:
Summary
When this pull request is merged, the order detail UI will be more legible, use the new button styles, and have simpler tests.