Commit Graph

606 Commits

Author SHA1 Message Date
renovate[bot] 68247a28b8 Update dependency lint-staged to v10.1.7 (https://github.com/woocommerce/woocommerce-admin/pull/4171)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-24 16:24:23 -03:00
renovate[bot] 4924363167 Update dependency eslint-config-prettier to v6.11.0 (https://github.com/woocommerce/woocommerce-admin/pull/4170)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-24 16:19:22 -03:00
renovate[bot] 0589cf0ddb Update dependency webpack to v4.42.1 (https://github.com/woocommerce/woocommerce-admin/pull/4128)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-17 08:53:35 -07:00
renovate[bot] 67086d1dcd Update dependency recast to v0.19.0 (https://github.com/woocommerce/woocommerce-admin/pull/4127)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-17 08:46:49 -07:00
renovate[bot] 768e5d9789 Update dependency husky to v4.2.5 (https://github.com/woocommerce/woocommerce-admin/pull/4126)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-17 08:45:52 -07:00
renovate[bot] b1abe027da Update dependency prismjs to v1.20.0 (https://github.com/woocommerce/woocommerce-admin/pull/4078)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-17 08:44:39 -07:00
renovate[bot] 313ec22c6c Update dependency lint-staged to v10.1.4 (https://github.com/woocommerce/woocommerce-admin/pull/4077)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-17 08:41:02 -07:00
renovate[bot] 20319df0eb Update dependency eslint-loader to v3.0.4 (https://github.com/woocommerce/woocommerce-admin/pull/4076)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-16 14:00:08 -07:00
renovate[bot] cb2170f4d4 Update dependency d3-format to v1.4.4 (https://github.com/woocommerce/woocommerce-admin/pull/4075)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-16 13:21:02 -07:00
renovate[bot] 27c5e08315 Update dependency css-loader to v3.5.2 (https://github.com/woocommerce/woocommerce-admin/pull/4074)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-15 15:01:51 -07:00
renovate[bot] b2b26762ea Update dependency autoprefixer to v9.7.6 (https://github.com/woocommerce/woocommerce-admin/pull/4073)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-15 13:58:56 -07:00
renovate[bot] 90a898d971 Update dependency qs to v6.9.3 (https://github.com/woocommerce/woocommerce-admin/pull/4041)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-02 10:30:30 +10:00
renovate[bot] 782d2ac468 Update dependency lint-staged to v10.1.1 (https://github.com/woocommerce/woocommerce-admin/pull/4040)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-02 10:24:52 +10:00
renovate[bot] 414693983b Update dependency ast-types to v0.13.3 (https://github.com/woocommerce/woocommerce-admin/pull/4039)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-02 10:20:52 +10:00
renovate[bot] 2df51c5cbb Lock file maintenance (https://github.com/woocommerce/woocommerce-admin/pull/4025)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-01 12:27:32 +10:00
renovate[bot] 58e1f71183 Update dependency qs to v6.9.2 (https://github.com/woocommerce/woocommerce-admin/pull/3991)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-25 16:49:11 +13:00
renovate[bot] 66def04996 Update dependency marked to v0.8.2 (https://github.com/woocommerce/woocommerce-admin/pull/3990)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-25 16:43:09 +13:00
renovate[bot] d76923c87f Update dependency lint-staged to v10.0.9 (https://github.com/woocommerce/woocommerce-admin/pull/3988)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-25 16:41:57 +13:00
renovate[bot] e2b6c809fb Update dependency eslint-config-prettier to v6.10.1 (https://github.com/woocommerce/woocommerce-admin/pull/3987)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-25 16:41:22 +13:00
renovate[bot] 8823d98012 Update dependency autoprefixer to v9.7.5 (https://github.com/woocommerce/woocommerce-admin/pull/3986)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-25 16:40:15 +13:00
renovate[bot] a49d2489dc Update babel monorepo (https://github.com/woocommerce/woocommerce-admin/pull/3985)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-25 16:39:13 +13:00
renovate[bot] 7777a7b727 Update dependency sass-loader to v8 (https://github.com/woocommerce/woocommerce-admin/pull/3925)
* Update dependency sass-loader to v8

* Address node-sass webpack breaking changes

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Paul Sealock <psealock@gmail.com>
2020-03-24 14:15:45 +13:00
renovate[bot] f4252159fd Update dependency rimraf to v3 (https://github.com/woocommerce/woocommerce-admin/pull/3922)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-24 13:51:08 +13:00
renovate[bot] f35c263992 Update dependency grunt to v1.1.0 (https://github.com/woocommerce/woocommerce-admin/pull/3921)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-24 13:47:35 +13:00
renovate[bot] 961976969f Update dependency react-transition-group to v4 (https://github.com/woocommerce/woocommerce-admin/pull/3868)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-24 13:46:41 +13:00
renovate[bot] 82044af07c Update wordpress monorepo (https://github.com/woocommerce/woocommerce-admin/pull/3866)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-24 13:43:32 +13:00
renovate[bot] 33721c8085 Update storybook monorepo to v5.3.17 (https://github.com/woocommerce/woocommerce-admin/pull/3865)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-24 13:31:33 +13:00
renovate[bot] 47c0f5cba2 Update dependency eslint-plugin-react to v7.19.0 (https://github.com/woocommerce/woocommerce-admin/pull/3863)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-24 13:28:38 +13:00
Jeff Stieler 9dbd45e1d7 Bump version and add changelog entries. (https://github.com/woocommerce/woocommerce-admin/pull/3945) 2020-03-19 13:05:58 -06:00
Bec Scott 893aecfa4b Improve focus on task list (https://github.com/woocommerce/woocommerce-admin/pull/3796)
* Script that hides or shows menu items

* Hook up buttons to task list, hook up options to onboarding-experience to set up the menu

* Fix some little code style issues

* Remove LinkButton in favour of the existing Button in @wordpress/components

* Remove reference to removed style file

* Move menu experience script to /client/wp-admin-scripts to match current style

* Only load the onboarding menu experience script if onboarding is enabled

* Localise some strings

* Separate the "Setup" link from the existing items to avoid conflicts with extensions that modify the menu

* Use the item key instead of title to report back completed tasks

* Change from skip_option to reason to make this easier to grok

* Use existing woocommerce_task_list_hidden option instead of creating a new one

* Tweak options to get menu experience working again

* Simplify skip actions logic

* Preload woocommerce_task_list_do_this_later option

* Nicer event key names

* Clean  up the styling

* Remove wcSettings.onboarding check from the task items list in `customizable`

* Remove spinner from customizable

* Fix translated string for WooCommerce menu setup anchor

* Use predef color instead of a hard-coded hex code

* Remove superfluous ={ true } from markup

Co-authored-by: Rebecca Scott <me@becdetat.com>
2020-03-13 14:34:53 +10:00
Paul Sealock f863e8780e Changelog: Add Script (https://github.com/woocommerce/woocommerce-admin/pull/3800) (https://github.com/woocommerce/woocommerce-admin/pull/3857)
* Changelog: Add same script as blocks

* make it wc-admin friendly

* add label tags
2020-03-13 10:21:11 +13:00
renovate[bot] 06d8bfe37b Update dependency webpack to v4.42.0 (https://github.com/woocommerce/woocommerce-admin/pull/3820)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-10 20:52:13 +01:00
renovate[bot] 113107c418 Update dependency recast to v0.18.7 (https://github.com/woocommerce/woocommerce-admin/pull/3819)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-10 20:47:16 +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
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
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
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
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
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
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
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