-
Notifications
You must be signed in to change notification settings - Fork 794
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
Add PlanPriceDisplay Component #14026
Conversation
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.
@robertf4 Thanks for your work on this. I left some comments in the code.
I know you've got a lot on your plate right now, so if you need any support in addressing the feedback, feel free to reach out to me.
8fbc2b1
to
bc5e3fe
Compare
e79aeac
to
0992376
Compare
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.
Thank you for updating the code.
I'm approving it as is, also keeping in mind that we'll still have to refactor the price blocks in one of the next PRs.
0992376
to
ba2c6d1
Compare
…iner to single-product-backup__header-price
ba2c6d1
to
3674cbe
Compare
This is an automated check which relies on |
Do you think you could run |
I do this. For this case, because I split out each component into its own PR, the components were unused which gives an error that prevented me from committing. I only committed when this was the only error I got. |
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 good to go IMO. A few follow-up PRs but nothing that should block this.
* Add products endpoint * [not verified] Add error code * Update _inc/lib/class.core-rest-api-endpoints.php Co-Authored-By: Marin Atanasov <8436925+tyxla@users.noreply.github.com> * Update _inc/lib/class.core-rest-api-endpoints.php Co-Authored-By: Marin Atanasov <8436925+tyxla@users.noreply.github.com> * Add QueryProducts data component and corresponding Redux and rest API calls * Update _inc/client/state/site/reducer.js Co-Authored-By: Marin Atanasov <8436925+tyxla@users.noreply.github.com> * [not verified] Add SingleProductBackupBody component * [not verified] Rename plans-section__body to single_product_backup__body * [not verified] Give class name to h4 tag * [not verified] Remove single_product_backup__body * [not verified] Check for upgradeLinks and upgradeTitles before using them * [not verified] Switch function style * [not verified] Add key to PlanRadioButton * Remove duplicate definition of getProducts * Allow TOS agreement before Jetpack is fully active so we track… (#14041) * Allow TOS agreement before Jetpack is fully active so we track the connection flow * Update packages/terms-of-service/src/class-terms-of-service.php Co-Authored-By: Derek Smart <smart@automattic.com> * Also update the action that is being called in jetpack We renamed the action lets also rename it in Jetpack. * [not verified] Revert "Also update the action that is being called in jetpack" This reverts commit e9c0f21. Co-authored-by: Brandon Kraft <public@brandonkraft.com> Co-authored-by: Enej Bajgoric <enej.bajgoric@gmail.com> * Removed Jetpack references in the IXR client. (#14046) This change allows the package to be used outside of Jetpack, relying on the methods provided by the Manager, plus using the WP_Error class instead of the Jetpack_Error wrapper. * Full Sync: Don't allow more than one request to enqueue (#14039) * Spell checking CI integration (#13992) * Adds spell checking and fixes files. This implements a package to spellcheck files, and does a pass to ensure everything is green. * [not verified] Implements Travis check for spelling Adds Yarn script and Travis CI for spell checking. * [not verified] Fixes feedback. Updates docs to prevent spelling exceptions for certain files. * Export SingleProductBackupBody class * [not verified] No need to export single product backup body
…tic/jetpack into add/plan-price-display-component
Caution: This PR has changes that must be merged to WordPress.com |
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.
Good to go
We can probably close this PR in favor of #14056. |
Changes proposed in this Pull Request:
Is this a new feature or does it add/remove features to an existing part of Jetpack?
See the P2 here for the design of this PR: p1HpG7-7MK-p2 (specifically the part titled "WP Admin Desktop")
See the P2 here for the overall MT: p1HpG7-7ET-p2
Testing instructions:
This cannot be tested on its own here. Use #14018 to test.
Proposed changelog entry for your changes: