Commit Graph

3495 Commits

Author SHA1 Message Date
renovate[bot] 8f0b99c5c8 Update dependency moment to v2.24.0 (https://github.com/woocommerce/woocommerce-admin/pull/3818)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-10 20:41:44 +01:00
renovate[bot] 6791cc3714 Update dependency cross-env to v7.0.2 (https://github.com/woocommerce/woocommerce-admin/pull/3817)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-10 20:37:42 +01:00
Joshua T Flowers 8a83e62905 Use full width template for homepage in stores using Storefront (https://github.com/woocommerce/woocommerce-admin/pull/3846) 2020-03-10 10:14:18 +01:00
Job c2a39265d1 Fix/inconsistent wording downloads report (https://github.com/woocommerce/woocommerce-admin/pull/3844)
* Consistency with wording in Downloads tab

* User Name or username --> used Username consistently
* Ditto for "Order #"
* Only exception: Didn't add "Address" after IP in the table header to save space

* Updated the fixed title as well

* Removed "Title" again after comments
2020-03-10 10:53:01 +02:00
Timmy Crawford f5d0da0b19 Merge final `version/1.0` branch with `master` (https://github.com/woocommerce/woocommerce-admin/pull/3848)
* 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

* Enable taxes on automatic tax setup (https://github.com/woocommerce/woocommerce-admin/pull/3795)

* Update Country Labeling to Match Core (https://github.com/woocommerce/woocommerce-admin/pull/3790)

* Updated country labeling

Country labeling on Customer Report was updated

* Updated country labeling in other files

* remove .jitm-card notice padding (https://github.com/woocommerce/woocommerce-admin/pull/3814)

* OBW Connect: Fix requesting state (https://github.com/woocommerce/woocommerce-admin/pull/3786)

* OBW Connect: Fix requesting state

* pass down setIsPending

* setIspending propType

* defaultProps

* test

* Revert "test"

This reverts commit e921092b19401931cc1aec8ee84fa53c53b67f36.

* better comparison for redirect

* Fixes Taxes Report search bug and adds initial documentation. (https://github.com/woocommerce/woocommerce-admin/pull/3816)

* Initial Taxes Report documentation.

* Fix taxes endpoint search parameter.

* OBW: Fix retry plugin install button disappearing (https://github.com/woocommerce/woocommerce-admin/pull/3787)

* OBW: Fix retry plugin install btn disappearing

* try suggestion

* Revert "try suggestion"

This reverts commit 5b9386957a501ac3e729e5f16b0ee71c9d792859.

* Fix special character escaping in search. (https://github.com/woocommerce/woocommerce-admin/pull/3826)

* Properly prepare/escape special characters in Product search.

* Properly prepare/escape special characters in Coupon search.

* Properly prepare/escape special characters in Tax code search.

* Fix tracking on migrated options (https://github.com/woocommerce/woocommerce-admin/pull/3828)

* Don't track onboarding toggle if migrating options

* Prevent WC_Tracks from recording event post types not yet registered

* Activity Panels: Remove W Panel (https://github.com/woocommerce/woocommerce-admin/pull/3827)

* Remove W Notif Panel.

* Add back in trapping logic, and hide on non-embed pages.

* add npm run test:zip command (https://github.com/woocommerce/woocommerce-admin/pull/3823)

* add npm run test:zip command

* 1.0.0 release changes🎉 (https://github.com/woocommerce/woocommerce-admin/pull/3831)

* 1.0.0 release changes🎉

* changelog

* 0.26.1 changelog

* Add Report Extension Example: Add default props to ReportFilters (https://github.com/woocommerce/woocommerce-admin/pull/3830)

* ReportFilters component: Add sane defaults

* styles

* add required column

* add left join to sku ordering (https://github.com/woocommerce/woocommerce-admin/pull/3845)

* Deal with lint errors, and improperly merged files

* regenerate package-lock.json

* attempting to resolve package lock conflict.

Co-authored-by: Jeff Stieler <jeff.m.stieler@gmail.com>
Co-authored-by: Joshua T Flowers <joshuatf@gmail.com>
Co-authored-by: Ron Rennick <ron@ronandandrea.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-10 15:47:39 +13:00
Joshua T Flowers ad3b7cdb3f Onboarding: Redesign plugin benefits screen (https://github.com/woocommerce/woocommerce-admin/pull/3764)
* Remove header and header logo for non-stepper pages

* Add new WCS and Jetpack logo svg

* Update benefits card layout

* Update benefits list descriptions and images

* Add benefit card styling

* Update plugin actions and notice styling

* Remove TOS notice

* Fix styling for benefits on mobile

* Update plugin name strings

* Fix grid columns and alignment

* Update button text to start plugin installation
2020-03-10 00:16:21 +01:00
renovate[bot] 525718c3ba Update dependency react-docgen to v5.3.0 (https://github.com/woocommerce/woocommerce-admin/pull/3779)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-09 17:22:08 +01:00
renovate[bot] 7a36f862e5 Update dependency eslint-plugin-jest to v23.8.2 (https://github.com/woocommerce/woocommerce-admin/pull/3775)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-09 17:18:50 +01:00
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