Commit Graph

79 Commits

Author SHA1 Message Date
claudiulodro 4ebac67545 Scroll plugins list if it's too big 2017-10-16 09:10:20 -07:00
Mike Jolley ce47fa65c2 Changelog + grunt 2017-10-11 10:50:39 +01:00
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
Claudio Sanches 0c6392eeef Display error message when it's impossible to get a sample of the file.
When the file is empty or using an incorrect charset will display just an empty screen, since we output errors before check if the file is valid.

I included the error output inside the mapping step in order to fix this issue, and added a new option to display buttons after the error  message.

Closes #16928
2017-09-26 17:48:37 -03:00
Mike Jolley c0f5fbd5fc Leave width for nested inputs 2017-09-08 12:27:16 +01:00
Umangvaghela 9bed39018d Fix CSS changes 2017-09-05 17:30:43 +05:30
Mike Jolley d58a09e76a Merge branch 'master' into helper-updates
# Conflicts:
#	assets/css/admin-rtl.css
#	assets/css/admin.css
2017-08-30 21:22:48 +01:00
Jonathan Belcher b898cd5a98 Correct CSS to show notifcation count 2017-08-30 15:26:46 -04:00
Mike Jolley fce69c3dad Fix status page padding 2017-08-30 15:39:54 +01:00
Mike Jolley 23ca228a40 Fix input width, Closes #16571 2017-08-23 10:55:00 +01:00
Mike Jolley 8720bde2f3 Minify 2017-08-18 10:39:45 +01:00
Mike Jolley a44a57b5d9 Improve tools page styling 2017-08-15 12:05:34 +01:00
Mike Jolley b6fc6817be Icon alignment 2017-08-11 17:58:26 +01:00
claudiulodro 9e70a74857 Styling 2017-08-10 13:29:32 -07:00
Mike Jolley 3dc9f06f6a Remove fixed discounts correctly 2017-08-10 12:06:03 +01:00
claudiulodro a416ebe09b It kind-of works. 2017-08-09 14:55:35 -07:00
Mike Jolley c556facd41 Fix percent coupon and display 2017-08-09 19:02:10 +01:00
claudiulodro d07ececd3f Fix dark theme readability 2017-08-02 08:41:53 -07:00
Mike Jolley 37fc4c8f77 Ajaxify the product category filter (#16110)
* Ajaxify the product category filter

Closes #12773

* Min
2017-07-13 17:04:40 +01:00
Mike Jolley d63cf8c52f add next button to pointers and allow it to be dismissed
Closes #15858
2017-07-13 13:09:52 +01:00
Mike Jolley a527a9566b Add select2 to layered nav 2017-07-10 14:36:47 +01:00
claudiulodro 8a8daabf26 Update with master and recompile assets 2017-07-06 09:06:30 -07:00
claudiulodro e8bd694a6e Keep aria styles for backwards compat. 2017-06-30 13:17:24 -07:00
Mike Jolley 77c938202f Merge branch 'add/15602-store-street-level-address'
# Conflicts:
#	assets/css/admin-rtl.css
#	assets/css/admin.css
2017-06-30 15:00:51 +01:00
Mike Jolley d6131f3a74 Field styling 2017-06-30 14:59:45 +01:00
claudiulodro ee9c762bdc Enqueue selectWoo 2017-06-26 11:50:08 -07:00
Mike Jolley 24780e7ace Fix example wrapping 2017-06-21 13:06:25 +01:00
claudiulodro d0266938bf Recompile css 2017-06-19 10:13:27 -07:00
Mike Jolley 85134b91eb Give the icon a background color
Fixes #15673
2017-06-19 13:06:54 +01:00
Mike Jolley a1940f2da3 Grunt dev 2017-06-19 12:49:34 +01:00
Claudio Sanches 594aa66f4e 3.1.0-rc.1 2017-06-14 16:07:22 -03:00
Mike Jolley 9f5ff05269 Re-run grunt tasks 2017-06-14 17:58:42 +01:00
Valerie K 66259ebff1 Update WooCommerce Services copy (#15598)
* Remove excess explanation from wizard shipping step

* Remove distracting link from shipping wizard page

* Update copy on extensions WCS banner

* Update copy on WCS extensions banner for Canada

* Fix extensions WCS banner when read from json

* Add Canada copy on wizard shipping step

* Use strict array comparison in WCS shipping tout

* Add service logos to WCS extension banner

* Use strict array comparison in WCS banner

* Remove related extensions when showing WCS banner

- when store is based in Canada remove Canada Post
extension from shipping page
- when store is based in US remove USPS
extension from shipping page

* Add image alt for logos on WCS banners

* Update WCS banner and wizard content
2017-06-14 11:24:45 +01:00
Mike Jolley 54a9387361 Show attribute data in admin list. 2017-06-12 13:37:52 +01:00
Mike Jolley eddcb16e00 Update copy + css for zones
Closes #15031
2017-06-06 13:46:09 +01:00
Valerie ed0d0e2fbc Update WCS banner heading spacing 2017-06-05 16:22:30 -04:00
Valerie 70570f3745 Update WCS banner style 2017-06-05 11:30:42 -04:00
Mike Jolley d5cb320b7e Font smoothing CSS
Closes #15434
2017-06-05 10:14:31 +01:00
Valerie e7672d6572 Enable WCS banner on shipping extension page 2017-05-31 09:27:17 -06:00
Valerie 870e3ddea2 Add WCS banner addons block markup 2017-05-31 09:26:17 -06:00
Mike Jolley 532ddfa6b0 Merge conflicts 2017-05-31 12:23:52 +01:00
Mike Jolley 7f0fcac090 Merge branch 'feature/product-csv-import-export' into feature/product-csv-import-non-existing-data
# Conflicts:
#	assets/css/admin-rtl.css
#	assets/css/admin.css
2017-05-25 17:58:34 +01:00
Mike Jolley c790e4be7c Fix styling in firefox 2017-05-25 15:39:53 +01:00
Mike Jolley b821c24955 Restore top actions 2017-05-25 12:36:03 +01:00
Mike Jolley a1a79e57b5 Merge branch 'master' into pr/14896
# Conflicts:
#	assets/js/frontend/single-product.min.js
2017-05-23 16:22:18 +01:00
Mike Jolley b140f61510 Merge branch 'master' into fix/14578
# Conflicts:
#	assets/js/frontend/single-product.min.js
2017-05-23 15:09:20 +01:00
Mike Jolley b1a5b23629 Done screen handling and form tweaks 2017-05-23 15:05:32 +01:00
Mike Jolley 65474b0e49 Minify 2017-05-23 11:04:17 +01:00
Mike Jolley cde32be82d Done step and styling 2017-05-19 13:25:03 +01:00
Mike Jolley c3c966b5fd Add handles so drag and drop does not break edit on mobile
Fixes #15118
2017-05-18 15:22:12 +01:00