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
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
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
6520493738
Onboarding: Pre-fill profiler fields with data ( https://github.com/woocommerce/woocommerce-admin/pull/3165 )
2019-11-05 08:05:20 +08: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
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
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
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
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
Darren Ethier
d728d38219
Refactor: Alternative approach to implementing extendable settings from the server ( https://github.com/woocommerce/woocommerce-admin/pull/2917 )
...
* integrate with new asset data registration (php side)
- includes back-compatibility.
* update js configuration and implement settings alias
- this aliases `@woocommerce/wc-admin-settings` to the settings api exposed via blocks (either the blocks plugin or core) and all the settings provided via the server.
- Adds fallback for back-compat if `wc.wcSettings` is not available in the environment (fallsback to `wcSettings`).
* initial pass to update all wcSettings direct usage to the new api
- this is just an initial pass, more can be done in separate pulls.
* missed one spot for adding new filter implementation
* fix incorrect jest config
* Avoid unnecessary assignment and directly return.
* Remove unnecessary defaults
* Fix inline comment text case.
Co-Authored-By: Albert Juhé Lluveras <contact@albertjuhe.com>
* Remove unnecessary inline comment.
* use @todo instead of TODO
Co-Authored-By: Albert Juhé Lluveras <contact@albertjuhe.com>
* fix incorrect reference in webpack config.
* add missing import and slightly delay dependency injection for scripts
* update get-setting and set-setting callbacks
* disable lint rule for console.error on dev doc builds
2019-09-23 17:47:08 -04:00
Ron Rennick
24d3104eca
fix merge conflicts
2019-09-03 14:08:02 -03:00
Justin Shreve
e67b556ac9
Update to Color Studio v2.1.0 ( https://github.com/woocommerce/woocommerce-admin/pull/2837 )
...
* Update color-studio to v2.1.0
* Handle additional color updates after rebase.
2019-08-29 12:07:56 -04:00
Joshua T Flowers
547b771cdf
Onboarding: Add tax task. ( https://github.com/woocommerce/woocommerce-admin/pull/2830 )
2019-08-26 13:49:04 +08:00
Justin Shreve
fe585aa2ee
Onboarding - Profile Wizard: Update plugin installation step to deal with previously installed plugins ( https://github.com/woocommerce/woocommerce-admin/pull/2825 )
...
* Handle previously installed plugins during the onboarding wizard
* Allow the activate endpoint to activate multiple plugins at once, avoiding a race condition.
* Handle PR feedback
* Add the ability to fetch active plugins via wc-api
2019-08-23 08:56:57 -04:00
Joshua T Flowers
234e4d513c
Add plugin and jetpack wc-api methods to shipping task ( https://github.com/woocommerce/woocommerce-admin/pull/2778 )
...
* Add shipping labels step
* Add jetpack connection selectors to wc-api
* Add plugin install and activation methods to wc-api
* Add shipping connect step
* Add busy cursor CSS to buttons
2019-08-21 14:34:21 +08:00
Joshua T Flowers
f4d7936b17
Onboarding: Add shipping rate base task ( https://github.com/woocommerce/woocommerce-admin/pull/2760 )
2019-08-21 13:58:47 +08:00
Justin Shreve
f2102b0239
Update onboarding profile wizard copy ( https://github.com/woocommerce/woocommerce-admin/pull/2770 )
2019-08-08 14:41:26 -04:00
Justin Shreve
708464fe8e
Add revenue question to the business details page ( https://github.com/woocommerce/woocommerce-admin/pull/2763 )
...
* Add revenue question to the business details page
* Handle PR feedback: remove empty values, include currency in the stats api call.
2019-08-08 11:38:47 -04:00
Joshua T Flowers
1e042d355c
Add event handlers in Form component and update onboarding form ( https://github.com/woocommerce/woocommerce-admin/pull/2749 )
...
* Add better checkbox and radio support
* Add checkbox, select, and radio examples to form component
* Update business details step to use new Form component
2019-08-08 13:25:55 +08:00
Joshua T Flowers
919ce11b57
Add form component for handling form state ( https://github.com/woocommerce/woocommerce-admin/pull/2742 )
...
* Add Form component to packages
* Add form example to devdocs
* Fix form validation check
* Update store details to use Form component
* Fix indentation issues
2019-08-05 09:41:47 +08:00
Justin Shreve
1a479eefea
Fix navigation handling on the `skip` link. ( https://github.com/woocommerce/woocommerce-admin/pull/2738 )
2019-08-02 09:22:11 -04:00
Joshua T Flowers
f542a4c011
Update Stepper component with new props and styles ( https://github.com/woocommerce/woocommerce-admin/pull/2726 )
...
* Add description and content to Stepper
* Reduce unnecessary styles
* Allow variable divider width for vertical Steppers
* Fix existing steppers and styling
* Update spinner styles in Stepper
* Fix style lint issues
* Update spinner color in plugin step
2019-08-02 07:28:06 +08:00
Joshua T Flowers
d41ce76451
Onboarding: Add WebPreview component for theme previewing ( https://github.com/woocommerce/woocommerce-admin/pull/2681 )
...
* Add WebPreview component
* Add theme preview component
* Add WebPreview example for devdocs
* Update loading content prop name for WebPreview
* Add selected class state for device buttons
* Fix tabbing issue in stylesheet
* Fix loadingContent prop changes
* Add in translators note
* Fix theme details height issue
* Add theme demo track events (https://github.com/woocommerce/woocommerce-admin/pull/2715 )
* Add theme demo track events
* Track theme chosen location
* Track theme slug on device switch
* Apply design feedback
2019-08-02 07:27:38 +08:00