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

Checkout: Thank You: Use ES6 imports/export/identifiers/functions #3677

Merged
merged 2 commits into from
Mar 1, 2016

Conversation

drewblaisdell
Copy link
Contributor

This PR updates CheckoutThankYou to use the ES6 syntax. Much of the work for this was already done by @stephanethomas and @scruffian, so these changes are pretty simple.

Testing
There are no visual/behavioral changes to this component, so a code review that asserts that the behavior of the logic on the right is equal to that on the left should be sufficient. We should still assert that the thank you page loads properly after purchasing an item, but I haven't added a "Product Review" checkbox for this reason. @fabianapsimoes please correct me if I should still add this.

@drewblaisdell drewblaisdell added [Type] Enhancement [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. Post Checkout labels Mar 1, 2016
@drewblaisdell drewblaisdell self-assigned this Mar 1, 2016
@drewblaisdell drewblaisdell force-pushed the update/thank-you-es6 branch from 2a8aee3 to 553283f Compare March 1, 2016 01:03
@scruffian scruffian force-pushed the update/thank-you-es6 branch 3 times, most recently from 54bf92e to e0d4c03 Compare March 1, 2016 10:56
This change is necessary because:

- It fixes a linting error.
- `findPurchaseAndDomain` only needs to be declared once.
@scruffian scruffian force-pushed the update/thank-you-es6 branch from e0d4c03 to 84d3397 Compare March 1, 2016 10:56
@scruffian
Copy link
Member

LGTM 👍

@scruffian scruffian added [Status] Ready to Merge and removed [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. labels Mar 1, 2016
scruffian added a commit that referenced this pull request Mar 1, 2016
Checkout: Thank You: Use ES6 imports/export/identifiers/functions
@scruffian scruffian merged commit 477e0af into master Mar 1, 2016
@scruffian scruffian deleted the update/thank-you-es6 branch March 1, 2016 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants