Commit Graph

782 Commits

Author SHA1 Message Date
renovate[bot] 3b88df6a31 Update dependency dompurify to v2.1.1 (https://github.com/woocommerce/woocommerce-admin/pull/5221)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-02 17:38:38 +13:00
Sam Seay 0d6d0dd36f Improve the pre-commit hook setup for wc-admin (https://github.com/woocommerce/woocommerce-admin/pull/5233) 2020-10-02 17:38:13 +13:00
Renovate Bot f3441c866a Update dependency config to v3.3.2 2020-09-30 03:14:25 +00:00
Renovate Bot a51d5dc690 Update dependency @testing-library/react-hooks to v3.4.2 2020-09-30 01:53:32 +00:00
Renovate Bot feddd93d66 chore(deps): update dependency replace to v1.2.0 2020-09-23 08:40:42 +00:00
Renovate Bot 8a5ead6901 chore(deps): update dependency request-promise to v4.2.6 2020-09-23 06:35:37 +00:00
Renovate Bot 603ce733c7 chore(deps): update dependency recast to v0.20.3 2020-09-23 05:09:13 +00:00
Renovate Bot b425397af9 chore(deps): update dependency puppeteer to v5.3.1 2020-09-23 03:27:19 +00:00
Renovate Bot 88430d9787 chore(deps): update dependency lint-staged to v10.4.0 2020-09-23 02:19:10 +00:00
Renovate Bot 0e82edd912 chore(deps): update dependency @storybook/addon-console to v1.2.2 2020-09-23 01:22:00 +00:00
Renovate Bot a4ec2b94b0 Update dependency lint-staged to v10.3.0 2020-09-16 03:18:04 +00:00
Renovate Bot 054c3d59eb Update dependency ast-types to v0.14.2 2020-09-16 03:01:45 +00:00
Renovate Bot 0267a3a08d Update dependency @octokit/graphql to v4.5.6 2020-09-16 02:37:43 +00:00
renovate[bot] b82bb4bc3b Update dependency dompurify to v2.0.15 (https://github.com/woocommerce/woocommerce-admin/pull/5112)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-09 11:46:58 -04:00
renovate[bot] 81fb8c7baf Pin dependencies (https://github.com/woocommerce/woocommerce-admin/pull/5109)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-09 11:26:14 -04:00
Renovate Bot 86be861a61 Update dependency husky to v4.3.0 2020-09-09 03:28:02 +00:00
Renovate Bot 6d66901da8 Update babel monorepo to v7.11.6 2020-09-09 02:23:52 +00:00
Rua Haszard 2002c74289 Update Storybook to latest (https://github.com/woocommerce/woocommerce-admin/pull/5105)
* WIP - upgrade storybook via `npx sb upgrade`

* fix broken storybook build - use custom MiniCssExtractPlugin package

Co-authored-by: haszari <rua@automattic.com>
2020-09-09 07:54:42 +12:00
Bec Scott cd128488df Add initial end to end test suite (https://github.com/woocommerce/woocommerce-admin/pull/5028)
Co-authored-by: Ron Rennick <ron@ronandandrea.com>
Co-authored-by: Rebecca Scott <me@becdetat.com>
Co-authored-by: Sam Seay <samueljseay@gmail.com>
2020-09-04 14:31:09 +12:00
Paul Sealock 3c6483e842 Remove wc api 🎉 (https://github.com/woocommerce/woocommerce-admin/pull/5075)
* remove wc-api selects and constansts

* remove extendedItems dependence on wc-api

* remove wc-api

* PR feedback
2020-09-04 09:45:40 +12:00
renovate[bot] 9d95fe6c84 Update dependency dompurify to v2.0.14 (https://github.com/woocommerce/woocommerce-admin/pull/5071)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-03 14:36:25 +10:00
renovate[bot] 27927dd3c5 Update dependency lint-staged to v10.2.13 (https://github.com/woocommerce/woocommerce-admin/pull/5073)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-02 15:52:25 +12:00
Renovate Bot 0b864be6c8 Update dependency enzyme-adapter-react-16 to v1.15.4 2020-09-02 03:39:22 +00:00
Renovate Bot 6d147aa3fd Update babel monorepo to v7.11.5 2020-09-02 01:20:27 +00:00
renovate[bot] 394bf4db3c Update dependency babel-jest to v26.3.0 (https://github.com/woocommerce/woocommerce-admin/pull/5004)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-31 11:55:26 +12:00
renovate[bot] cad9379a76 Update dependency @testing-library/jest-dom to v5.11.4 (https://github.com/woocommerce/woocommerce-admin/pull/5044)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-26 15:35:08 +12:00
renovate[bot] 3bb3678451 Update dependency @babel/core to v7.11.4 (https://github.com/woocommerce/woocommerce-admin/pull/5042)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Paul Sealock <psealock@gmail.com>
2020-08-26 15:33:54 +12:00
renovate[bot] 6b5d6fb68e Update dependency ast-types to v0.14.1 (https://github.com/woocommerce/woocommerce-admin/pull/5047)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-26 15:25:09 +12:00
renovate[bot] ca138988ae Pin dependency @babel/plugin-proposal-class-properties to 7.10.4 (https://github.com/woocommerce/woocommerce-admin/pull/5041)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-26 15:20:06 +12:00
renovate[bot] 5a32526123 Update dependency @testing-library/react to v10.4.9 (https://github.com/woocommerce/woocommerce-admin/pull/5045)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-26 14:43:57 +12:00
renovate[bot] 7c66c885d5 Update dependency core-js to v3 (https://github.com/woocommerce/woocommerce-admin/pull/4174)
* Update dependency core-js to v3

* core-js paths

* update babel and jest presets

* remove unused jest preset

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Paul Sealock <psealock@gmail.com>
2020-08-24 09:35:46 +12:00
Daniel Bitzer d8098d6fd7 Adds `@woocommerce/tracks` package (https://github.com/woocommerce/woocommerce-admin/pull/5017)
* Add @woocommerce/tracks package.json

* Add @woocommerce/tracks .npmrc

* Move lib/tracks.js in to tracks package

* Add tracks package debug dependency

* Add readme for tracks package

* Add changelog for tracks package

* Add info about debugging and opt-ins to tracks package readme

* Load tracks package script

* Add tracks package to packages readme

* Add tracks package to webpack config

* Add tracks package external to starter-pack

* Replace lib/tracks uses with @woocommerce/tracks

* Update package-lock.json
2020-08-20 14:29:52 +09:30
Renovate Bot a42c124321 Update dependency @octokit/graphql to v4.5.4 2020-08-19 22:06:38 +00:00
renovate[bot] 69efe549fe Update dependency grunt to v1.3.0 (https://github.com/woocommerce/woocommerce-admin/pull/5008)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-19 15:54:23 +12:00
renovate[bot] 27c2d4d3af Update dependency enzyme-adapter-react-16 to v1.15.3 (https://github.com/woocommerce/woocommerce-admin/pull/5007)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-19 15:30:59 +12:00
renovate[bot] 2ca0182582 Update dependency moment-timezone-data-webpack-plugin to v1.3.0 (https://github.com/woocommerce/woocommerce-admin/pull/4843)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-13 15:55:09 +12:00
renovate[bot] 9a4d0b40f2 Pin dependencies (https://github.com/woocommerce/woocommerce-admin/pull/4870)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-13 15:53:47 +12:00
renovate[bot] 72dcbfd3b7 Update dependency qs to v6.9.4 (https://github.com/woocommerce/woocommerce-admin/pull/4930)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-13 15:40:43 +12:00
renovate[bot] 7320a0663c Update dependency autoprefixer to v9.8.6 (https://github.com/woocommerce/woocommerce-admin/pull/4927)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-13 15:28:04 +12:00
renovate[bot] 872aa2aa35 Update dependency @automattic/color-studio to v2.3.1 (https://github.com/woocommerce/woocommerce-admin/pull/4968)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-13 15:14:05 +12:00
renovate[bot] 7850c5f896 Update dependency prismjs to v1.21.0 [SECURITY] (https://github.com/woocommerce/woocommerce-admin/pull/4953)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-13 15:13:43 +12:00
renovate[bot] 82d50d5d3a Update dependency @octokit/graphql to v4.5.3 (https://github.com/woocommerce/woocommerce-admin/pull/4969)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-13 14:41:00 +12:00
renovate[bot] e50d6edb7c Update dependency node-sass to v4.14.1 (https://github.com/woocommerce/woocommerce-admin/pull/4844)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-13 14:35:46 +12:00
renovate[bot] d5abba63f7 Update dependency @testing-library/jest-dom to v5.11.3 (https://github.com/woocommerce/woocommerce-admin/pull/4970)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-13 13:06:15 +12:00
renovate[bot] 8c71e548ef Update dependency concurrently to v5.3.0 (https://github.com/woocommerce/woocommerce-admin/pull/4971)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-13 12:53:20 +12:00
Sam Seay 52b5fd693f Improve jest performance significantly by downgrading to 24.9.0 (https://github.com/woocommerce/woocommerce-admin/pull/4942)
Recently there have been significant slowdowns
of the test suite in Jest. I frequently had the test suite
taking 130-150 seconds to run.

After some exploration and trial/error I found that
https://github.com/facebook/jest/issues/9457 is likely the cause.

This was confirmed after the downgrade where I saw test runs drop
to an average of about 35 seconds per run.
2020-08-13 11:29:48 +12:00
Bec Scott 028e1fcab4 Post-release, update readme, bump versions to 1.6.0-dev (https://github.com/woocommerce/woocommerce-admin/pull/4950)
Co-authored-by: Rebecca Scott <me@becdetat.com>
2020-08-11 11:05:03 +10:00
renovate[bot] 56dec569b5 Update babel monorepo (https://github.com/woocommerce/woocommerce-admin/pull/4925)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-10 21:37:47 +12:00
renovate[bot] fd69c155fd Update dependency @testing-library/react to v10.4.8 (https://github.com/woocommerce/woocommerce-admin/pull/4929)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-06 12:05:04 +12:00
renovate[bot] 5b17866c03 Update dependency @testing-library/jest-dom to v5.11.2 (https://github.com/woocommerce/woocommerce-admin/pull/4872)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-04 16:19:10 +12:00
renovate[bot] b8784a6331 Update dependency @testing-library/react-hooks to v3.4.1 (https://github.com/woocommerce/woocommerce-admin/pull/4873)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-04 16:17:30 +12:00
Jeff Stieler 239b6c95b8 Fix use of Jetpack autoloader. (https://github.com/woocommerce/woocommerce-admin/pull/4920)
* Require the correct autoloader file.

* Include composer file when updating version numbers.

* Add notice for development builds not using JETPACK_AUTOLOAD_DEV.

* Only bump version numbers when preparing a release.
2020-08-04 13:13:48 +12:00
Paul Sealock 80f4a86515 Declare packages dependencies independently of main package.json (https://github.com/woocommerce/woocommerce-admin/pull/4874)
* create file declaration to packages

* bump wordpress/components in packages

* get format right
2020-07-30 13:51:15 +12:00
Darren Ethier dc5304823b Add @woocommerce/eslint-plugin (https://github.com/woocommerce/woocommerce-admin/pull/4714)
* add new woocommerce/eslint-plugin

* implement eslint-plugin (switch scripts to use wp-scripts etc)

* various linting fixes

* more lint fixes

* improve fix script

* more eslint fixes

* more eslint fixes

* temporary convert rules to warnings until they are all handled

* linting fixes

* update package-lock.json

* remove duplicates

* remove unnecessary `@wordpress/dependency-group` rule config

* add docs and adjust rules

* prettier fix

* fix merge artifact

* convert more rules to warnings

* change order to reflect importance

* install babel-preset-default

* remove unnecessary configuration for babel

* fix dependency group rule and test

* fix test

* handle collapsible whitespace

* add react testing library eslint plugin

* linter errors

* Add back in prettierrc

* package-lock update

* js lint fix with --fix

* disable whitespace in translation

* package-lock update

* make eslint actual dependency, not peer dependency

* pin eslint to v7

* I don't know why, but its working

* fix lint js

Co-authored-by: Paul Sealock <psealock@gmail.com>
2020-07-28 14:32:58 +12:00
Joshua T Flowers fe4fcf2467 Add the experimental resolver to WCA data package (https://github.com/woocommerce/woocommerce-admin/pull/4862)
* Add the experimental resolver to WCA data package

* Add note about function origin and deprecation
2020-07-27 17:07:39 -07:00
renovate[bot] 3ddb01620b Update dependency node-watch to v0.6.4 (https://github.com/woocommerce/woocommerce-admin/pull/4845)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-22 13:45:36 -04:00
renovate[bot] dd15d45585 Update dependency eslint-plugin-testing-library to v3.3.2 (https://github.com/woocommerce/woocommerce-admin/pull/4842)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-22 13:41:17 -04:00
renovate[bot] 975a07ec75 Update dependency @testing-library/jest-dom to v5.11.1 (https://github.com/woocommerce/woocommerce-admin/pull/4841)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-22 13:36:43 -04:00
renovate[bot] 582b820a23 Update dependency @octokit/graphql to v4.5.2 (https://github.com/woocommerce/woocommerce-admin/pull/4840)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-22 13:22:00 -04:00
Bec Scott 6ac2a5f74f Update versions (https://github.com/woocommerce/woocommerce-admin/pull/4846)
Co-authored-by: Rebecca Scott <me@becdetat.com>
2020-07-22 16:20:23 +10:00
renovate[bot] db169c9b06 Update dependency lint-staged to v10.2.11 (https://github.com/woocommerce/woocommerce-admin/pull/4812)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-17 14:21:45 +10:00
renovate[bot] c9afa72d49 Update dependency autoprefixer to v9.8.5 (https://github.com/woocommerce/woocommerce-admin/pull/4811)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-17 14:19:42 +10:00
renovate[bot] 6d5e0a5544 Update dependency @testing-library/react to v10.4.7 (https://github.com/woocommerce/woocommerce-admin/pull/4810)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-17 14:08:41 +10:00
renovate[bot] bad969456c Update babel monorepo to v7.10.5 (https://github.com/woocommerce/woocommerce-admin/pull/4809)
* Update babel monorepo to v7.10.5

* Update babel monorepo to v7.10.5

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Rebecca Scott <me@becdetat.com>
2020-07-17 12:29:37 +10:00
Sam Seay b448ff60b7 Update @wordpress/base-styles and replace deprecated variables (https://github.com/woocommerce/woocommerce-admin/pull/4759)
Fixes woocommerce/woocommerce-admin#4732

This updates `@wordpress/base-styles`, and because `@wordpress/components` depends on variables from it, that must be updated as well.

There are 3 major changes required as part of updating:

1. The $theme-color variable is no longer exposed by base-styles. Instead there are 3 css vars exposed. These are made available by use of a provided mixin. Situations where $theme-color was darkened using scss have been mapped as best as possible to the 2 other darkened shades of the css var that are available such as `--wp-admin-theme-color-darker-20` and `--wp-admin-theme-color-darker-10`. In some cases this means the colors are not exactly the same as before.

2. The post css `theme()` call is no longer available. All uses of this have been consolidated to use of the main theme css var `--wp-admin-theme-color`. This means that calls like `theme(secondary)` or `theme(outline)` etc have all been consolidated to the one color.

3. Many of the variables used for different shades of gray have been deprecated. These have been mapped across to the new gray variables. (Mapped according to the list described in woocommerce/woocommerce-admin#4732)
2020-07-17 12:11:42 +12:00
Timmy Crawford 2ebfa828b7 Post-Release: Sync readme changelog, bump versions to 1.4.0-dev. (https://github.com/woocommerce/woocommerce-admin/pull/4780)
* Post-Release: Sync readme changelog, bump versions to 1.4.0-dev.

* Adding in missing changelog item.

* readme updates
2020-07-14 07:24:52 -07:00
renovate[bot] a476991d9f Pin dependencies (https://github.com/woocommerce/woocommerce-admin/pull/4676)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-08 16:09:54 +12:00
renovate[bot] 4a3aeb0e49 Update dependency @octokit/graphql to v4.5.1 (https://github.com/woocommerce/woocommerce-admin/pull/4678)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-08 16:09:19 +12:00
renovate[bot] 9ecb76635f Update dependency @testing-library/jest-dom to v5.11.0 (https://github.com/woocommerce/woocommerce-admin/pull/4679)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-08 15:24:49 +12:00
renovate[bot] 1ac65a6548 Update babel monorepo to v7.10.4 (https://github.com/woocommerce/woocommerce-admin/pull/4677)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-08 15:16:10 +12:00
renovate[bot] 27ba7cc64c Update dependency grunt to v1.2.1 (https://github.com/woocommerce/woocommerce-admin/pull/4772)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-08 15:08:55 +12:00
renovate[bot] 6e0400c16d Update dependency @testing-library/react to v10.4.4 (https://github.com/woocommerce/woocommerce-admin/pull/4723)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Paul Sealock <psealock@gmail.com>
2020-07-08 15:04:23 +12:00
renovate[bot] 1399dce286 Update dependency eslint-plugin-react to v7.20.3 (https://github.com/woocommerce/woocommerce-admin/pull/4769)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Paul Sealock <psealock@gmail.com>
2020-07-08 15:03:37 +12:00
renovate[bot] b0b3d3d32a Update dependency @testing-library/react-hooks to v3.3.0 (https://github.com/woocommerce/woocommerce-admin/pull/4724)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-08 14:25:11 +12:00
renovate[bot] 25e242e67a Update dependency eslint-plugin-testing-library to v3.3.1 (https://github.com/woocommerce/woocommerce-admin/pull/4770)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-08 14:22:57 +12:00
renovate[bot] 739a801c2e Update dependency autoprefixer to v9.8.4 (https://github.com/woocommerce/woocommerce-admin/pull/4726)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-08 13:22:30 +12:00
renovate[bot] 1562993b81 Update dependency dompurify to v2.0.12 (https://github.com/woocommerce/woocommerce-admin/pull/4727)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-08 13:20:39 +12:00
renovate[bot] 78c9f079b5 Update dependency eslint-plugin-jsx-a11y to v6.3.1 (https://github.com/woocommerce/woocommerce-admin/pull/4768)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-08 13:09:43 +12:00
renovate[bot] 26189b164a Update dependency eslint-plugin-jest to v23.18.0 (https://github.com/woocommerce/woocommerce-admin/pull/4728)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-08 12:53:55 +12:00
renovate[bot] 7aa053a133 Update dependency css-loader to v3.6.0 (https://github.com/woocommerce/woocommerce-admin/pull/4612)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-18 14:46:20 +03:00
renovate[bot] 47464c9458 Update dependency @testing-library/user-event to v10.4.1 (https://github.com/woocommerce/woocommerce-admin/pull/4488)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-16 10:45:01 -04:00
Timmy Crawford 204723caf5 Release 1.3.0-beta.1 (https://github.com/woocommerce/woocommerce-admin/pull/4587)
* Release 1.3.0-beta.1

* udpate changelog with '@'

Co-authored-by: Paul Sealock <psealock@gmail.com>
2020-06-16 19:58:24 +12:00
Paul Sealock fd78bca347 Theme color: Use dynamic variable from user preferences (https://github.com/woocommerce/woocommerce-admin/pull/4558) 2020-06-15 14:00:25 +12:00
renovate[bot] e7ea3757e2 Update dependency lerna to v3.22.1 (https://github.com/woocommerce/woocommerce-admin/pull/4540)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-12 17:58:58 -07:00
renovate[bot] 1b0053f3b0 Update dependency eslint-plugin-testing-library to v3.2.3 (https://github.com/woocommerce/woocommerce-admin/pull/4539)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-12 16:32:53 -07:00
renovate[bot] 7f431937e5 Update dependency @testing-library/react to v10.2.1 (https://github.com/woocommerce/woocommerce-admin/pull/4487)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-12 16:08:42 -07:00
renovate[bot] 6ad560bf15 Update babel monorepo (https://github.com/woocommerce/woocommerce-admin/pull/4446)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-12 15:44:33 -07:00
renovate[bot] 2a17cec273 Update dependency @testing-library/jest-dom to v5.10.0 (https://github.com/woocommerce/woocommerce-admin/pull/4486)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-11 09:08:24 -07:00
renovate[bot] 2c56f6b843 Update dependency eslint-plugin-jest to v23.13.2 (https://github.com/woocommerce/woocommerce-admin/pull/4489)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-11 09:05:32 -07:00
Jeff Stieler 9be6bdd841 Fix loading of RTL styles in chunks. (https://github.com/woocommerce/woocommerce-admin/pull/4542) 2020-06-10 18:06:17 -05:00
renovate[bot] 30a9c32c85 Update dependency docsify-cli to v4.4.1 (https://github.com/woocommerce/woocommerce-admin/pull/4537)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-10 15:25:39 -07:00
renovate[bot] 310fc37294 Update dependency chalk to v4.1.0 (https://github.com/woocommerce/woocommerce-admin/pull/4536)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-10 14:59:13 -07:00
renovate[bot] 3cfdd70083 Pin dependencies (https://github.com/woocommerce/woocommerce-admin/pull/4445)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-10 14:38:59 -07:00
Jeff Stieler 8a2750c973 Migrate user store to wp.data (https://github.com/woocommerce/woocommerce-admin/pull/4505)
* Initial user preferences custom hook (wc meta).

* Organize dependencies.

* Specify dependencies in useSelect() call.

* Remove specifying preference keys.

There's currently no performance benefit to be had.

* Add HoC for hydrating current user data.

* Add user prefs update method.

* Export user prefs hook and HoC in data package.

* Handle error condition when updating user preferences.

* Use closure to get user ID for prefs update.

* Refactor analytics dashboard to use new user hook.

* Refactor ReportTable component to use new user hook.

* Move prop access to top of function component.

* Add todo for potential manual resolution logic.

* Refactor DashboardCharts component to use new user preferences hook.

* Move code out of functional component where possible.

* Fix chart interval query property.

* Refactor Leaderboards component to use new user preferences hook.

* Move code out of functional component where possible.

* Refactor Inbox panel to use user prefs hook.

@todo - updating last read isn't working.

* Use user prefs hook in StatsOverview component.

* Export user preferences store name.

* Use new store for unread inbox indicator.

* Hydrate current user data higher up in the app.

* Update "last read" timestamp in inbox panel.

* Fix StatsOverview test.

* Remove unused dispatch method from StorePerformance component.

* Remove now defunct user methods from wc-api spec.

* Add tests for isRequesting.

* JSON decode WC meta on updated user object.

* Test user prefs retrieval and save.

* Remove todo comment.

* Use user prefs hook in Jetpack install CTA on homepage.
2020-06-10 11:46:46 -05:00
Fernando e19d3cfbd4 Update version to 1.2.3 and adjust changelog (https://github.com/woocommerce/woocommerce-admin/pull/4435)
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2020-06-10 10:22:28 -03:00
Paul Sealock 134be1c08b Update/@wordpress components base styles (https://github.com/woocommerce/woocommerce-admin/pull/4427) 2020-06-10 13:55:06 +12:00
Jeff Stieler 3c8490c26b Add existing TaskList component to new home screen (https://github.com/woocommerce/woocommerce-admin/pull/4378)
* Move TaskList component up in directory tree.

* Render the TaskList on the new home screen.

* Render single tasks in isolation on new home screen.

* Fix "is requesting" selection for options API.

* Add loading placeholder for TaskList.

* Add initial test for the task list on the home screen.

* Fix dynamic imports under test.

* Add test for inline TaskList on home screen.

* Test that single task view works on new home screen.

* Restore Jest mocks between tests.

* Fix linting errors.
2020-05-21 11:15:08 -06:00
renovate[bot] 0165d7ce0c Update dependency eslint-plugin-react to v7.20.0 (https://github.com/woocommerce/woocommerce-admin/pull/4407)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-21 10:58:24 +10:00
renovate[bot] ec20a11c91 Update dependency eslint-plugin-jest to v23.13.1 (https://github.com/woocommerce/woocommerce-admin/pull/4406)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-21 10:55:37 +10:00
renovate[bot] ac67a958a4 Update dependency emoji-flags to v1.3.0 (https://github.com/woocommerce/woocommerce-admin/pull/4405)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-21 10:53:46 +10:00