-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Woo Installer: Convert transfer step to use v2 endpoint data-layer #58848
Conversation
Link to Calypso live: https://calypso.live?image=registry.a8c.com/calypso/app:build-22327 |
Link to Calypso live: https://calypso.live?image=registry.a8c.com/calypso/app:commit-1e95e1895f0d4fe94d15af3f425476ba875527a1 |
Here is how your PR affects size of JS and CSS bundles shipped to the user's browser: App Entrypoints (~173 bytes added 📈 [gzipped])
Common code that is always downloaded and parsed every time the app is loaded, no matter which route is used. Sections (~16097 bytes removed 📉 [gzipped])
Sections contain code specific for a given set of routes. Is downloaded and parsed only when a particular route is navigated to. Async-loaded Components (~6722 bytes removed 📉 [gzipped])
React components that are loaded lazily, when a certain part of UI is displayed for the first time. 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. |
8becad8
to
26edb6b
Compare
client/signup/steps/woocommerce-install/transfer/install-plugins.tsx
Outdated
Show resolved
Hide resolved
Happy path is now pretty stable for both existing atomic sites and non atomic sites. You can test by starting an install flow with a simple site, it will kick off a transfer (which will complete) but until D70856-code is merged it won't install software. The transfer component will poll until both transfer is complete and software is applied. Since D70860-code is merged, you can test the existing atomic site flow in another tab, it will auto confirm, "re-install" the software set, and redirect to wc-admin. At the same time, your original tab should complete and redirect to wc-admin. Once D70856-code testing each flow individually will be possible. Error handling needs confirming end to end, both transfer failures and http request failures need checking how they're handled. I think we should just rely on Code is sort of set up for all this already but I think it just needs testing / working out any bugs. (We can/should do all this in a follow up) |
fe1b7da
to
eca94d2
Compare
The title shown on the install flow was kind of weird as the loading ellipsis matches the prelim loading checks pre-confirm but then the title shows up half way through "loading" during the install phase.
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.
LGTM. Although it shows an error when installing software when it's an atomic site, it works as expected. We can iterate later in follow-up PRs .
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.
This is working great now that the endpoint changes are merged. I updated the testing instructions.
This Pull Request is now available for translation here: https://translate.wordpress.com/deliverables/7041289 Hi @lsl, could you please edit the description of this PR and add a screenshot for our translators? Ideally it'd include all of the following strings:
Thank you in advance! |
Translation for this Pull Request has now been finished. |
Changes proposed in this Pull Request
D70860-code- software endpointD71460-codeD70856-code- transfer endpointD71447-codeD70867-code- transfer endpoint software install jobTesting instructions
Related to #58227