woocommerce/plugins/woocommerce-admin/client/core-profiler
Moon 630faadb81
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-15 20:28:18 -07:00
..
actions Update track name prefix for core profiler (#38710) 2023-06-15 13:37:14 -07:00
assets/images Core Profiler - Add extensions page (#38405) 2023-05-29 07:45:30 -07:00
components Update/implement connect to jetpack (#38674) 2023-06-15 20:28:18 -07:00
pages fix: core profiler plugins list race condition (#38732) 2023-06-15 12:45:54 -07:00
services Additional changes for the core profiler plugins page (#38616) 2023-06-13 15:03:03 -07:00
test Visual changes for Intro, guided setup, and skipped guided setup pages (#38709) 2023-06-13 22:10:43 -07:00
utils dev: refactor core profiler pages (#38606) 2023-06-07 11:39:38 +08:00
index.tsx Update/implement connect to jetpack (#38674) 2023-06-15 20:28:18 -07:00
style.scss Visual changes for Intro, guided setup, and skipped guided setup pages (#38709) 2023-06-13 22:10:43 -07:00