Commit Graph

3637 Commits

Author SHA1 Message Date
renovate[bot] cdfb21f983 Update babel monorepo (https://github.com/woocommerce/woocommerce-admin/pull/3774)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-09 16:59:55 +01:00
Joshua T Flowers 54d948cb2a Track selling venue response in business details step (https://github.com/woocommerce/woocommerce-admin/pull/3847) 2020-03-09 12:39:38 +01:00
Fernando 5946e8c855 Onboarding - business step: add more options in the competitors list and other fixes (https://github.com/woocommerce/woocommerce-admin/pull/3812)
* Modified question in the business step of the onboarding

* Added more options in the competitors list

Onboarding - Business step -> Add more options in the competitors list.

* Added an option input field to Onboarding, business step

To the Onboarding's business step added an input field when the user selects "Other".

* Added suggested improvements

* Added new param to "test_schema" test

Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2020-03-06 16:20:54 -03:00
Joshua T Flowers cb3fcbcf08 Onboarding: Remove old development flags (https://github.com/woocommerce/woocommerce-admin/pull/3809)
* Remove old onboarding flags

* Remove flag from onboarding docs

* Enable onboarding in tests
2020-03-04 09:46:02 +01:00
Paul Sealock c40008ee37 Downloads: add docs (https://github.com/woocommerce/woocommerce-admin/pull/3807)
* Downloads: add docs

* better screenshot

* note about timestamps being UTC

* timestamp -> date
2020-03-04 15:30:12 +13:00
Ron Rennick d341153cbc Initial orders report user documentation (https://github.com/woocommerce/woocommerce-admin/pull/3748)
* Initial orders report docs

Co-Authored-By: Paul Sealock <psealock@gmail.com>
2020-03-03 14:32:28 -04:00
Ron Rennick 398807e5d2 initial categories report user documentation (https://github.com/woocommerce/woocommerce-admin/pull/3759) 2020-03-03 10:30:45 -08:00
Joshua T Flowers 8fa301d4b7 Onboarding: Update screen order and remove Jetpack connection in profiler (https://github.com/woocommerce/woocommerce-admin/pull/3739)
* Show usage modal every time on store details step

* Move plugin steps to end of profiler

* Rename Start step to Benefits

* Remove usage modal from benefits step

* Only show plugins step when plugins need to be installed

* Go to next step after profile item plugin data is updated

* Rename skip and start methods in benefits

* Add busy state to buttons

* Fix pending state on completion

* Cache active plugins to prevent removing active steps

* Use goToNextStep to complete plugin step and show cart modal

* Fix purchase_install event prop in cart modal

* Remove Jetpack connect step from plugins step of profiler

* Update welcome_clicked event name and props

* Remove cart modal from profiler

* Update benefits to show based on jetpack activation instead of connection

* Fix empty plugin data in profile items

* Only track previously installed plugins in componentDidMount

* Update benefits heading copy

* Use constants for checking Jetpack and WCS status
2020-03-03 10:44:26 +01:00
renovate[bot] 2046801e20 Update dependency lint-staged to v10.0.8 (https://github.com/woocommerce/woocommerce-admin/pull/3777)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-03-02 18:04:05 -08:00
Ron Rennick 54d58ed13e Version/1.0 master merge (https://github.com/woocommerce/woocommerce-admin/pull/3797)
* Try: Moving Customers to main Woo Menu (https://github.com/woocommerce/woocommerce-admin/pull/3632)

* Only add onboarding settings on wc-admin pages when task list should be shown. (https://github.com/woocommerce/woocommerce-admin/pull/3722)

* Use cron for unsnoozing admin notes (https://github.com/woocommerce/woocommerce-admin/pull/3662)

* Use wp-cron for admin note snoozing.

* Remove "unsnooze" scheduled action.

* Use correct version.

* Avoid using deprecated method for unscheduling actions.

* Onboarding: Fix toggle tracking events (https://github.com/woocommerce/woocommerce-admin/pull/3645)

* Fix errant wcadmin prefix on event name

* Track the onboarding toggle on the option in case enable_onboarding isn't used

* Move toggle actions to separate function

* Move onboarding actions

* Move onboarding filters

* Move help tab updates to add_toggle_actions

* Only run onboarding actions when enabled

* Onboarding: Add tracks events when profiler steps are completed (https://github.com/woocommerce/woocommerce-admin/pull/3726)

* Add tracks for store profiler step completion

* Record event when profiler is completed

* Ensure continue setup loads the onboarding profiler (https://github.com/woocommerce/woocommerce-admin/pull/3646)

* 'All that include' option removed when input field is empty (https://github.com/woocommerce/woocommerce-admin/pull/3700)

* 'All that include' option removed when input field is empty

Added a control to check that when the input field 'Search by customer name' is empty, the 'All that include' option is not appearing.

* Const name improved

The constant name hasValues was changed to optionsHaveValues (more descriptive)

* Fix select text alignment (https://github.com/woocommerce/woocommerce-admin/pull/3723)

* Stock panel indicator - cache and use lookup tables. (https://github.com/woocommerce/woocommerce-admin/pull/3729)

* Stock panel indicator - cache and use lookup tables.

* Revise query, clear transient on product update.

* Fix error, ht Josh.

* Checklist: Remove sideloaded images to reduce build size, take 2 (https://github.com/woocommerce/woocommerce-admin/pull/3731)

* Remove homepage template images.

* Use other-small on all industries, adjust text color.

* Remove background dim and opacity set to 0

* Fix/3631 (https://github.com/woocommerce/woocommerce-admin/pull/3730)

* Added CBD as an industry type

CBD was added as an industry type in API

* Industries options modified

Modified the industries options. Now we are able to choose if we will use an input or not in the option.

* API control changed for industries.

API control changed for industries. Now it accepts the data type we need.

* Added input in Industries list for the option "Other"

Added an input for the option "Other" in the industries list

* Added suggested changes in review comments.

* Added data preparation for recordEvent

* Changed variable to snake_case

The variable "industriesWithDetail" was changed to "industries_with_detail" (snake_case)

* Onboarding: Create homepage without redirect (https://github.com/woocommerce/woocommerce-admin/pull/3727)

* Add link to edit homepage instead of redirect

* Add busy state to homepage creation button

* Publish homepage on create via API

* Update homepage notice to show on first post update

* Update homepage creation notice per design

* Record event on customize homepage

* Set homepage to frontpage on creation

* Add deactivation note for feature plugin (https://github.com/woocommerce/woocommerce-admin/pull/3687)

* Add version deactivation note

* Add the note to deactivate if the version is older than the current WC version

* Deactivate wc admin feature plugin on action click

* Add notes version hooks

* change the Package class namespace to exclude from standalone autoloader

* add use statement for FeaturePlugin

* add note explaining namespace

* use wc-admin-deactivate-plugin note name

* Rename file and class to WC_Admin_Notes_Deactivate_Plugin

Co-authored-by: Ron Rennick <ron@ronandandrea.com>
Co-authored-by: Paul Sealock <psealock@gmail.com>

* Add Travis tests on GH for release branch (https://github.com/woocommerce/woocommerce-admin/pull/3751)

* Add Travis tests on GH for release branch

* fix linter errors

* ActivityPanels.php -> use public static functions

* Remove free text Search option when no query exists (https://github.com/woocommerce/woocommerce-admin/pull/3755)

* Revert changes in woocommerce/woocommerce-admin#3700

* Don't add free text search if no query exists

* Add tests for Search without query

* Add test for showing free text search option

* Fix image sideloading for store industries. (https://github.com/woocommerce/woocommerce-admin/pull/3743)

* Fix image sideloading for store industries.

Data format changed in https://github.com/woocommerce/woocommerce-admin/pull/3730

* Fix industry image sideload in cases where the count is less than requested.

* Be backwards compatible with the old industry data format.

* Added event props to identify stores with WCS and Jetpack installed (https://github.com/woocommerce/woocommerce-admin/pull/3750)

* Added event props to identify stores with WCS and Jetpack installed

Also, added Jeckpack connected status

* Improved variable name

* Simplified method

Simplified method. "intersection" check was removed

* Tests errors repeared

The method "clear_low_out_of_stock_count_transient" now is static.

* OBW: fix sideloading image test error (https://github.com/woocommerce/woocommerce-admin/pull/3762)

* Release 0.26.0 changes (https://github.com/woocommerce/woocommerce-admin/pull/3753)

* add deactivation hook to Package.php (https://github.com/woocommerce/woocommerce-admin/pull/3770)

* Add active version functions (https://github.com/woocommerce/woocommerce-admin/pull/3772)

* add active version functions to Package.php

Co-authored-by: Joshua T Flowers <joshuatf@gmail.com>

* 0.26.1 changes (https://github.com/woocommerce/woocommerce-admin/pull/3773)

* Customers Report: fix missing report param in search (https://github.com/woocommerce/woocommerce-admin/pull/3778)

* Product titles include encoded entities (https://github.com/woocommerce/woocommerce-admin/pull/3765)

* Stripped HTML from product titles and decoded before displaying them

Stripped html from product titles and entities are decoded before displaying them

* Stripped HTML from product titles and decoded in Stock report

Stripped html from product titles and entities are decoded before displaying them. Now in Stock report

* Added support for HTML tags and encoded entities on product titles

Added support for HTML tags and encoded entities on filtered product list, dropdown menus and tag names.
Also, strip_tags() function was replaced with wp_strip_all_tags() instead.

* strip_tags() function was replaced with wp_strip_all_tags() instead.

* Added control for a variable

Added control for "item->data" before applying wp_strip_all_tags method.

* pre-commit changes

* Test text corrected

* fix linting issues

* fix mis-merged changes

* Update jsdoc

Co-Authored-By: Paul Sealock <psealock@gmail.com>

Co-authored-by: Timmy Crawford <timmyc@users.noreply.github.com>
Co-authored-by: Jeff Stieler <jeff.m.stieler@gmail.com>
Co-authored-by: Joshua T Flowers <joshuatf@gmail.com>
Co-authored-by: Fernando <ultimoround@gmail.com>
Co-authored-by: edmundcwm <edmundcwm@gmail.com>
Co-authored-by: Paul Sealock <psealock@gmail.com>
2020-03-03 11:22:32 +13:00
Paul Sealock 83ff92910a Fix Starter Pack styles (https://github.com/woocommerce/woocommerce-admin/pull/3776) 2020-02-28 09:52:59 +13:00
renovate[bot] 555686f593 Update wordpress monorepo (https://github.com/woocommerce/woocommerce-admin/pull/3733)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-27 10:14:30 -04:00
Ron Rennick 8b72dc0c51 initial stock report user documentation (https://github.com/woocommerce/woocommerce-admin/pull/3744) 2020-02-25 09:00:36 -04:00
Ron Rennick 40e252febd Initial revenue report docs (https://github.com/woocommerce/woocommerce-admin/pull/3749) 2020-02-25 09:00:04 -04:00
Paul Sealock 35462eab0d Coding standards: fix errors (https://github.com/woocommerce/woocommerce-admin/pull/3763) 2020-02-25 14:18:52 +13:00
Bec Scott 1cc7e0288f Add PayFast payment gateway option for sites in South Africa (https://github.com/woocommerce/woocommerce-admin/pull/3738)
* Add PayFast payment gateway option for sites in South Africa

* Fix PayFast extension in the whitelist

* Configure PayFast from within the task list

* Triggering hook

* Show PayFast payment method at the bottom of the options

* When configuring the PayFast extension set the store currency to ZAR

* Remove withSelect from compose function

* Only do one call to update the settings
2020-02-24 13:54:46 +10:00
Rua Haszard 8eda9cbd59 Add Storybook for documenting and testing components in isolation (https://github.com/woocommerce/woocommerce-admin/pull/3679)
* basic empty storybook setup

* borrow (copy paste) config (module.rules & aliases) from main webpack

* story for rating (styling not working)

* correctly style rating stars in storybook

* import webpack config for storybook instead of paste

* tweak rating story to show partial stars

* stylelint fixes

* pin storybook addons versions

* add knobs for rating & totalStars

* add knob for size + use defaultProps for knob defaults

* import all component styles into storybook preview:
- stories shouldn't import component styles directly, consistent with
how they are used
2020-02-24 15:25:25 +13:00
Alex Kirk 8d08616a87 Typo (https://github.com/woocommerce/woocommerce-admin/pull/3757) 2020-02-21 16:16:00 -08:00
renovate[bot] d724d5fa68 Update dependency raw-loader to v4 (https://github.com/woocommerce/woocommerce-admin/pull/3735)
* Update dependency raw-loader to v4

* Fix markdown require to use default export.

Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
Co-authored-by: Jeff Stieler <jeff.m.stieler@gmail.com>
2020-02-20 11:38:28 -08:00
renovate[bot] 8e98002c27 Update dependency react-dates to v21 (https://github.com/woocommerce/woocommerce-admin/pull/3736)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-20 10:47:09 -08:00
renovate[bot] caf99e42d9 Update dependency react-docgen to v5 (https://github.com/woocommerce/woocommerce-admin/pull/3737)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-20 09:55:20 -08:00
Jeff Stieler 4462d080a7 Add documentation for Products Report. (https://github.com/woocommerce/woocommerce-admin/pull/3721) 2020-02-20 07:03:39 -08:00
Ron Rennick 952b70774f Merge Version/1.0 to master (https://github.com/woocommerce/woocommerce-admin/pull/3740)
* Try: Moving Customers to main Woo Menu (https://github.com/woocommerce/woocommerce-admin/pull/3632)

* Only add onboarding settings on wc-admin pages when task list should be shown. (https://github.com/woocommerce/woocommerce-admin/pull/3722)

* Use cron for unsnoozing admin notes (https://github.com/woocommerce/woocommerce-admin/pull/3662)

* Use wp-cron for admin note snoozing.

* Remove "unsnooze" scheduled action.

* Use correct version.

* Avoid using deprecated method for unscheduling actions.

* Onboarding: Fix toggle tracking events (https://github.com/woocommerce/woocommerce-admin/pull/3645)

* Fix errant wcadmin prefix on event name

* Track the onboarding toggle on the option in case enable_onboarding isn't used

* Move toggle actions to separate function

* Move onboarding actions

* Move onboarding filters

* Move help tab updates to add_toggle_actions

* Only run onboarding actions when enabled

* Onboarding: Add tracks events when profiler steps are completed (https://github.com/woocommerce/woocommerce-admin/pull/3726)

* Add tracks for store profiler step completion

* Record event when profiler is completed

* Ensure continue setup loads the onboarding profiler (https://github.com/woocommerce/woocommerce-admin/pull/3646)

* 'All that include' option removed when input field is empty (https://github.com/woocommerce/woocommerce-admin/pull/3700)

* 'All that include' option removed when input field is empty

Added a control to check that when the input field 'Search by customer name' is empty, the 'All that include' option is not appearing.

* Const name improved

The constant name hasValues was changed to optionsHaveValues (more descriptive)

* Fix select text alignment (https://github.com/woocommerce/woocommerce-admin/pull/3723)

Co-authored-by: Timmy Crawford <timmyc@users.noreply.github.com>
Co-authored-by: Jeff Stieler <jeff.m.stieler@gmail.com>
Co-authored-by: Joshua T Flowers <joshuatf@gmail.com>
Co-authored-by: Fernando <ultimoround@gmail.com>
Co-authored-by: edmundcwm <edmundcwm@gmail.com>
2020-02-20 07:59:02 -04:00
renovate[bot] eafc31fd89 Update dependency husky to v4 (https://github.com/woocommerce/woocommerce-admin/pull/3734)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-19 17:16:54 -08:00
renovate[bot] 01b3d19475 Pin dependency lint-staged to 10.0.7 (https://github.com/woocommerce/woocommerce-admin/pull/3732)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-19 16:45:59 -08:00
edmundcwm f4710a7356 Fix select text alignment (https://github.com/woocommerce/woocommerce-admin/pull/3723) 2020-02-18 13:57:53 -04:00
Ron Rennick 7269eca1ae add docs for coupons report (https://github.com/woocommerce/woocommerce-admin/pull/3685) 2020-02-18 09:29:56 -04:00
Bec Scott 2a7e4f0c97 Make analytics tables use the site's date format setting (https://github.com/woocommerce/woocommerce-admin/pull/3715)
* Make analytics tables use the site's date format setting

* Use getSetting instead of the wcSettings global

* Use configured date format in coupons analytics table

* Use default date format as fallback in analytics

* Rename downloads table class name
2020-02-17 11:12:35 +10:00
Paul Sealock 43274b9fa8 Coding Standards: Fix getReportItems function call order (https://github.com/woocommerce/woocommerce-admin/pull/3724) 2020-02-17 14:02:32 +13:00
Timmy Crawford ae11c1a0de Documentation: Add Dashboard Documentation. (https://github.com/woocommerce/woocommerce-admin/pull/3491)
* Create Dashboard doc.

* intro, dashboard sections, and performance indicators.

* few more udpates.

* Updates per feedback.
2020-02-14 12:58:00 -08:00
Timmy Crawford 3435c7d51a Documentation: Analytics basics doc (https://github.com/woocommerce/woocommerce-admin/pull/3684)
* Analytics basics doc

* More analytics basics

* Updates per feedback.
2020-02-14 12:53:09 -08:00
Fernando d0a557df96 Added link to "go shopping" button (https://github.com/woocommerce/woocommerce-admin/pull/3712)
* Added link to "go shopping" button

Onboarding - added a link to the shop page in the "go shopping" button

* Now using core's helper method

* Added esc_url function to shop_url

* woocommerce_get_page_id was replaced by wc_get_page_id
2020-02-14 14:24:31 -03:00
Darren Ethier 33c5b41e3f Align WooCommerce javascript code standards/linting/styles with WordPress core. (https://github.com/woocommerce/woocommerce-admin/pull/3674)
* align code styles with the same configuration as Woo-Blocks

* initial pass of reformat-files

* applies manual fixes to various new linting errors surfaced by the configuration change.

* Fix state mutation in image-upload

* remove unused pre-commit-hook.js

* requestAnimationFrame -> window.requestAnimationFrame

* wc-api eslint changes

* eslint fixes on client/lib and client/settings

* client/header eslint changes

* fixes for client/dashboard part 1

* fixes client/dashboard part 2 of 2

* client/analytics part 1

* client/analytics continued

* client/analytics, last batch

* rename __mock__ directory

* pass in useEffect, useState from React component or function

* remove '+' from sprintf string argument

* use ref instead of findDOMNode

* reformat and repaply package.json changes

* install deps before running linter in Travis

* useGetCountryStateAutofill

* counryStateAutofill

* countryStateAutofill

Co-authored-by: Paul Sealock <psealock@gmail.com>
2020-02-14 15:23:21 +13:00
renovate[bot] e57ad7ec30 Update dependency webpack to v4.41.6 (https://github.com/woocommerce/woocommerce-admin/pull/3704)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-13 13:25:52 -04:00
renovate[bot] 7a66f51d72 Update dependency webpack-cli to v3.3.11 (https://github.com/woocommerce/woocommerce-admin/pull/3705)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-13 13:22:43 -04:00
renovate[bot] 8efe525bd7 Update dependency rtlcss to v2.5.0 (https://github.com/woocommerce/woocommerce-admin/pull/3703)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-13 13:18:55 -04:00
renovate[bot] f800d1bfbd Update dependency eslint-plugin-jest to v23.7.0 (https://github.com/woocommerce/woocommerce-admin/pull/3702)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-13 13:06:48 -04:00
Bec Scott f5292427d8 Update form example to better format the form return data (https://github.com/woocommerce/woocommerce-admin/pull/3706) 2020-02-13 15:15:35 +10:00
Jeff Stieler 6ed3943281 Initial documentation of the Customers Report. (https://github.com/woocommerce/woocommerce-admin/pull/3686) 2020-02-08 15:56:03 -08:00
Ron Rennick db8a3ed88c tag version 0.25.1 (https://github.com/woocommerce/woocommerce-admin/pull/3681) 2020-02-07 11:15:00 -08:00
Timmy Crawford 9336150461 Enable onboarding in production. (https://github.com/woocommerce/woocommerce-admin/pull/3680) 2020-02-07 10:08:20 -08:00
renovate[bot] 16c6dd4f22 Update wordpress monorepo (https://github.com/woocommerce/woocommerce-admin/pull/3673)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-06 16:16:19 +13:00
renovate[bot] 6899a84124 Update dependency eslint-plugin-react to v7.18.3 (https://github.com/woocommerce/woocommerce-admin/pull/3672)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-06 15:56:38 +13:00
renovate[bot] 6285a175b7 Update dependency dompurify to v2.0.8 (https://github.com/woocommerce/woocommerce-admin/pull/3671)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-06 15:53:31 +13:00
renovate[bot] caa09e252d Update dependency @octokit/rest to v16.43.1 (https://github.com/woocommerce/woocommerce-admin/pull/3670)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-06 15:46:53 +13:00
renovate[bot] a0247f0651 Update dependency @automattic/color-studio to v2.2.1 (https://github.com/woocommerce/woocommerce-admin/pull/3669)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-06 14:55:19 +13:00
renovate[bot] 1bd31a79dc Update babel monorepo to v7.8.4 (https://github.com/woocommerce/woocommerce-admin/pull/3668)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-06 14:16:24 +13:00
Fernando 387bf188a4 Decode breadcrumb correctly (https://github.com/woocommerce/woocommerce-admin/pull/3653)
When viewing the Accounts & Privacy tab in WooCommerce Settings, the page title in the breadcrumbs includes an "&amp;".
Now "decodeEntities" method is used to correct the breadcrumb.
2020-02-05 11:35:50 -08:00
Ron Rennick 8e0a6a18fd cast tax amount to float (https://github.com/woocommerce/woocommerce-admin/pull/3656) 2020-02-05 07:50:02 -08:00
Ron Rennick 64f9cd733b tag version 0.25 (https://github.com/woocommerce/woocommerce-admin/pull/3641) 2020-02-05 13:18:28 +13:00
Timmy Crawford 03274bbe6d Match Woo Core JP Autoloader version (https://github.com/woocommerce/woocommerce-admin/pull/3667) 2020-02-04 15:38:37 -08:00
Vasily Belolapotkov 06dce7a558 Add outline styling to focused textarea element (https://github.com/woocommerce/woocommerce-admin/pull/3655)
Textearea and input look different because ouline styling is not
applied to text area element.
2020-02-03 15:16:32 +13:00
renovate[bot] b3176813b6 Lock file maintenance (https://github.com/woocommerce/woocommerce-admin/pull/3660)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-03 14:57:38 +13:00
renovate[bot] 7f30546bfd Update dependency eslint-plugin-jest to v23 (https://github.com/woocommerce/woocommerce-admin/pull/3640)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-03 14:45:44 +13:00
renovate[bot] 79bf3f646b Update dependency eslint-loader to v3 (https://github.com/woocommerce/woocommerce-admin/pull/3639)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-03 14:22:32 +13:00
renovate[bot] 50ddf20cbd Update dependency cross-env to v7 (https://github.com/woocommerce/woocommerce-admin/pull/3638)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-03 14:19:58 +13:00
renovate[bot] 4d0042d82d Update dependency node-sass to v4.13.1 (https://github.com/woocommerce/woocommerce-admin/pull/3637)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-03 14:17:08 +13:00
renovate[bot] 31b9bc3e3b Update dependency concurrently to v5.1.0 (https://github.com/woocommerce/woocommerce-admin/pull/3636)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-03 14:13:20 +13:00
renovate[bot] aea1ed1c7a Update dependency @octokit/rest to v16.42.0 (https://github.com/woocommerce/woocommerce-admin/pull/3635)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-03 14:08:13 +13:00
renovate[bot] 8e99e5d752 Lock file maintenance (https://github.com/woocommerce/woocommerce-admin/pull/3629)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-03 14:07:11 +13:00
Timmy Crawford 02540f3b89 Fix for onboarding in 25.0 (https://github.com/woocommerce/woocommerce-admin/pull/3651) 2020-01-30 15:23:02 -08:00
Joshua T Flowers 243901a38f Onboarding: Mark profiler complete on WC update (https://github.com/woocommerce/woocommerce-admin/pull/3590)
* Mark profiler as complete if previous onboarding install has been handled

* Load features before WC updated hooks

* Add todo note about updating core install check
2020-01-29 11:47:04 -03:00
Joshua T Flowers 761a67f18b Onboarding: Mark payments task complete when payment configured (https://github.com/woocommerce/woocommerce-admin/pull/3576)
* Mark payments task complete when payment configured

* Only mark complete when all payments configured

* Only mark payments complete if all payments configured
2020-01-28 09:12:04 -08:00
Joshua T Flowers d22774aa66 Onboarding: Fix shipping rates overlapping currency prefix (https://github.com/woocommerce/woocommerce-admin/pull/3623)
* Add various input states classes to the text control with affixes component

* Replace TextControl with TextControlWithAffixes in shipping rates

* Style TextControlWithAffixes for shipping rates in task list

* Always provide a formatted currency string

* Always display shipping rate labels and affixes

* Add components changelog entry.

Co-authored-by: Jeff Stieler <jeff.m.stieler@gmail.com>
2020-01-28 08:54:39 -08:00
Joshua T Flowers d1ef0eb029 Hide other elements in wpcontent while in full screen mode (https://github.com/woocommerce/woocommerce-admin/pull/3621) 2020-01-28 07:37:33 -08:00
Joshua T Flowers fcd2d517cd Onboarding: Allow any uploaded theme to be activated (https://github.com/woocommerce/woocommerce-admin/pull/3620)
* Allow installed themes to be installed and activated

* Filter themes on client-side by WC support and currently active

* Run transient deletion hook during REST requests

* Delete transient on theme switch for non-admin requests
2020-01-24 10:11:36 +08:00
Joshua T Flowers 2438885f09 Onboarding: Add missing space between manual tax info and link (https://github.com/woocommerce/woocommerce-admin/pull/3612) 2020-01-24 10:10:32 +08:00
Joshua T Flowers cc0a054fe3 Onboarding: Vertically align button text (https://github.com/woocommerce/woocommerce-admin/pull/3622) 2020-01-24 10:09:39 +08:00
Jeff Stieler 9f5826ee61 Fix Search component token display in ReportTable (https://github.com/woocommerce/woocommerce-admin/pull/3618)
* Fix parsing of report table search terms.

* Fix styling of Search component "clear all" button.

* Add components changelog entry.
2020-01-23 08:32:28 -07:00
Joshua T Flowers f8195a7b13 Onboarding: Center button to continue without installation (https://github.com/woocommerce/woocommerce-admin/pull/3588)
* Center button to continue without installation

* Remove margin on last benefit p tag
2020-01-23 15:11:40 +08:00
Ron Rennick aed9216ab6 Use WC 3.8.1 for PHP 5.6 test matrix (https://github.com/woocommerce/woocommerce-admin/pull/3616) 2020-01-23 14:53:42 +08:00
Ron Rennick 614c5b7cdf add PHP 7.3 to Travis unit tests (https://github.com/woocommerce/woocommerce-admin/pull/3552)
* add PHP 7.3 to Travis unit tests

* add note indicating phpunit version requirement

* add COMPOSER_DEV env variable for composer install
2020-01-22 15:20:27 -04:00
renovate[bot] 69d1388b95 Update dependency @octokit/rest to v16.37.0 (https://github.com/woocommerce/woocommerce-admin/pull/3607)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-22 17:07:11 +01:00
renovate[bot] 2afe792b35 Update dependency eslint-plugin-react to v7.18.0 (https://github.com/woocommerce/woocommerce-admin/pull/3608)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-22 17:07:04 +01:00
Jeff Stieler 5c37dd0374 Fix styling of search control in report table header and filters. (https://github.com/woocommerce/woocommerce-admin/pull/3603) 2020-01-22 08:33:44 -07:00
renovate[bot] 95a40969ef Lock file maintenance (https://github.com/woocommerce/woocommerce-admin/pull/3587)
* Lock file maintenance

* Renovate: disable composer

Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
Co-authored-by: Albert Juhé Lluveras <aljullu@gmail.com>
2020-01-22 16:31:29 +01:00
Joshua T Flowers 4b02e0850d Onboarding: Allow Jetpack connection to be skipped in tax task (https://github.com/woocommerce/woocommerce-admin/pull/3589)
* Add skip action to Connect component

* Add skip button to tax connect step

* Record event when tax Jetpack connection is skipped
2020-01-22 16:37:05 +08:00
Albert Juhé Lluveras c4b1d552d4 Remove unnecessary use of lodash get (https://github.com/woocommerce/woocommerce-admin/pull/3598) 2020-01-21 15:17:39 +01:00
Joshua T Flowers a6c0d8f063 Use existing store country if address line 1 is set (https://github.com/woocommerce/woocommerce-admin/pull/3595) 2020-01-21 20:57:16 +08:00
Joshua T Flowers bade1da7f9 Onboarding: Fix gap on plugins step (https://github.com/woocommerce/woocommerce-admin/pull/3594)
* Remove min height on plugin actions

* Move margin from wrapper to buttons
2020-01-21 20:05:37 +08:00
Joshua T Flowers b0b79e8968 Redirect old onboarding wizard to profiler when active (https://github.com/woocommerce/woocommerce-admin/pull/3593) 2020-01-21 20:05:10 +08:00
Paul Sealock 127ede4fd7 Dashboard: fix usermeta prefix (https://github.com/woocommerce/woocommerce-admin/pull/3586) 2020-01-21 08:06:38 +13:00
Jeff Stieler 25c09563a1 Don't modify the document title on existing WooCommerce pages. (https://github.com/woocommerce/woocommerce-admin/pull/3585) 2020-01-20 10:34:24 -07:00
Ron Rennick 0169dd26bb fix strict standards in Scheduler classes (https://github.com/woocommerce/woocommerce-admin/pull/3583) 2020-01-20 08:19:53 -04:00
Jeff Stieler 3c93bc7b98 Remove defunct hook removals. (https://github.com/woocommerce/woocommerce-admin/pull/3584) 2020-01-17 17:16:02 -07:00
Timmy Crawford 6ffb9f3600 Ignore vendor directory for stylelint (https://github.com/woocommerce/woocommerce-admin/pull/3582)
* Ignore vendor directory for stylelint

* try that again.
2020-01-17 09:33:54 -08:00
renovate[bot] 9d32fd3671 Update dependency eslint to v6 (https://github.com/woocommerce/woocommerce-admin/pull/3562)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-17 09:05:34 -08:00
renovate[bot] 4881d686a2 Update dependency autoprefixer to v9.7.4 (https://github.com/woocommerce/woocommerce-admin/pull/3561)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-17 08:38:56 -08:00
Joshua T Flowers e1bb3255c9 Onboarding: Hide plugin install step when already installed (https://github.com/woocommerce/woocommerce-admin/pull/3575)
* Remove already active plugins from install list

* Update global with newly activated and installed plugins

* Cache activated plugins to prevent step removal
2020-01-17 09:46:11 +08:00
Joshua T Flowers 5e8f3bc378 Onboarding: Update homepage publish message (https://github.com/woocommerce/woocommerce-admin/pull/3577) 2020-01-17 09:11:36 +08:00
Joshua T Flowers 69525f70df Onboarding: Mark payments task complete on updating payment gateways (https://github.com/woocommerce/woocommerce-admin/pull/3579)
* Mark payments task complete on Stripe settings update

* Check for Paypal completion

* Update payments task to complete on setting Square tokens

* Update Paypal settings to check ppec settings
2020-01-17 09:11:04 +08:00
renovate[bot] c3ae5ed53e Update wordpress monorepo (https://github.com/woocommerce/woocommerce-admin/pull/3530)
* Update wordpress monorepo

* Update test snapshots on SplitButton

Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
Co-authored-by: Timmy Crawford <timmyc@users.noreply.github.com>
2020-01-16 16:56:43 -08:00
Paul Sealock afd4573f4d Re-add stockStatuses to wcSettings (https://github.com/woocommerce/woocommerce-admin/pull/3573) 2020-01-17 13:42:02 +13:00
Jeff Stieler d57b99e6c7 Revamp uninstallation when WooCommerce Admin is in core. (https://github.com/woocommerce/woocommerce-admin/pull/3546)
* Don't truncate table data on uninstall if WooCommerce Admin is in core.

* DROP tables on uninstall (like core does).

* Migrate wc_ prefix options to woocommerce_.

This allows core WC to clean up when uninstalled.

* Migrate wc_ prefixed user meta fields to woocommerce_.

This allows core WC to clean up when uninstalled.

* Fix use of date().

* Update comment describing the option value filter.
2020-01-16 17:08:29 -07:00
renovate[bot] de5d3f7c82 Update babel monorepo to v7.8.3 (https://github.com/woocommerce/woocommerce-admin/pull/3558)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-16 16:00:52 -08:00
renovate[bot] 450cf3d1d5 Update dependency prismjs to v1.19.0 (https://github.com/woocommerce/woocommerce-admin/pull/3528)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-16 15:48:29 -08:00
renovate[bot] 7bf0a0e465 Update dependency woocommerce/woocommerce-sniffs to v0.0.9 (https://github.com/woocommerce/woocommerce-admin/pull/3529)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-16 15:31:33 -08:00
Jeff Stieler 3b609cf19f Avoid redundant/unnecessary cleanup. (https://github.com/woocommerce/woocommerce-admin/pull/3580)
The feature plugin doesn't need to clean up when the core package exists.
2020-01-16 11:46:05 -07:00
Ron Rennick 92af5964fb Update PHPUnit to version 7 (https://github.com/woocommerce/woocommerce-admin/pull/3571)
* add php requirement to composer, update phpunit to 7.5.18

* add random order test run (allowed to fail)
2020-01-16 10:03:44 -04:00
Ron Rennick d192e55dda fix SQL error in category sort (https://github.com/woocommerce/woocommerce-admin/pull/3521)
* fix SQL error in category sort

Co-authored-by: Jeff Stieler <jeff.m.stieler@gmail.com>
2020-01-15 16:26:28 -04:00
renovate[bot] ff6eeadbef Update dependency css-loader to v3.4.2 (https://github.com/woocommerce/woocommerce-admin/pull/3527)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-15 11:59:01 -08:00
renovate[bot] a5d8f2c05a Update dependency webpack-fix-style-only-entries to v0.4.0 (https://github.com/woocommerce/woocommerce-admin/pull/3502)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-15 11:49:50 -08:00
renovate[bot] 546c4a1a29 Update dependency webpack to v4.41.5 (https://github.com/woocommerce/woocommerce-admin/pull/3501)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-15 10:40:27 -08:00
renovate[bot] 1d2b713916 Update dependency replace to v1.1.5 (https://github.com/woocommerce/woocommerce-admin/pull/3500)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-15 10:30:15 -08:00
renovate[bot] 2ea7a44ade Update dependency lerna to v3.20.2 (https://github.com/woocommerce/woocommerce-admin/pull/3499)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-15 10:01:05 -08:00
renovate[bot] eaa467eb37 Update dependency d3-time-format to v2.2.3 (https://github.com/woocommerce/woocommerce-admin/pull/3498)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-15 09:47:33 -08:00
Timmy Crawford a84485a3d4 Prod ready. (https://github.com/woocommerce/woocommerce-admin/pull/3556) 2020-01-14 15:57:21 -08:00
renovate[bot] 0b65d679fa Update dependency chalk to v3 (https://github.com/woocommerce/woocommerce-admin/pull/3531)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-15 09:15:14 +13:00
renovate[bot] f33982408c Update dependency concurrently to v5 (https://github.com/woocommerce/woocommerce-admin/pull/3532)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-15 09:00:57 +13:00
Yash Kapoor d84dacceef Updated examples.config.js (https://github.com/woocommerce/woocommerce-admin/pull/3515)
Fixed gutenberg-components path & added @woocommerce/wc-admin-settings
2020-01-15 08:56:10 +13:00
Jeff Stieler c15bbc9e4b Make package-based load inert when plugin is active. (https://github.com/woocommerce/woocommerce-admin/pull/3555) 2020-01-14 08:13:58 -07:00
Joshua T Flowers 45659dbb3e SelectControl: Add an option to show all options on refocus (https://github.com/woocommerce/woocommerce-admin/pull/3551)
* Add prop to show all options on focus

* Add example to devdocs for refocus option

* Highlight search query on refocus

* Make country/state dropdown show all options on refocus
2020-01-14 18:19:59 +08:00
Joshua T Flowers d5444f6351 Updating unread stock indicator on stock update (https://github.com/woocommerce/woocommerce-admin/pull/3550)
* Force refetch of low product query after updating stock

* Continue showing unread indicator while fetching
2020-01-14 18:19:35 +08:00
Joshua T Flowers 7164e021fc Onboarding: Update profiler theme action buttons (https://github.com/woocommerce/woocommerce-admin/pull/3548)
* Center align theme action buttons

* Add separate button for current theme

* Make live demo button tertiary

* Update styles for default and tertiary buttons in theme actions
2020-01-14 18:19:09 +08:00
renovate[bot] b945e76d60 Update dependency d3-format to v1.4.3 (https://github.com/woocommerce/woocommerce-admin/pull/3497)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-13 17:11:51 -08:00
Paul Sealock c0fc8a5be1 Handle custom currency formats (https://github.com/woocommerce/woocommerce-admin/pull/3349)
* add custom currency render

* tooltip

* remove filters

* remove custom component

* revert tooltip changes'

* update package-lock

* revert package-lock

* revert package-lock again
2020-01-14 09:55:54 +13:00
Ron Rennick 0396740c49 remove languages/woocommerce-admin.php from deploy (https://github.com/woocommerce/woocommerce-admin/pull/3542) 2020-01-13 11:07:28 -04:00
Joshua T Flowers a87e7966fe Don't exclude selected option from options list in countrystate dropdown (https://github.com/woocommerce/woocommerce-admin/pull/3540) 2020-01-13 11:21:06 +08:00
Joshua T Flowers 83f1bf8db9 Fix mobile table header styling (https://github.com/woocommerce/woocommerce-admin/pull/3547)
* Move search comparison beneath table header title

* Fix search label positioning
2020-01-13 10:58:43 +08:00
Timmy Crawford adfd48d444 Onboarding: Prevent retry and activate and continue button from appearing at the same time. (https://github.com/woocommerce/woocommerce-admin/pull/3545) 2020-01-10 09:24:38 -08:00
Joshua T Flowers d29d674768 Onboarding: Add reminder to complete profiler (https://github.com/woocommerce/woocommerce-admin/pull/3524)
* Add note to complete profiler

* Add note actions

* Update note to actioned when profiler is marked complete

* Update note to actioned client-side when completing profiler
2020-01-10 09:36:30 +08:00
Ron Rennick d15a66d3bd add analytics settings docs (https://github.com/woocommerce/woocommerce-admin/pull/3526) 2020-01-09 10:44:21 -04:00
Ron Rennick d657613888 add privacy erasure via woocommerce hook (https://github.com/woocommerce/woocommerce-admin/pull/3511)
* add privacy erasure via woocommerce hook

Co-Authored-By: Joshua T Flowers <joshuatf@gmail.com>
2020-01-09 09:07:16 -04:00
Joshua T Flowers 90112354b1 Update historical data notice to actioned on import (https://github.com/woocommerce/woocommerce-admin/pull/3539)
* Add hook for regenerating data init

* Set note to actioned on data import

* Update note status on client-side import start
2020-01-09 10:11:39 +08:00
Joshua T Flowers 6943e76a3e Set minimum height on muriel text inputs (https://github.com/woocommerce/woocommerce-admin/pull/3538) 2020-01-09 10:10:52 +08:00
Joshua T Flowers d96a8b88b4 Update broken note action hooks (https://github.com/woocommerce/woocommerce-admin/pull/3535)
* Update action hooks to use new prefix

* Update error prefixes for notes
2020-01-09 10:10:29 +08:00
Joshua T Flowers da9421692f Onboarding: Add option to track appearance completion (https://github.com/woocommerce/woocommerce-admin/pull/3503)
* Add option to track appearance completion

* Disable proceed button if no logo and not dirty state
2020-01-09 10:05:03 +08:00
Jeff Stieler 8a976c28bb Add initial Activity Panel documentation. (https://github.com/woocommerce/woocommerce-admin/pull/3525)
* Add initial Activity Panel documentation.

* Fix orders panel documentation.

* Additionally remove use of "ship" in messaging - not all stores sell physical products.
2020-01-08 12:25:13 -05:00
Ron Rennick d1f198b21f Sync refactor tweaks (https://github.com/woocommerce/woocommerce-admin/pull/3504)
* add check for in progress actions

* add check for AS get_date() function

* incorporate review feedback

* remove unnecessary else
2020-01-08 09:53:05 -04:00
Jeff Stieler 76e5483cf2 Release 0.24.0 (https://github.com/woocommerce/woocommerce-admin/pull/3520)
* Bump version.

* Add changelog entries.

* Update tested to.
2020-01-07 10:54:05 -05:00
Joshua T Flowers 35b05d316f Update date format for import status (https://github.com/woocommerce/woocommerce-admin/pull/3516)
* Update date format for import status

* Update success message for all historical data
2020-01-07 20:25:11 +08:00
Timmy Crawford 070f8eb3c0 Fix exception when task list is not shown. (https://github.com/woocommerce/woocommerce-admin/pull/3513) 2020-01-06 15:10:37 -08:00
Jeff Stieler c2367bf708 Add initial documentation for the historical data import. (https://github.com/woocommerce/woocommerce-admin/pull/3506) 2020-01-06 11:10:57 -05:00
Joshua T Flowers 07388aa5f1 Onboarding: Update task list success notices (https://github.com/woocommerce/woocommerce-admin/pull/3508) 2020-01-06 23:27:09 +08:00
Albert Juhé Lluveras 7d9aaf6afa Add singular/plural distinction to onboarding plugins installation (https://github.com/woocommerce/woocommerce-admin/pull/3517) 2020-01-06 16:16:38 +01:00
Joshua T Flowers a804c5613f Add SelectControl debouncing and keyboard fixes (https://github.com/woocommerce/woocommerce-admin/pull/3507)
* Prevent fetch from running on empty query

* Return empty string when query is null

* Add debounce time to filtered options in SelectControl

* Add searchDebounceTime as prop to SelectControl

* Close expanded list on tab

* Add currently selected index on tab
2020-01-06 23:15:40 +08:00
Timmy Crawford 41986bd8f0 Analytics: Change Refunds to Returns (https://github.com/woocommerce/woocommerce-admin/pull/3514)
* Change Refunds to Returns

* Also rename the chart

* Rename dashboard chart
2020-01-03 15:12:53 -08:00
Yash Kapoor 4a969a6fd1 Included RegExp for JS files in examples.config.js (https://github.com/woocommerce/woocommerce-admin/pull/3510) 2020-01-03 12:03:20 -05:00
Jeff Stieler a44efefbd6 CI: use PR repo instead of main repo when checking out branches. (https://github.com/woocommerce/woocommerce-admin/pull/3512) 2020-01-03 12:00:40 -05:00
Joshua T Flowers af5022c3d1 Reports sync refactor (https://github.com/woocommerce/woocommerce-admin/pull/3285) 2020-01-03 00:00:37 +08:00
Joshua T Flowers ec2bdb10aa Onboarding: Add tracks to extension purchase task and modal (https://github.com/woocommerce/woocommerce-admin/pull/3493)
* Add purchase task and modal to task list

* Track when cart modal is opened from task list

* Track when extensions are purchased or skipped

* Track checkout proceed on modal close
2020-01-02 10:36:25 +08:00
Joshua T Flowers a2bff95a4a Onboarding: Redirect the user to the task list if referer is wccom checkout (https://github.com/woocommerce/woocommerce-admin/pull/3495) 2020-01-02 10:30:12 +08:00
Timmy Crawford da0844c53e Onboarding: Add Skip Step link on Themes Step (https://github.com/woocommerce/woocommerce-admin/pull/3490)
* Onboarding: Add Skip Step link on Themes Step.

* Updates per feedback.
2019-12-31 11:55:00 -08:00
Jeff Stieler e93a2abcf9 Tag version 0.23.3 (https://github.com/woocommerce/woocommerce-admin/pull/3475)
* Bump plugin version.

* Add changelog entry.
2019-12-31 11:18:36 -08:00
Joshua T Flowers 700cf7bb2d Onboarding: Add purchase products task list item (https://github.com/woocommerce/woocommerce-admin/pull/3472)
* Add an array of installed plugins to wcSettings

* Don't include already installed plugins in cart items

* Move cart modal component

* Add purchase task and modal to task list

* Rename ambiguous task getter method

* Remove modal purchase later prop

* Show completed product purchase task item after purchase

* Don't show cart modal if all items previously purchased
2019-12-31 16:50:45 +08:00
Joshua T Flowers 1a83c50e19 Onboarding: Fix disabled button hover state (https://github.com/woocommerce/woocommerce-admin/pull/3492)
* Fix hover color for disabled buttons

* Add not-allowed state to cursor on disabled buttons
2019-12-31 10:47:41 +08:00
Joshua T Flowers 8707c5c13a Onboarding: Add error styling and text to country state dropdown (https://github.com/woocommerce/woocommerce-admin/pull/3494)
* Add onBlur prop to select control input

* Add controlCLassName prop to SelectControl

* Set left position for control help text explicitly
2019-12-31 10:31:59 +08:00
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
renovate[bot] e6fbbd8b41 Update dependency mini-css-extract-plugin to v0.9.0 (https://github.com/woocommerce/woocommerce-admin/pull/3480) 2019-12-30 11:29:24 -04:00
renovate[bot] 51cda0911b Update dependency redux to v4.0.5 (https://github.com/woocommerce/woocommerce-admin/pull/3481) 2019-12-30 11:09:28 -04:00
renovate[bot] 44c2f80a14 Update dependency enzyme-adapter-react-16 to v1.15.2 (https://github.com/woocommerce/woocommerce-admin/pull/3479) 2019-12-30 10:59:25 -04:00
renovate[bot] 127f71f7cc Update dependency deasync to v0.1.19 (https://github.com/woocommerce/woocommerce-admin/pull/3478) 2019-12-30 10:52:11 -04:00
renovate[bot] 18fe1d4a6d Update dependency @octokit/rest to v16.36.0 (https://github.com/woocommerce/woocommerce-admin/pull/3477) 2019-12-30 10:46:38 -04:00
renovate[bot] 6124c29e19 Update babel monorepo to v7.7.7 (https://github.com/woocommerce/woocommerce-admin/pull/3476) 2019-12-30 10:01:06 -04:00
Ron Rennick 692dcc21e5 update i18n scripts for making JSON files (https://github.com/woocommerce/woocommerce-admin/pull/3433)
* update i18n scripts for making JSON files

* update documentation

* update postbuild command for new translation script

* update per feedback

* update readme instructions

* update script reference patterns to anywhere on line
2019-12-30 09:38:20 -04: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
Joshua T Flowers 3da148156e Onboarding: Add theme install and activation endpoints (https://github.com/woocommerce/woocommerce-admin/pull/3482)
* Add API endpoint to install themes

* Add API endpoint to activate a theme

* Add an array of allowed themes and sanitize slugs

* Limit allowed themes to already installed or free themes

* Add theme installation tests

* Add tests for theme activation

* Add onboarding theme installation and activation tests

* Remove unused argument in onboarding plugins API
2019-12-30 15:47:15 +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 2df87c674d Onboarding: Skip Shipping connect step if Jetpack is already connected (https://github.com/woocommerce/woocommerce-admin/pull/3486) 2019-12-27 17:16:39 +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
Joshua T Flowers 986703686e Onboarding: Add in tracks for failed plugin installation (https://github.com/woocommerce/woocommerce-admin/pull/3483) 2019-12-27 07:20:52 +08:00
Jeff Stieler b742c132da Invalidate API caches when updating analytics settings. (https://github.com/woocommerce/woocommerce-admin/pull/3465) 2019-12-26 17:50:30 -05:00
Paul Sealock 402294c500 DataStores: normalize contexts to plural (https://github.com/woocommerce/woocommerce-admin/pull/3419)
* DataStores: normalize contexts to plural

* downloads_stats
2019-12-26 11:50:52 +13:00
Jeff Stieler c28b6d9f2c Fix DB version retrieval default value. (https://github.com/woocommerce/woocommerce-admin/pull/3473)
Value should be null if not set.
2019-12-24 13:19:08 -05:00
Jeff Stieler a5c4e13fbb Show pending review regardless of comment moderation settings (https://github.com/woocommerce/woocommerce-admin/pull/3459)
* Show pending reviews regardless of comment moderation settings.

* Filter "view reviews" link to show only product review comments.
2019-12-20 13:16:48 -05: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
Jeff Stieler 8d25b43a9c Update instructions for documenting new components. (https://github.com/woocommerce/woocommerce-admin/pull/3443)
* Update instructions for documenting new components.

* Update instructions to reflect README file generation.
2019-12-20 07:25:03 -05:00
Jeff Stieler 747618cb2d Bump version to 0.23.2. (https://github.com/woocommerce/woocommerce-admin/pull/3453)
* Update version to 0.23.2.

* Add changelog entries.
2019-12-20 07:24:49 -05:00
Jeff Stieler 45730ed5fa Prompt user for branch/commit to base releases on. (https://github.com/woocommerce/woocommerce-admin/pull/3454) 2019-12-20 07:24:26 -05:00
renovate[bot] ffae698c69 Update dependency mini-css-extract-plugin to v0.8.2 (https://github.com/woocommerce/woocommerce-admin/pull/3440) 2019-12-20 19:40:41 +08:00
renovate[bot] c4ae1bed98 Update dependency marked to v0.8.0 (https://github.com/woocommerce/woocommerce-admin/pull/3439) 2019-12-20 19:35:23 +08:00
renovate[bot] 0bc77c2308 Update dependency css-loader to v3.4.0 (https://github.com/woocommerce/woocommerce-admin/pull/3438) 2019-12-20 11:57:09 +08:00
renovate[bot] bc50e4960b Update dependency copy-webpack-plugin to v5.1.1 (https://github.com/woocommerce/woocommerce-admin/pull/3437) 2019-12-20 11:52:20 +08:00
renovate[bot] 3335cfc41f Update dependency @octokit/rest to v16.35.2 (https://github.com/woocommerce/woocommerce-admin/pull/3436) 2019-12-20 11:48:33 +08:00
renovate[bot] 54b168eaf6 Pin dependency fs-extra to 8.1.0 (https://github.com/woocommerce/woocommerce-admin/pull/3435) 2019-12-20 09:46:15 +08:00
Jeff Stieler 1c51cf94e0 Add filters to WP notice collapsing behavior. (https://github.com/woocommerce/woocommerce-admin/pull/3391)
* Add filters to WP notice collapsing behavior.

* Avoid modifying the WP notices NodeList inline.

* Add example showing WP notices filter usage.

* Keep hidden/shown notice widths consistent.
2019-12-18 08:12:32 -05:00
Jeff Stieler 162a8cd550 Allow report caching layer to be filtered off. (https://github.com/woocommerce/woocommerce-admin/pull/3434)
* Add filter to conditionally disable report caching.

* Disable caching for Orders Stats unit tests.

Fixes the display of the last query when tests fail.
2019-12-17 16:21:44 -05:00
Ron Rennick dd5929ea46 scroll to notices when made visible while scrolled down (https://github.com/woocommerce/woocommerce-admin/pull/3390)
* scroll to notices when made visible while scrolled down

* use window.scrollY for calculating scroll
2019-12-17 16:24:58 -04:00
Jeff Stieler 79ad163a3a Fix user data fields filter name. (https://github.com/woocommerce/woocommerce-admin/pull/3428)
Missed in woocommerce/woocommerce-admin#3339.
2019-12-17 08:36:22 -05:00
Jeff Stieler 7804d010ed Add moment dependency to script registration. (https://github.com/woocommerce/woocommerce-admin/pull/3429)
Our app and packages expect momentjs as an external.
2019-12-17 08:35:51 -05:00
Justin Shreve 013aa443b8 Fix the "is this card useful" prompt display (https://github.com/woocommerce/woocommerce-admin/pull/3427)
* Fix the "is this card useful" prompt display

* Fix stylelint / format issue
2019-12-17 07:49:57 -05:00
Timmy Crawford eeff9572f5 Documentation: Add base directory and files (https://github.com/woocommerce/woocommerce-admin/pull/3404)
* Let us get this docparty started.

* Report page stubs.
2019-12-16 10:29:01 -08:00
Paul Sealock 3da93590c4 AssetDataRegistry: update SQL example (https://github.com/woocommerce/woocommerce-admin/pull/3418)
* AssetDataRegistry: update SQL example

* add wc-settings as a dependency

* better descripiton
2019-12-17 07:16:46 +13:00
Jeff Stieler 11d4911191 Fix CompareFilter selected value format. (https://github.com/woocommerce/woocommerce-admin/pull/3421)
Look for `key` instead of `id` property.
2019-12-16 10:27:53 -05:00
Paul Sealock e5d321710f Add starter pack script (https://github.com/woocommerce/woocommerce-admin/pull/3403)
* Add starter pack

* use deepPink
2019-12-16 11:59:35 +13:00
Jeff Stieler 6a826600c2 Fix WC-Admin component styles for WP 5.3 (https://github.com/woocommerce/woocommerce-admin/pull/3357)
* Style Search component for 5.3.

* Reset native select control styles.

* Fix styling of selected radio options.

* Fix bottom margin on select inputs in filters and pagination.

* Update DropdownButton styles for WP 5.3.

* Style DropdownButton arrow as a chevron.

* Fix tooltip arrow styling.

* Style TextControlWithAffixes for WP 5.3.

* Flatten pagination button style.

* Use SelectControl for StoreAlert snooze action.

* Remove 3D look and use chevron on SplitButton.

* Add changelog entry.

* Fix stylelint issues.

* Update test snapshots.

* Add TextControlWithAffixes disabled prop to documentation and proptypes.

* Use WP checkboxes in ReportTable columns.

* Fix TableCard header background colors.

* Add padding to EllipsisMenu toggle controls.

* Remove version-specific styles.

We require WP 5.3 as a minimum now.
2019-12-13 12:35:29 -05:00
Paul Sealock 9a4369d984 Bump minimum WP version to 5.3 (https://github.com/woocommerce/woocommerce-admin/pull/3393)
* Bump minimum WP version

* Bump min WP version in main README.
2019-12-13 10:05:41 -05:00
renovate[bot] a80733a8d5 Lock file maintenance (https://github.com/woocommerce/woocommerce-admin/pull/3327)
* Lock file maintenance

* Update composer lockfile.
2019-12-13 09:59:43 -05:00
Jeff Stieler 2b85bf1bba Install latest stable WC for running builds. (https://github.com/woocommerce/woocommerce-admin/pull/3417)
Occasionally, master breaks the build.
2019-12-13 09:30:21 +13:00
renovate[bot] 4f8b8f00ef Update dependency core-js to v2.6.11 (https://github.com/woocommerce/woocommerce-admin/pull/3411) 2019-12-12 08:08:13 -05:00
renovate[bot] f307ed3add Update dependency webpack-cli to v3.3.10 (https://github.com/woocommerce/woocommerce-admin/pull/3413) 2019-12-12 07:53:07 -05:00
renovate[bot] 48d145d5df Update dependency rtlcss to v2.4.1 (https://github.com/woocommerce/woocommerce-admin/pull/3412) 2019-12-11 22:47:50 -05:00
renovate[bot] e828a73eb6 Update dependency copy-webpack-plugin to v5.1.0 (https://github.com/woocommerce/woocommerce-admin/pull/3410) 2019-12-11 22:46:13 -05:00
renovate[bot] a7c2d1f5fe Update dependency automattic/jetpack-autoloader to v1.3.7 (https://github.com/woocommerce/woocommerce-admin/pull/3409) 2019-12-11 22:26:20 -05:00
renovate[bot] 90bde97393 Update babel monorepo (https://github.com/woocommerce/woocommerce-admin/pull/3408) 2019-12-11 22:00:37 -05:00
Justin Shreve 8b15bb441e Add autocomplete props to address fields in onboarding and adjust country/state matching (https://github.com/woocommerce/woocommerce-admin/pull/3338)
* Add autocomplete props to adress fields in onboarding

* Adjust state/country autocomplete logic

* Refactor state and country check
2019-12-11 12:10:05 -05:00
Jeff Stieler 3301575b60 Fix missing header on core pages. (https://github.com/woocommerce/woocommerce-admin/pull/3389)
* Fix WC-admin loading on Status > Logs page.

* WIP render admin bar on all WC settings pages.

* Connect all settings, status, extension, and report pages using a filter.
2019-12-11 08:32:17 -05:00
Ron Rennick 4f71ae79a9 update customer rest controller for last active date in local time (https://github.com/woocommerce/woocommerce-admin/pull/3388) 2019-12-10 16:46:17 -04: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
Joshua T Flowers 3cec6e7be6 Onboarding: Update shipping task button text (https://github.com/woocommerce/woocommerce-admin/pull/3400)
* Add buttonText prop and default text to shipping rates component

* Make button text dependent on remaining task visibility

* Determine task step visibility by plugins
2019-12-10 14:54:51 -05:00
Justin Shreve 1acd567e76 Default the Calypso environment to production (https://github.com/woocommerce/woocommerce-admin/pull/3347) 2019-12-10 14:36:45 -05:00
Justin Shreve a0e47e8dfd Add a button to continue setup after importing products (https://github.com/woocommerce/woocommerce-admin/pull/3402) 2019-12-10 14:28:19 -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
Ron Rennick d1b356919c don't load analytics dashboard for users without needed capability (https://github.com/woocommerce/woocommerce-admin/pull/3386)
* don't load analytics dashboard for users without needed capability

* add helper function
2019-12-10 10:04:39 -04:00
Ron Rennick 47ca4f1032 make report filter date props optional (https://github.com/woocommerce/woocommerce-admin/pull/3359) 2019-12-10 09:56:06 -04: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 df172f4592 Onboarding: Reduce number of queries needed to update logo (https://github.com/woocommerce/woocommerce-admin/pull/3397)
* Add stylesheet and themeMods to settings and remove customLogo

* Remove queries to get current stylesheet and thememods
2019-12-10 11:08:44 +07:00
renovate[bot] 1f263874e3 Update dependency lerna to v3.19.0 (https://github.com/woocommerce/woocommerce-admin/pull/3346) 2019-12-09 14:36:51 -05:00
renovate[bot] ab37d42635 Update dependency docsify-cli to v4.4.0 (https://github.com/woocommerce/woocommerce-admin/pull/3344) 2019-12-09 14:26:27 -05:00
renovate[bot] 6cbc928675 Update dependency eslint-plugin-react to v7.17.0 (https://github.com/woocommerce/woocommerce-admin/pull/3345) 2019-12-09 14:21:57 -05:00
Paul Sealock 6a92ccb932 Release/0.23.1 (https://github.com/woocommerce/woocommerce-admin/pull/3395)
* release changes 0.23.0

* check onboarding function

* version bumps

* fix package.json typo

* fix version typo
2019-12-10 08:02:09 +13:00
renovate[bot] 7d48375c0b Update dependency deasync to v0.1.16 (https://github.com/woocommerce/woocommerce-admin/pull/3343) 2019-12-09 14:00:33 -05:00
renovate[bot] 44007fd014 Update dependency css-loader to v3.3.0 (https://github.com/woocommerce/woocommerce-admin/pull/3342) 2019-12-09 13:47:40 -05:00
renovate[bot] 3445ff6578 Update dependency autoprefixer to v9.7.3 (https://github.com/woocommerce/woocommerce-admin/pull/3341) 2019-12-09 13:36:13 -05:00
Paul Sealock 557cf0fbc4 release changes 0.23.0 (https://github.com/woocommerce/woocommerce-admin/pull/3371) 2019-12-10 07:30:38 +13:00
Joshua T Flowers 2fe5f99977 Update check for TOS accepted in tax step (https://github.com/woocommerce/woocommerce-admin/pull/3245) 2019-12-09 11:50:54 +07:00
Ron Rennick fe0aaaa8ab Add/disable plugin filter (https://github.com/woocommerce/woocommerce-admin/pull/3361)
* add filter to allow WC Admin to be disabled

* update filter name
2019-12-06 13:13:28 -04:00
Ron Rennick ba30224098 Stardardize hooks (https://github.com/woocommerce/woocommerce-admin/pull/3339)
* rename woocommerce_reports_* hooks/filters to woocommerce_analytics_*

* introduce woocommerce_navigation_ filter prefix

* update remaining wc_admin_* filters/hooks

* phpcs sniff fixes for notes data store

* standardize woocommerce_note_ hook prefix

* one of filter renames

* update contributing readme, onboarding unit test

* missed _notes_ -> _note_ filter

* update ext example hooks
2019-12-06 12:06:11 +13:00
Paul Sealock 8205112732 Add currency extension (https://github.com/woocommerce/woocommerce-admin/pull/3328)
* Add currency extension

* use wcSettings

* save

* get revenue working

* all reports

* remove error log

* better rename

* add column

* persist queries

* go back to individual hooks

* comments

* address feedback
2019-12-06 11:38:26 +13:00
Jeff Stieler 6a8124ffd0 Remove unnecessary locale update call. (https://github.com/woocommerce/woocommerce-admin/pull/3362)
Let the @wordpress/date module handle it.
2019-12-06 11:38:07 +13:00
Ron Rennick 0c5c0f1571 add filter to allow WC Admin to be disabled (https://github.com/woocommerce/woocommerce-admin/pull/3350) 2019-12-04 19:44:49 -04:00
Ron Rennick cd6c81ae22 account for time change when calculating next day start (https://github.com/woocommerce/woocommerce-admin/pull/3333) 2019-12-04 19:44:20 -04:00
Justin Shreve 4e4d6b265a Remove extra debug information (https://github.com/woocommerce/woocommerce-admin/pull/3336) 2019-12-04 08:16:20 -05: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 7c9ba29fa2 Onboarding: Redirect to task list after shipping step connection (https://github.com/woocommerce/woocommerce-admin/pull/3331)
* Add redirectUrl prop to connect step

* Add propTypes to connect component
2019-12-04 07:16:17 +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
Joshua T Flowers fa2ab220c9 Onboarding: Allow logo to be removed via customize appearance task (https://github.com/woocommerce/woocommerce-admin/pull/3323)
* Remove pending state when no custom logo ID exists

* Update logo to null in theme mods if removed
2019-12-03 12:42:57 +08:00
Joshua T Flowers 09f2a03284 Onboarding: Update appearance task completion criteria (https://github.com/woocommerce/woocommerce-admin/pull/3321)
* Update appearance task completion criteria

* Don't update wcSettings after logo change
2019-12-03 12:18:56 +08:00
Joshua T Flowers 485cb2c193 Update getCurrencyFormatString import to use wc-admin lib (https://github.com/woocommerce/woocommerce-admin/pull/3332) 2019-12-03 09:12:53 +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
Darren Ethier 09ddedc8d9 Packages: Prep for release. (https://github.com/woocommerce/woocommerce-admin/pull/3325)
* update components package version and changelog

* update csvexport package and changelog

* update currency package and changelog

* update date package and changelog

* update navigation package and changelog

* update number package and changelog

* update package dependency versions

* fix typo
2019-12-02 08:08:35 -05:00
Joshua T Flowers 81599c5178 Check if extended_info is set for order report items (https://github.com/woocommerce/woocommerce-admin/pull/3315) 2019-11-29 09:22:18 +08:00
Paul Sealock 3f13793e66 DB Updates: invalidate cache after update (https://github.com/woocommerce/woocommerce-admin/pull/3299) 2019-11-29 09:55:23 +13:00
Paul Sealock a5a67b107e Settings: Persist date range selection (https://github.com/woocommerce/woocommerce-admin/pull/3293)
* Settings: fix date range persistance

* set undefined on persisted on save

* add comment
2019-11-29 09:54:15 +13:00
Ron Rennick d6c77de3cd make customer order count consistent between customer and stats (https://github.com/woocommerce/woocommerce-admin/pull/3290)
* make customer order count consistent between customer and stats

* add phpcs ignore for date()

* move reused SQL logic to variables
2019-11-28 12:58:46 -04:00
Joshua T Flowers deeeacd3a5 Include out of stock products in low_in_stock product filter (https://github.com/woocommerce/woocommerce-admin/pull/3310) 2019-11-28 13:41:58 +08:00
renovate[bot] a259fa03f3 Update dependency automattic/jetpack-autoloader to v1.3.5 (https://github.com/woocommerce/woocommerce-admin/pull/3307) 2019-11-28 13:02:36 +13:00
renovate[bot] 772a8c7723 Update dependency d3-time-format to v2.2.2 (https://github.com/woocommerce/woocommerce-admin/pull/3308) 2019-11-28 13:01:53 +13:00
Paul Sealock 49060372aa Use report filters with tracking (https://github.com/woocommerce/woocommerce-admin/pull/3309) 2019-11-28 12:12:33 +13:00
renovate[bot] d035bc8397 Update babel monorepo to v7.7.4 (https://github.com/woocommerce/woocommerce-admin/pull/3306) 2019-11-27 17:06:29 +13:00
renovate[bot] 07b4f93494 Pin dependency @wordpress/base-styles to 1.0.0 (https://github.com/woocommerce/woocommerce-admin/pull/3305) 2019-11-27 16:39:57 +13:00
Joshua T Flowers a55830ac8c Onboarding: Hide ImageIUploader before custom logo is fetched (https://github.com/woocommerce/woocommerce-admin/pull/3304)
* Check if themeMods is set before showing logo step

* Set state to pending while fetching media
2019-11-27 10:59:40 +08:00
Jeff Stieler 9469663379 Decouple date package from `wcSettings`. (https://github.com/woocommerce/woocommerce-admin/pull/3278)
* Decouple date package from wcSettings.

* Update missed documentation and example.

* Expect simpler prop values for date filter.

* Remove unused props from primary/secondary dates.

* Avoid introducing moment dependency for type checking.

* Handle null moment/date values in DateRangeFilterPicker.

* Fix missing ISO date format.

* Fix moment instance detection.
2019-11-26 14:39:40 -05:00
Jeff Stieler e87a23bc75 Fix checkout of master branch in CI environment. (https://github.com/woocommerce/woocommerce-admin/pull/3296) 2019-11-26 13:24:36 -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 50cc3edaed Update onboarding filters with a consistent prefix (https://github.com/woocommerce/woocommerce-admin/pull/3295)
* Update onboarding filters with a consistent prefix

* Rename woocommerce_onboarding_payments to match the other task list options
2019-11-25 11:15:22 -05: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
Ron Rennick c5f0fa90b2 Remove Previous Year week alignment (https://github.com/woocommerce/woocommerce-admin/pull/3271)
* remove previous year week alignment, include full day at end of previous period

* update script testing of weeks in last year
2019-11-25 09:19:19 -04:00
renovate[bot] 53e3009c4b Update dependency d3-shape to v1.3.7 (https://github.com/woocommerce/woocommerce-admin/pull/3284) 2019-11-25 17:26:56 +13:00
renovate[bot] 46bc6574fe Update dependency d3-selection to v1.4.1 (https://github.com/woocommerce/woocommerce-admin/pull/3283) 2019-11-25 17:07:43 +13:00
renovate[bot] 38af02a632 Update dependency d3-format to v1.4.2 (https://github.com/woocommerce/woocommerce-admin/pull/3282) 2019-11-25 17:02:39 +13:00
renovate[bot] 23abbd47c8 Update dependency autoprefixer to v9.7.2 (https://github.com/woocommerce/woocommerce-admin/pull/3280) 2019-11-25 17:00:05 +13:00
renovate[bot] 5e1901bb5f Update dependency automattic/jetpack-autoloader to v1.3.4 (https://github.com/woocommerce/woocommerce-admin/pull/3279) 2019-11-25 16:58:49 +13:00
Darren Ethier b57b52ff0c fix error due to fallback not loading when needed for getAdminLink (https://github.com/woocommerce/woocommerce-admin/pull/3297) 2019-11-22 19:30:46 -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
David Levin 52cb35f4de Correcting and clarifying analytics terms and calculations (https://github.com/woocommerce/woocommerce-admin/pull/3104)
* Relabel Net Revenue to Net Sales, revert previous refund work on Gross revenue and rename to total sales. Update the orer of all the things

* Add gross sales calculation to revenue stats endpoint.

* Restore coupon_total when updating order stats.

* Wire up gross sales to revenue report.

* Fix revenue report refunds calculation when there are no refunds.

* update net sales labels and cases in order, product and category tables

* Subtract refunded shipping and taxes from gross sales.

* pluses to minuses to fix the gross revenue and refund totals when refunding

* Add gross_sales to revenue stats orderby enum.

* Change refund labels to Returns

* Remove usage of defunct coupon_total column.

* Store refunded amount in stats table.

* Rename "gross_total" column to "total_sales".

* Net total for refund orders can be used instead of a new column.

* Rename gross_revenue to total_sales.

* Coalesce coupons total in order stats query.

SUM()ing all nulls gives null, not zero.

* Use segmentation selections to backfill missing data.

Fo when report columns and segmentation columns don't match.

* Remove errant gross_sales from expected interval test data.

* Fix gross sales tests for revenue/stats.

* Move missing segment fills back to their original locations.

* Fix remaining tests failing because of gross sales.

* Fix db upgrade function rename of gross_total column.

* Fix linter errors.
2019-11-22 10:06:14 -05:00
Paul Sealock 0db5cbb6a0 Component styles: Explicitly import from Gutenberg (https://github.com/woocommerce/woocommerce-admin/pull/3292)
* Fix Gutenberg style imports

* remove duplicate variables

* remove extra variables

* remove duplicate imports

* move base style imports to webpack
2019-11-22 13:19:37 +13: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
Justin Shreve 1a1abe0cc2 Add remaining onboarding documentation (https://github.com/woocommerce/woocommerce-admin/pull/3286)
* Add Jetpack connection docs, and update the calypso information

* Finish onboarding docs with options, filters, and rest api sections

* Handle PR feedback
2019-11-21 11:28:22 -05:00
Justin Shreve 631ffe240f Onboarding - Add extra plugin debug to plugin installation (https://github.com/woocommerce/woocommerce-admin/pull/3272)
* Add extra plugin debug to plugin installation

* Add additional debug
2019-11-21 10:22:49 -05:00
Joshua T Flowers 940716d7f5 Add wc admin card classes to leaderboards (https://github.com/woocommerce/woocommerce-admin/pull/3267) 2019-11-21 20:10:37 +08:00
Paul Sealock 1f4e2fcdfe Use same wp-components version in bundle (https://github.com/woocommerce/woocommerce-admin/pull/3253)
* Use same wp-components version in bundle

* turn off short array rule
2019-11-21 09:36:44 +13:00
Joshua T Flowers 6bb8015cf2 Filter invalid statuses from saved statuses (https://github.com/woocommerce/woocommerce-admin/pull/3268) 2019-11-20 22:52:24 +08:00
Paul Sealock 790e5f59d3 Allow core inclusion via Package.php (https://github.com/woocommerce/woocommerce-admin/pull/3196)
* Create GH tag release process

Add core to the release

no need to re-run docs

simplify build command

add gh release script

fix errant comment

fix errant comment

force add feature-config.php

gitattributes

moar attributes

add language files

* Make sure initalization via Core is working
2019-11-20 12:23:27 +13:00
Jeff Stieler f8fa7b6bc7 Fetch autocomplete countries from the API rather than wcSettings object. (https://github.com/woocommerce/woocommerce-admin/pull/3262) 2019-11-19 14:17:15 -05:00
Justin Shreve e1f67a7d80 Add base documentation for the onboarding feature (https://github.com/woocommerce/woocommerce-admin/pull/3274)
* Add base documentation for the onboarding feature

* Handle PR feedback: Fix API URls, and WooCommerce.com heading
2019-11-19 13:06:38 -05:00
Ron Rennick 915953e1a6 use a filter to set default locale (https://github.com/woocommerce/woocommerce-admin/pull/3273) 2019-11-19 13:49:18 -04:00
Ron Rennick 2b8b1e4c1c rename DS get_* to add_* where function does not return values (https://github.com/woocommerce/woocommerce-admin/pull/3275)
* rename DS get_* to add_* where function does not return values

* phpcs fixes on coupons, products data stores
2019-11-19 13:48:35 -04: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 7385170781 Fix filter gap on analytics select controls (https://github.com/woocommerce/woocommerce-admin/pull/3259) 2019-11-18 10:20:07 -05:00
Ron Rennick 241fad75cc PHPCS fixes for onboarding files (https://github.com/woocommerce/woocommerce-admin/pull/3269) 2019-11-18 11:17:48 -04:00
Ron Rennick 634a4edc13 return a value from create pages API call (https://github.com/woocommerce/woocommerce-admin/pull/3261) 2019-11-18 08:37:16 -04:00
Joshua T Flowers 225548d7af Filter empty keywords from autocompleters (https://github.com/woocommerce/woocommerce-admin/pull/3257) 2019-11-18 09:23:39 +08:00
Joshua T Flowers 81567875c0 Reset state before firing onChange in SelectControl (https://github.com/woocommerce/woocommerce-admin/pull/3255) 2019-11-18 09:23:26 +08:00
Joshua T Flowers e060fbee56 Fix selected value showing for multiple SelectControl (https://github.com/woocommerce/woocommerce-admin/pull/3254) 2019-11-18 09:23:15 +08:00
Paul Sealock 03399a034c Create GH tag release process (https://github.com/woocommerce/woocommerce-admin/pull/3190)
Add core to the release

no need to re-run docs

simplify build command

add gh release script

fix errant comment

fix errant comment

force add feature-config.php

gitattributes

moar attributes

add language files
2019-11-18 11:39:27 +13:00
Justin Shreve f87176873b Onboarding - Fix payment CSS on mobile (https://github.com/woocommerce/woocommerce-admin/pull/3236) 2019-11-15 08:33:40 -05: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
Justin Shreve 03c3251a2a Onboarding - Add tracks queue and fix busted tracks events/add missing event (https://github.com/woocommerce/woocommerce-admin/pull/3220)
* Fix busted tracks events and add missing continue setup event

* Move appearance check to next page load to avoid the event not firing

* Add a tracks queue to delay event recording & log embed page views (https://github.com/woocommerce/woocommerce-admin/pull/3250)

* Add a tracks queue to delay event recording

* Add emebedded page view tracking, and queue the tax skip event
2019-11-15 08:32:02 -05:00
Joshua T Flowers ee747d2869 Onboarding: Skip homepage step when classic editor is in use (https://github.com/woocommerce/woocommerce-admin/pull/3244) 2019-11-15 08:17:48 +08:00
Joshua T Flowers 08ea4648ca Onboarding: Update homepage options call to use in-house namespace (https://github.com/woocommerce/woocommerce-admin/pull/3243) 2019-11-15 08:17:18 +08:00
Ron Rennick 4987b7a1a7 add REST routes for customers, handler for single customer (https://github.com/woocommerce/woocommerce-admin/pull/3174)
* add REST routes for customers, handler for single customer

* use customer id vs user_id, add collection link
2019-11-14 11:25:29 -04: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
Ron Rennick c716b8c399 capitalize WooCommerce Services (https://github.com/woocommerce/woocommerce-admin/pull/3249) 2019-11-14 10:35:28 -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
Albert Juhé Lluveras 503e63e6af Select control: fix misalignment and hide scroll bar (https://github.com/woocommerce/woocommerce-admin/pull/3215)
* Fix misalignment in select control

* Fix scroll appearing in Select Control
2019-11-14 09:49:32 +01:00
Joshua T Flowers 91b8ed366d Onboarding: Add the ability to toggle on or off the new onboarding (https://github.com/woocommerce/woocommerce-admin/pull/3230)
* Add on option to toggle on the new onboarding experience

* Add an option to toggle off the new onboarding experience

* Update todo comment to remove option on merge to core
2019-11-14 13:12:37 +08:00
Joshua T Flowers f2d41e8fd7 Onboarding: Remove notice to run the old setup wizard (https://github.com/woocommerce/woocommerce-admin/pull/3232) 2019-11-14 13:11:28 +08:00
Joshua T Flowers 87edceabf3 Fix header error in homepage template (https://github.com/woocommerce/woocommerce-admin/pull/3231) 2019-11-14 13:05:28 +08:00
Paul Sealock 360b0f1651 Release 0.22.0 changes (https://github.com/woocommerce/woocommerce-admin/pull/3221) 2019-11-14 09:09:17 +13:00
renovate[bot] afb74db8a3 Update dependency qs to v6.9.1 (https://github.com/woocommerce/woocommerce-admin/pull/3226) 2019-11-13 09:51:47 +01:00
renovate[bot] 089b5cca70 Update dependency lerna to v3.18.4 (https://github.com/woocommerce/woocommerce-admin/pull/3225) 2019-11-13 09:51:36 +01:00
renovate[bot] 237c2afe57 Update dependency copy-webpack-plugin to v5.0.5 (https://github.com/woocommerce/woocommerce-admin/pull/3223) 2019-11-13 09:51:27 +01:00
renovate[bot] 800875660a Update dependency @octokit/rest to v16.35.0 (https://github.com/woocommerce/woocommerce-admin/pull/3222) 2019-11-13 09:51:19 +01:00
Joshua T Flowers 6d9c37215a Add email marketing note if profiler is complete (https://github.com/woocommerce/woocommerce-admin/pull/3213) 2019-11-13 11:25:12 +08:00
Joshua T Flowers 000d666096 Add tax filtering to orders data (https://github.com/woocommerce/woocommerce-admin/pull/3197)
* Add tax rates filter to orders report

* Add tax rate filters to orders data store

* Add tax rate query filters to order stats data store

* Add tax rate orders link to taxes table
2019-11-13 11:22:06 +08:00
Ron Rennick fe3f819ee8 add order status filter to tax stats queries (https://github.com/woocommerce/woocommerce-admin/pull/3158) 2019-11-12 16:54:55 -04:00
Ron Rennick b2b1934eea remove deleted products, coupons from stats when order edited (https://github.com/woocommerce/woocommerce-admin/pull/3103)
* remove deleted products, couponsfrom stats when order edited

* sync with datastore refactor
2019-11-12 15:07:14 -04:00