-
Notifications
You must be signed in to change notification settings - Fork 800
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
Allow TOS agreement before Jetpack is fully active so we track the connection flow #14041
Conversation
This is an automated check which relies on |
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.
Have not tested live, but it reads well.
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.
Co-Authored-By: Derek Smart <smart@automattic.com>
@dereksmart I also noticed some consecutive events for |
We renamed the action lets also rename it in Jetpack.
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.
@enejb It seems you've edited jetpack_agreed_to_terms_of_service
into jetpack_reject_terms_of_service
. Did you mean to do that? We did not rename jetpack_agreed_to_terms_of_service
.
… jetpack" This reverts commit e9c0f21.
Thanks for catching that @jeherve I reverted my last commit. |
I tested this with both flows (original) and in place and it resulted in the same result. |
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 again!
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.
Looking good to me. Merging.
…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>
Cherry-picked to |
* 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
Fixes #14040
In #13763 we moved our ToS agreement code into a package, but we changed the logic at the same time. Now, instead of the user agreeing to the ToS when they click the connect button, it is not enabled until the site is fully active, which has essentially killed all the events we were getting during the connection flow.
Changes proposed in this Pull Request:
Testing instructions:
jetpack_jpc_register_begin
should now be sent. In 7.9 they were not sent.