Commit Graph

119 Commits

Author SHA1 Message Date
Marcin Bot 4229e2652a Added a new Square logo 2017-12-05 16:20:15 +00:00
Valerie e28341a9a3 Wizard: Ask user if selling in person 2017-12-05 16:20:15 +00:00
Valerie 6d2ca0fd15 Add Klarna to wizard payment step 2017-12-05 16:20:15 +00:00
Mike Jolley cbc16f7e2b Min 2017-11-15 14:34:42 +00:00
Mike Jolley 6b357bcfdc Updates the payment step copy and fixes margins 2017-10-10 15:40:03 +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
Valerie K 61caed9cb8 Wizard: Add Stripe Email (#17029)
* Wizard: Add Stripe email input, show previously entered payment settings, only save settings for enabled gateways
2017-10-04 13:37:59 -06:00
Valerie 450236c8d9 Wizard: Update store setup text 2017-10-03 17:30:00 +02:00
Valerie 9da7925288 Wizard: Fix paragraph bottom margin
Avoid too little bottom margin when the paragraph
is the last paragraph on the page, but not the last element.

Avoid too much bottom margin when there were nonce fields
after the last paragraph on the page.
2017-10-03 17:29:22 +02:00
Valerie 9a2ab72cd6 Wizard: Style tracking option 2017-10-03 17:26:32 +02:00
Ola Olusoga 0894abf37d Small style adjusts to onboarding
Made WooCommere logo smaller, and adjusted padding, weights, e.t.c.
Minor tweaks.
2017-10-02 16:39:12 -04:00
Valerie 72f9ce08ac Wizard: Move Jetpack TOS above button 2017-09-27 22:48:33 +03:00
Valerie d45ae38770 Wizard: Avoid too much space after last paragraph 2017-09-27 17:53:03 +03:00
Valerie 994480c3ca Wizard: Consolidate button styles in one rule 2017-09-27 17:52:53 +03:00
Valerie 562f37520d Wizard: Fix logo placement in services list 2017-09-27 17:11:10 +03:00
Valerie 263a471c40 Wizard: Fix chevron placement in toggle list 2017-09-27 17:08:47 +03:00
Valerie f183344a9c Wizard: Style footnote on last page 2017-09-26 15:10:30 -06:00
Valerie 83d7b03883 Wizard: Style next actions section 2017-09-26 15:10:29 -06:00
Valerie 2348faf9e5 Wizard: style newsletter form 2017-09-26 15:10:29 -06:00
Valerie 5a7db686c5 Wizard: Add placeholder to flat rate cost input 2017-09-26 15:10:29 -06:00
Valerie aee55f4b68 Wizard: Style shipping method selection 2017-09-26 15:10:29 -06:00
Valerie 17a97ca3f7 Wizard: Remove inline CSS for unit dropdowns 2017-09-26 15:10:28 -06:00
Valerie 4be979f322 Setup wizard: Style email input for payment service 2017-09-26 15:10:28 -06:00
Valerie 1dadabaa56 Setup wizard: Style store info form 2017-09-26 15:10:28 -06:00
Valerie 14bb189c8a Setup wizard: Update page padding 2017-09-26 15:10:28 -06:00
Valerie 244296b814 Setup wizard: Update button style 2017-09-26 15:10:27 -06:00
Valerie 426c0c2743 Setup wizard: Style Jetpack logo 2017-09-26 15:10:27 -06:00
Valerie 24e3db78ec Setup wizard: Style Jetpack feature sections 2017-09-26 15:10:27 -06:00
Valerie 0f04645bea Setup wizard: Show correct shipping text on select 2017-09-26 15:10:27 -06:00
Valerie 1960b6bcd1 Setup wizard: Fix thick border in toggle list 2017-09-26 15:10:27 -06:00
Valerie 18deb4dc2e Setup wizard: Style shipping unit selection 2017-09-26 15:10:26 -06:00
Valerie fc5aa77259 Setup wizard: Style shipping method description 2017-09-26 15:10:26 -06:00
Valerie 3645435e17 Setup wizard: Fix extra padding in name column 2017-09-26 15:10:26 -06:00
Valerie ad5709d3b5 Setup wizard: Add shipping list header 2017-09-26 15:10:26 -06:00
Jeff Stieler e6dc95432a Setup wizard: hide settings until a service is enabled. 2017-09-26 15:10:23 -06:00
Valerie d9e4092281 Setup wizard: Fix list toggle name color 2017-09-26 15:09:36 -06:00
Valerie e23aefef13 Setup wizard: Add toggle for manual payment list 2017-09-26 15:09:10 -06:00
Valerie 1eda1a026d Setup wizard: Add function to display service rows
- Update style
- Use new reusable class 'wc-wizard-services' instead of
'wc-wizard-payment-gateways'
- Update JS script for toggling checkboxes
- Update payment gateways: in-cart and manual
- Update POST variable names in save function
2017-09-26 15:08:31 -06:00
Mike Jolley 86a225a8d9 Newsletter signup 2017-08-08 18:00:47 +01:00
Mike Jolley 4f72e9e914 Fix button styling 2017-06-05 14:46:57 +01:00
Mike Jolley c53c83aebb Tweak test and styling 2017-05-31 09:36:32 -07:00
Nabeel Sulieman 10e8c2d82e Use circular controls to indicate radio button on shipping wizard
Regenerate CSS and JS files
2017-05-31 09:35:10 -07:00
Nabeel Sulieman cd2da7fd07 Change style of checkbox in shipping wizard 2017-05-31 09:34:24 -07:00
Nabeel Sulieman c49fa38e2c Make units controls look the same for touted and non-touted
Rename local functions to "location"
2017-05-31 09:33:50 -07:00
Nabeel Sulieman 1122faf760 Implement WooCommerce Services NUX in Setup Wizard:
- Rename "shipping locale" to "shipping location"
- Move tax setup to to shipping location page
- Rename shipping & taxes to just shipping
- Implement radio button selection to enable/disable shipping
- Add checkbox for installing WooCommerce services
- Start updating wc-admin css and javascript
2017-05-31 09:31:57 -07:00
Mike Jolley 532ddfa6b0 Merge conflicts 2017-05-31 12:23:52 +01:00
Mike Jolley 15f47e00a2 Merge branch 'master' into feature/13088
# Conflicts:
#	assets/css/admin-rtl.css
#	assets/css/admin.css
#	assets/css/twenty-seventeen-rtl.css
#	assets/css/twenty-seventeen.css
#	assets/css/woocommerce-rtl.css
#	assets/css/woocommerce.css
2017-05-23 16:35:17 +01:00
Mike Jolley 956b1a6181 Adds storefront/theme step to the setup wizard
Also includes a background install to get Storefront installed and
activated on demand.

To test, use a default theme and go to wp-admin/index.php?page=wc-setup
The theme step will be after payments!
2017-05-17 17:42:18 +01:00
Mike Jolley 5939939244 Wizard and blank state 2017-05-16 15:36:56 +01:00
refael iliaguyev ef9361999b Remove css prefixes in wc-setup.scss 2017-05-05 16:31:58 +03:00
Jonathan (JB) Belcher 90c0db873c Cleaned up SCSS files so they lint and made some rules warnings 2016-08-10 09:19:05 -04:00
Mike Jolley ebc913da38 Notice tweaks 2016-06-03 12:28:27 +01:00
Mike Jolley f739e97c76 Merge branch 'master' into payment-gateway-wizard-refactor
# Conflicts:
#	assets/css/activation.css
#	assets/css/wc-setup.css
2016-04-19 13:25:20 +01:00
Job d3cb293e2d Sidekick removal
Partnership with Sidekick ended:

* Removed all styles and mentions of Sidekick
* Updated docs prompt on last step on boarding: *Read more* > *Learn
more*
2016-04-19 11:01:22 +02:00
Mike Jolley c0ec85cd84 Implement new gateway screen in wizard and auto-install plugin-base gateways when chosen. 2016-04-01 17:30:04 +01:00
Mike Jolley 3a00348795 Remove shipping options from wizard 2016-03-31 17:17:11 +01:00
Claudio Sanches 5e1cc5cdaa [2.4] Fixed button text-shandow and colors to support wp 4.4 2015-11-06 13:24:45 -02:00
Claudio Sanches c53fe24c20 Removed our own language packs manager 2015-10-06 10:27:17 -03:00
Mike Jolley 6e23476cee Inline flex for steps display
Closes #8914 Closes #8911 Fixes #8907
2015-08-21 14:32:01 +01:00
Mike Jolley 0f40e8cdf7 Language install prompt 2015-08-20 16:03:29 +01:00
Mike Jolley 05b2505c45 Revise links for @BFTrick 2015-06-11 16:18:01 +01:00
Mike Jolley 12eb7aa207 Move dashboard link to footer 2015-06-09 15:54:46 +01:00
Mike Jolley 30f981f3ad Last step CTA and revised links
#7829
2015-06-08 15:25:59 +01:00
Mike Jolley 3f484b69b6 Ready step 2015-04-28 12:48:01 +01:00
Mike Jolley c8bd46501e US tax rates step 2015-04-27 16:33:52 +01:00
Mike Jolley 030ac9c50e HTML for shipping and tax options 2015-04-22 15:30:50 +01:00
Mike Jolley 9f792244b4 Pages step 2015-04-20 16:31:54 +01:00
Mike Jolley d8ee1b6005 Locale setup 2015-04-17 14:56:34 +01:00
Mike Jolley 8666e0fe3c Added the basics and general look and feel 2015-04-15 16:34:03 +01:00