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
Gutenboarding: Ensure checkout always lands in customer home. #44881
Gutenboarding: Ensure checkout always lands in customer home. #44881
Conversation
How come the |
Here is how your PR affects size of JS and CSS bundles shipped to the user's browser: Sections (~132 bytes added 📈 [gzipped])
Sections contain code specific for a given set of routes. Is downloaded and parsed only when a particular route is navigated to. Legend What is parsed and gzip size?Parsed Size: Uncompressed size of the JS and CSS files. This much code needs to be parsed and stored in memory. Generated by performance advisor bot at iscalypsofastyet.com. |
Follow-up discussion in Slack. p1597252036263900-slack-C0KDTA48Y |
Caution: This PR affects files in the Editing Toolkit Plugin on WordPress.com D48140-code has been created so you can easily test it on your sandbox. See this FieldGuide page about developing the Editing Toolkit Plugin for more info: PCYsg-ly5-p2 |
Just to mention that theres another place where checkout url with the param
|
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.
Tested both editor launch flow with old checkout, and customer home launch flow with new checkout.
Both landed me at customer home with right URL argument visible.
Just for extra confidence, @razvanpapadopol can you also ✅ this one?
At the moment something is wrong when starting the launch flow in My Home after creating a site in Gutenboarding. If I choose an ecommerce plan, after purchasing it I get redirected to My Home instead of starting the atomic transfer and finally setting up my store. |
9bedfa6
to
036719e
Compare
This reverts commit 8d91104.
…on-ecommerce plan.
036719e
to
8576504
Compare
The following should fix post-checkout redirect in case on eCommerce plan so the Atomic transfer should start automatically landing at this screen to start store setup: |
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.
Tested with old and new checkouts, with personal and ecommerce plans. All works as expected.
Changes proposed in this Pull Request
Testing instructions
Setup
"old-checkout-force": true
indevelopment.json
and runyarn start
.return 'old-checkout';
ongetCheckoutVariant()
function incheckout-system-decider.js
to avoid restarting yarn."composite-checkout-force": true
indevelopment.json
and runyarn start
.return 'composite-checkout';
ongetCheckoutVariant()
function incheckout-system-decider.js
to avoid restarting yarn.apps/full-site-editing
and runyarn dev --sync
.Test twice, once with Old Checkout, once with Composite Checkout
calypso.localhost:3000/new
flow.redirect_to
query param on the checkout url.Test launch from site home
calypso.localhost:3000/new
flow.