woocommerce/assets/css
Valerie K b4088c5d91 Wizard: Handle Jetpack install, activate, and connection errors (#16983)
* Wizard: Remove extra query arg in next step URL

Remove the activate_error query arg from
the URL for the next step.

* Wizard: Remove temp queued Jetpack install option

This is done so that the option does not remain
when going through the wizard again, or when going
back to previous pages.

It prevents an infinite loop from happening when
waiting for the Jetpack install and activation
to finish on the activate step.

* Wizard: Install and activate Jetpack if needed

Add function to install & activate Jetpack as needed.
Props to @jeffstieler for the idea, and the implementation/code:
https://github.com/Automattic/woocommerce-services/pull/1031#discussion_r122505316
https://github.com/Automattic/jetpack/blob/master/3rd-party/woocommerce-services.php#L101

Add a list of errors and a function to get the correct error message.

After clicking the connect Jetpack button, make sure that
Jetpack is installed and activated.

On error, redirect to the activate page with a query arg.

* Wizard: Show Jetpack error message if it exists

Always check for an error message when displaying
the activate step. If the error
message exists, display it at the top of the page.

* Remove redundant "if" so the $title in the Activate step is always a valid string

* Tweaked the "Server is on a private network" Jetpack activation error message.
2017-10-05 12:51:49 +01:00
..
photoswipe Give arrow buttons z-index 2017-04-17 11:53:15 +01:00
_animation.scss Remove css prefixes from mixins 2017-05-05 16:33:58 +03:00
_fonts.scss separate font styles into separate import 2014-11-18 13:04:28 +00:00
_mixins.scss Remove css prefixes from mixins 2017-05-05 16:33:58 +03:00
_variables.scss colour -> color 2016-12-19 11:41:48 +00:00
activation-rtl.css Reverted compiled rtl and css of the files outside #17008 2017-10-03 17:57:00 +02:00
activation.css Reverted compiled rtl and css of the files outside #17008 2017-10-03 17:57:00 +02:00
activation.scss Newsletter signup 2017-08-08 18:00:47 +01:00
admin-rtl.css Wizard: Handle Jetpack install, activate, and connection errors (#16983) 2017-10-05 12:51:49 +01:00
admin.css Wizard: Handle Jetpack install, activate, and connection errors (#16983) 2017-10-05 12:51:49 +01:00
admin.scss Display error message when it's impossible to get a sample of the file. 2017-09-26 17:48:37 -03:00
auth-rtl.css Merge branch 'add/15602-store-street-level-address' 2017-06-30 15:00:51 +01:00
auth.css Merge branch 'add/15602-store-street-level-address' 2017-06-30 15:00:51 +01:00
auth.scss Remove css prefixes in auth.scss 2017-05-05 16:34:23 +03:00
dashboard-rtl.css Reverted compiled rtl and css of the files outside #17008 2017-10-03 17:57:00 +02:00
dashboard.css Reverted compiled rtl and css of the files outside #17008 2017-10-03 17:57:00 +02:00
dashboard.scss Remove 'bourbon' dependency. It's been replaced with automated prefixing tool. 2017-05-05 16:40:34 +03:00
helper-rtl.css Reverted compiled rtl and css of the files outside #17008 2017-10-03 17:57:00 +02:00
helper.css Reverted compiled rtl and css of the files outside #17008 2017-10-03 17:57:00 +02:00
helper.scss Helper: removes blue text shadow from CTA on disconnect account screen 2017-09-27 11:09:57 +01:00
menu-rtl.css Styling 2017-08-21 15:53:08 +01:00
menu.css Styling 2017-08-21 15:53:08 +01:00
menu.scss Styling 2017-08-21 15:53:08 +01:00
prettyPhoto-rtl.css Reverted compiled rtl and css of the files outside #17008 2017-10-03 17:57:00 +02:00
prettyPhoto.css Reverted compiled rtl and css of the files outside #17008 2017-10-03 17:57:00 +02:00
prettyPhoto.scss Remove 'bourbon' dependency. It's been replaced with automated prefixing tool. 2017-05-05 16:40:34 +03:00
reports-print-rtl.css Reverted compiled rtl and css of the files outside #17008 2017-10-03 17:57:00 +02:00
reports-print.css Reverted compiled rtl and css of the files outside #17008 2017-10-03 17:57:00 +02:00
reports-print.scss Remove css prefixes in reports-print.scss 2017-05-05 16:32:40 +03:00
select2.css Reverted compiled rtl and css of the files outside #17008 2017-10-03 17:57:00 +02:00
select2.scss Keep aria styles for backwards compat. 2017-06-30 13:17:24 -07:00
twenty-seventeen-rtl.css Reverted compiled rtl and css of the files outside #17008 2017-10-03 17:57:00 +02:00
twenty-seventeen.css Reverted compiled rtl and css of the files outside #17008 2017-10-03 17:57:00 +02:00
twenty-seventeen.scss Include loader mixin in 2017 theme 2017-09-25 14:52:29 +01:00
wc-setup-rtl.css Wizard: Handle Jetpack install, activate, and connection errors (#16983) 2017-10-05 12:51:49 +01:00
wc-setup.css Wizard: Handle Jetpack install, activate, and connection errors (#16983) 2017-10-05 12:51:49 +01:00
wc-setup.scss Wizard: Handle Jetpack install, activate, and connection errors (#16983) 2017-10-05 12:51:49 +01:00
woocommerce-layout-rtl.css Merge branch 'add/15602-store-street-level-address' 2017-06-30 15:00:51 +01:00
woocommerce-layout.css Merge branch 'add/15602-store-street-level-address' 2017-06-30 15:00:51 +01:00
woocommerce-layout.scss Remove 'bourbon' dependency. It's been replaced with automated prefixing tool. 2017-05-05 16:40:34 +03:00
woocommerce-rtl.css Reverted compiled rtl and css of the files outside #17008 2017-10-03 17:57:00 +02:00
woocommerce-smallscreen-rtl.css Merge branch 'add/15602-store-street-level-address' 2017-06-30 15:00:51 +01:00
woocommerce-smallscreen.css Merge branch 'add/15602-store-street-level-address' 2017-06-30 15:00:51 +01:00
woocommerce-smallscreen.scss Remove 'bourbon' dependency. It's been replaced with automated prefixing tool. 2017-05-05 16:40:34 +03:00
woocommerce.css Reverted compiled rtl and css of the files outside #17008 2017-10-03 17:57:00 +02:00
woocommerce.scss Remove figure margin/padding css 2017-08-11 10:49:52 +01:00