-
Notifications
You must be signed in to change notification settings - Fork 69
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
Expand WooPayments SSR entries to cover real HEs needs #7236
Conversation
Test the buildOption 1. Jetpack Beta
Option 2. Jurassic Ninja - available for logged-in A12s🚀 Launch a JN site with this branch 🚀 ℹ️ Install this Tampermonkey script to get more options. Build info:
Note: the build is updated when a new commit is pushed to this PR. |
Size Change: 0 B Total Size: 1.41 MB ℹ️ View Unchanged
|
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.
@vladolaru everything works as a charm! And looks amazing, so much helpful info!
I have only one question here - is it expected that Stripe Link is shown as one of the UPE enabled APMs? Or it's better to show it separately as in WCPay UI?
anyway - pre-approving!
Thank you, @oaratovskyi , for doing this review! As for the Stripe Link question, I do not know, but internally we treat it as an APM, so I decided to leave it as such. |
Thanks for working on this, @vladolaru ! This is great! |
Thank you @frosso! Woo HEs need all the help they can get, especially these days. |
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.
Thanks for working on this. I always wondered how the SSR info is generated and sent back for. After going through the changes in this PR and also exploring how the render_status_report_section
is hooked into other places, now I have a better understanding of the process.
Fixes #7122
Changes proposed in this Pull Request
Before:
After with full details:
After with no account connected:
The exported SSR section looks like this:
Testing instructions
Test with no WPCOM connection
return false;
here.Test with no account (WooPayments not connected to the WooPayments server)
return false;
added aboveForce the WCPay plugin to act as disconnected from the WCPay Server
optionTest with an account (WooPayments is connected to the WooPayments server)
Force the WCPay plugin to act as disconnected from the WCPay Server
from the WooPayments Dev ToolsSmoke test
npm run changelog
to add a changelog file, choosepatch
to leave it empty if the change is not significant. You can add multiple changelog files in one PR by running this command a few times.Post merge