woocommerce/packages/js/data/changelog/add-38674-add-jetpack-auth-...

4 lines
68 B
Plaintext
Raw Normal View History

Update/implement connect to jetpack (#38674) * Add install-and-activate-plugins-async action to onboarding * Add label and learn_more_link types * Use label and learn_more_link * Remove unused imports * ts fixes * Visual changes on the plugin page * Change CTA font size from 13px to 14px * Change spacing between the chebox and logo to 24px * Change heading font-weight to 500 * Fix css lint error * Add back learn more link that was removed from rebase * Add required packages * Load Jetpack Config * Add getJetpackAuthUrl to data/onboarding * Add Connection Rest Auth -- seems like this is required for Jetpack to communicate back to the connected site * Add jetpack-authorization-url REST API * Redirect to Jetpack Auth page after the installatino process if jetpack was selected * Require can_install_plugins permission for jetpack auth url endpoint * Update packages/js/data/src/onboarding/resolvers.ts Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com> * Update plugins/woocommerce/src/Admin/API/OnboardingPlugins.php Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com> * Remove automattic/jetpack-sync and its config * Support redirect_url and from params * Do not redirect to Jetpack auth if it is already connected * Add installed_ext_success=1 * Use woocommerce-core-profiler for from value * Revert unrelated lock file changes * Minor refactor * Extracted out isJetpackConnected cond to a guard * Added meta data for isJetpackConnected to prevent unwanted spinner * Add Changelog * Lint fix * Move Jetpack Connection config init to class-woocommerce * Add changelog * Remove unnecessary require * Note jetpack-authorization-url endpoint is experimental * Fix broken test * Add component to sendToJetPackAuthPage state * Fix lint error --------- Co-authored-by: rjchow <me@rjchow.com> Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
2023-06-16 03:28:18 +00:00
Significance: minor
Type: add
Add Jetpack Connection Auth endpoint.