Timmy Crawford
7cc0611902
Fix button color when no demo present. ( https://github.com/woocommerce/woocommerce-admin/pull/3489 )
2019-12-30 12:18:09 -08:00
Joshua T Flowers
52c81230c3
Onboarding: Install free themes during profiler ( https://github.com/woocommerce/woocommerce-admin/pull/3484 )
...
* Add theme name to theme activation response
* Install and activate theme on choose in profiler
* Only auto install free themes and not currently active themes
* Move getPriceValue to dashboard utils
* Don't add free themes to the cart
2019-12-30 18:11:50 +08:00
Timmy Crawford
44748bb16e
Onboarding: Add another option to platforms. ( https://github.com/woocommerce/woocommerce-admin/pull/3471 )
...
* Onboarding: Add another option to platforms.
* Add revenue question for other woo store.
* Add new option value to REST enum.
2019-12-27 08:30:59 -08:00
Joshua T Flowers
8b02019c1c
Onboarding: Don't show skip link if no plugins exist to skip ( https://github.com/woocommerce/woocommerce-admin/pull/3485 )
...
* Don't show skip link if no plugins exist to skip
* Update skip link to check against plugins array length
2019-12-27 08:17:27 +08:00
Justin Shreve
5068282b7b
Add purchase modal at the end of the profile wizard ( https://github.com/woocommerce/woocommerce-admin/pull/3444 )
...
* Add purchase modal to confirm intent before cart redirect
* Handle PR feedback: Fix comment on getProductIdsForCart, move cart modal to open on theme page (which rewrites the mark completed functionality), fix CSS display, Add busy stsate to redirect to cart button
* Fix some minor naming issues and add a busy state on thee later link
2019-12-20 07:58:38 -05:00
Joshua T Flowers
529cab809e
Onboarding: Fix error if product types are missing ( https://github.com/woocommerce/woocommerce-admin/pull/3340 )
...
* Get product types from profile items or set to empty array
* Remove duplicate cart redirect methods
* Add missing cart redirect params
* Use path for wccom-back instead of full url
2019-12-10 15:08:16 -05:00
Justin Shreve
34a0fdb6a5
Fix revenue question translation with currency conversion ( https://github.com/woocommerce/woocommerce-admin/pull/3358 )
...
* Do a rough conversion of the currency ranges on the revenue question
* add a zero for every additional digit beyond the first digit to round currencies with larger differences in exchange rates
2019-12-10 14:01:21 -05:00
Joshua T Flowers
08f38ace89
Update the tracking usage modal copy ( https://github.com/woocommerce/woocommerce-admin/pull/3398 )
2019-12-10 11:08:54 +07:00
Justin Shreve
5e6e3e98db
Fix button margin on plugins screen ( https://github.com/woocommerce/woocommerce-admin/pull/3337 )
2019-12-04 08:05:01 -05:00
Joshua T Flowers
2fccd709c0
Onboarding: Update global currency settings on address change ( https://github.com/woocommerce/woocommerce-admin/pull/3324 )
...
* Update currency data to match currency format used in wcSettings
* Revert currency ranges to sprintf
* Allow currency to be changed after the class has been initialized
* Update currency settings when store address is changed
* Get default prices formats from positioning
* Set currency defaults if not set
* Handle PR feedback
* Add translator comment to 'more than' revenue option
2019-12-04 07:32:13 +08:00
Joshua T Flowers
7e2aa85235
Onboarding: Format product count ranges numbers without decimals ( https://github.com/woocommerce/woocommerce-admin/pull/3316 )
...
* Format product count ranges numbers without decimals
* Don't pass format method as argument to getNumberRangeString
2019-12-04 07:13:42 +08:00
Justin Shreve
448e1f3e11
Remove Newspack Dependency ( https://github.com/woocommerce/woocommerce-admin/pull/3302 )
...
* Switch to @wordpress/component's Button
* Finish button conversion
* Move to @wp/component's CheckboxControl
* Add ImageUpload component
* Remove Newspack package
* CSS Cleanup
* Handle PR feedback: Fix tests, add ImageUploader basic test, fix FireFox/Safari Display issues, and currency input bug
2019-12-02 12:39:22 -05:00
Ron Rennick
baeaa94f5f
make store revenue range amounts translatable ( https://github.com/woocommerce/woocommerce-admin/pull/3251 )
...
* make store revenue range amounts translatable
* update business details to USD amounts
2019-11-26 09:01:47 -04:00
Justin Shreve
c8f9d7673c
Fix notices and display issues that can occur when a WCCOM product api request fails ( https://github.com/woocommerce/woocommerce-admin/pull/3291 )
2019-11-25 10:35:35 -05:00
Jeff Stieler
c2020507e3
Decouple Navigation from `wcSettings`. ( https://github.com/woocommerce/woocommerce-admin/pull/3294 )
...
* Move getAdminLink to wc-admin-settings.
* Add changelog entries.
* Look for `getAdminLink()` in @woocommerce/settings first.
2019-11-22 12:07:26 -05:00
Jeff Stieler
17514872ad
Decouple currency and numbers packages from `wcSettings`. ( https://github.com/woocommerce/woocommerce-admin/pull/3277 )
...
* Remove wcSettings dependency from currency and number packages.
Either take a configuration object in function calls or in a new class constructor.
* Use new Currency class and number format methods in client/.
Compose with store settings to keep the same API.
* Don't reintroduce lodash dependency to currency package.
* Add changelog entries to currency and number packages.
* Update docs, example, and changelog for AdvancedFilters component.
* Use precision-less formatValue() for integer report values.
* Make Currency instance immutable.
2019-11-21 16:51:52 -05:00
Joshua T Flowers
1e792b7e86
Onboarding: Stretch theme image to fit card container ( https://github.com/woocommerce/woocommerce-admin/pull/3266 )
2019-11-19 09:18:22 +08:00
Justin Shreve
a27c178ef6
Fix default country on new stores ( https://github.com/woocommerce/woocommerce-admin/pull/3252 )
2019-11-15 08:32:54 -05:00
Albert Juhé Lluveras
319cc65d22
Make WooCommerce brand localizable ( https://github.com/woocommerce/woocommerce-admin/pull/3247 )
...
* Make WooCommerce brand localizable
* Make HeaderLogo aria-label localizable
2019-11-14 16:24:42 +01:00
Ron Rennick
931172ff89
fix typos in JS docs ( https://github.com/woocommerce/woocommerce-admin/pull/3248 )
2019-11-14 10:35:55 -04:00
Justin Shreve
7fb1d33e22
Show the "activate & continue" button as busy during Jetpack redirect ( https://github.com/woocommerce/woocommerce-admin/pull/3234 )
2019-11-14 09:14:53 -05:00
Ron Rennick
f78c143f3b
Move in-house rest endpoints to private namespace ( https://github.com/woocommerce/woocommerce-admin/pull/3204 )
...
* move in-house rest endpoints to private namespace
* PHPCS sniff fixes
2019-11-12 14:15:55 -04:00
Justin Shreve
5b80e321ba
Enable onboarding in the plugin build for those who have opted-in ( https://github.com/woocommerce/woocommerce-admin/pull/3184 )
...
* Enable onboarding in the plugin build for those who have opted-in
* Update constant andd option value
2019-11-07 13:31:02 -05:00
Justin Shreve
2af8e7c656
Onboarding: Pass connection parameters to install extensions ( https://github.com/woocommerce/woocommerce-admin/pull/3173 )
...
* Generate the WooCommerce cart URL with connection params so installing extensions work
* Build cart URL client side
* Fix alignment
2019-11-06 09:41:38 -05:00
Joshua T Flowers
4f79cdea93
Onboarding: Allow users to navigate backwards in steps ( https://github.com/woocommerce/woocommerce-admin/pull/3154 )
...
* Add label wrapper to stepper and style for both orientations
* Add onClick event to steps
* Add onClick to stepper examples
* Allow returning to previous steps on step click
* Allow navigating to previously completed steps
* Mark previous steps complete
2019-11-06 08:26:08 +08:00
Joshua T Flowers
6520493738
Onboarding: Pre-fill profiler fields with data ( https://github.com/woocommerce/woocommerce-admin/pull/3165 )
2019-11-05 08:05:20 +08:00
Joshua T Flowers
ba889113e8
Fix checkbox group gap ( https://github.com/woocommerce/woocommerce-admin/pull/3166 )
2019-11-05 07:45:21 +08:00
Justin Shreve
20be659cef
Only show the Jetpack logo in the header if we need to setup Jetpack ( https://github.com/woocommerce/woocommerce-admin/pull/3160 )
...
* Only show the Jetpack logo in the header if we need to setup Jetpack
* Adjust woo logo position
2019-11-04 11:34:44 -05:00
Justin Shreve
4a59cb9b09
Create store pages during onboarding ( https://github.com/woocommerce/woocommerce-admin/pull/3159 )
2019-11-04 10:50:37 -05:00
Joshua T Flowers
011b92af40
Onboarding: Fix mobile styling issues in profiler ( https://github.com/woocommerce/woocommerce-admin/pull/3156 )
2019-11-04 08:23:26 +08:00
Joshua T Flowers
dcea8db86a
Onboarding: Add setup theme step to profiler ( https://github.com/woocommerce/woocommerce-admin/pull/3124 )
...
* Add wccom redirect if purchasable products exist
* Update path to remove query when profiler is complete
* Fix lastReceived time for profile items update
* Add busy state to theme choose buttons
2019-11-01 10:04:54 +08:00
Joshua T Flowers
a946d474ce
Add an autofill option to SelectControl ( https://github.com/woocommerce/woocommerce-admin/pull/3105 )
...
* Add autofill method for countryState
* Add isFocused state to SelectControl
* Allow children prop for SelectControl components
2019-10-31 07:44:57 +08:00
Justin Shreve
2c81932702
Add currency defaults based on country ( https://github.com/woocommerce/woocommerce-admin/pull/3110 )
...
* Base currency defaults on selected country
* Save currency settings
* Move getCurrencyInfo to the currency package
2019-10-29 14:34:04 -04:00
Joshua T Flowers
9d04b15c7a
Onboarding: Scroll to top when navigating between pages ( https://github.com/woocommerce/woocommerce-admin/pull/3122 )
...
* Scroll to top when navigating between tasks
* Scroll to top when navigating between steps
2019-10-29 14:24:24 -04:00
Justin Shreve
af10516b8f
Make minor text fixes to onboarding ( https://github.com/woocommerce/woocommerce-admin/pull/3116 )
...
* Make minor text fixes to onboarding
* Fix it typo and use oxford commas
2019-10-29 14:15:36 -04:00
Justin Shreve
051fd5d934
Update styles to work with WP 5.3 ( https://github.com/woocommerce/woocommerce-admin/pull/3086 )
...
* Update onboarding styles to work with WP 5.3
* Fix design on 5.3 as well as older versions
* Adjust styling and remove 5.3 class name
2019-10-25 09:05:44 -04:00
Justin Shreve
dd77d25a34
Handle Jetpack being disconnected on the start page ( https://github.com/woocommerce/woocommerce-admin/pull/3087 )
...
* Handle Jetpack being disconnected on the start page
* Handle PR feedback, fix up pluginName logic
2019-10-24 12:20:32 -04:00
Joshua T Flowers
38c9e38e28
Add no product option to product count dropdown ( https://github.com/woocommerce/woocommerce-admin/pull/3092 )
2019-10-24 07:33:10 +08:00
Justin Shreve
e9f4d45274
Install business extensions on the business details page ( https://github.com/woocommerce/woocommerce-admin/pull/3084 )
...
* Install Facebook & MailChimp plugins on the business details page
* Handle PR feedback: Add missing plugin name constants, and improve plugin component error handling
2019-10-23 11:17:38 -04:00
Joshua T Flowers
13f775eb98
Onboarding: Don't skip start step if TOS not accepted ( https://github.com/woocommerce/woocommerce-admin/pull/3068 )
...
* Don't skip start step if TOS not accepted
* Show WCS benefits even when installed
2019-10-23 07:55:57 +08:00
Justin Shreve
973acde227
Fix asset image URL ( https://github.com/woocommerce/woocommerce-admin/pull/3062 )
2019-10-21 11:07:45 -04:00
Joshua T Flowers
0c490d430f
Onboarding: Fix RTL translation in revenue ranges and translation notes ( https://github.com/woocommerce/woocommerce-admin/pull/3059 )
2019-10-21 08:48:30 +08:00
Justin Shreve
e31e115e93
Update proceed without Jetpack/WCS to go to store details step ( https://github.com/woocommerce/woocommerce-admin/pull/3040 )
...
* Update proceed without Jetpack/WCS to go to store details step
* Adjust how we track the start/plugins step
2019-10-17 10:57:29 -04:00
Joshua T Flowers
181c02bbc8
Onboarding: Add redirect URL option to jetpack connection URL ( https://github.com/woocommerce/woocommerce-admin/pull/3052 )
...
* Add redirect_url as rest param to jetpack connection
* Add query param to jetpack connection URL in wc-api
* Add redirect URL to connection and plugin steps
2019-10-17 06:00:47 +08:00
Justin Shreve
d8132942f3
Change usage tracking prompt to modal ( https://github.com/woocommerce/woocommerce-admin/pull/2968 )
...
* Move tracking usage question to modal
* Fix PHPCS errors
* Adjust button alignment, update PHPCS version.
* Fix options check
* Handle PR feedback
2019-10-10 10:05:13 -04:00
Joshua T Flowers
b92500b35f
Onboarding: Replace TextControl component ( https://github.com/woocommerce/woocommerce-admin/pull/3020 )
...
* Add TextControl component
* Replace instances of newspack TextControl
2019-10-10 07:00:33 +08:00
Joshua T Flowers
1563971836
Replace select controls with new SelectControl (Autocomplete) component ( https://github.com/woocommerce/woocommerce-admin/pull/2997 )
...
* Rename Autocomplete component to SelectControl
* Add isSearchable prop to SelectControl
* Remove SimpleSelectControl component
* Refactor list expansion and key behavior
* Bump changelog and version
2019-10-08 06:42:32 +08:00
Darren Ethier
f8ebc4cd6d
refactor all client files to use new settings api ( https://github.com/woocommerce/woocommerce-admin/pull/3002 )
2019-10-07 07:51:25 -04:00
Justin Shreve
6bcc63f2de
Disable profile wizard continue buttons until fields are complete ( https://github.com/woocommerce/woocommerce-admin/pull/2983 )
2019-10-04 09:46:27 -04:00
Justin Shreve
c2a340da55
Add Stripe, PayPal, Klarna, and Square Connection Flows to the Payments Task ( https://github.com/woocommerce/woocommerce-admin/pull/2897 )
...
* Add payment method configuration
* Add stripe connection code
* Finish stripe connection logic
* Add PayPal Connection Flows
* Handle PR feedback: Enable methods when configuring via manual mode, update error modal to just rely on the errorMessage state, add TOS link and acceptance to the profile wizard, update optionsIsRequesting usage, and update docblocks.
* Update TOS message / display
* Add missing success messages on manual save
* Add Square & Klarna to Payments Task (https://github.com/woocommerce/woocommerce-admin/pull/2960 )
* Add Square to payments task
* Add logos to payment task
* Add Klarna configuration, and fix assetUrl usage
2019-10-03 12:03:29 -04:00