Commit Graph

846 Commits

Author SHA1 Message Date
Renovate Bot fc5cf8013b Update dependency raw-loader to v4.0.2 2020-12-23 02:46:40 +00:00
Adrian Duffell 9a0ffaeca7 Add Docker app for PHP Test Suite (https://github.com/woocommerce/woocommerce-admin/pull/5297) 2020-12-17 21:02:10 +08:00
Renovate Bot 57cfae76e7 chore(deps): update dependency promptly to v3.2.0 2020-12-16 07:52:47 +00:00
Renovate Bot f1fefe1d34 chore(deps): update dependency node-watch to v0.7.1 2020-12-16 06:35:33 +00:00
Renovate Bot 9a19f83ab1 chore(deps): update dependency lint-staged to v10.5.3 2020-12-16 05:14:46 +00:00
Renovate Bot f3ccda4366 chore(deps): update dependency husky to v4.3.6 2020-12-16 04:34:59 +00:00
Renovate Bot 85c90af1ec chore(deps): update dependency @testing-library/user-event to v12.6.0 2020-12-16 03:57:07 +00:00
Renovate Bot a392ffb631 chore(deps): update babel monorepo 2020-12-16 01:37:47 +00:00
Renovate Bot 73377a08a3 Update dependency @octokit/graphql to v4.5.8 2020-12-14 00:29:26 +00:00
renovate[bot] d8da6a9872 Update dependency @testing-library/user-event to v12.5.0 (https://github.com/woocommerce/woocommerce-admin/pull/5847)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-14 11:10:57 +13:00
renovate[bot] bdd567bf6d Update dependency dompurify to v2.2.3 (https://github.com/woocommerce/woocommerce-admin/pull/5852)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-14 10:32:00 +13:00
Renovate Bot 65160f7c81 Update dependency husky to v4.3.5 2020-12-09 04:35:56 +00:00
Renovate Bot 9a44a93edb Update dependency cross-env to v7.0.3 2020-12-09 03:38:47 +00:00
Renovate Bot e922b86d84 Update dependency @testing-library/react-hooks to v3.7.0 2020-12-09 02:32:04 +00:00
Renovate Bot e778a3c0fc Update dependency config to v3.3.3 2020-12-02 06:34:44 +00:00
Renovate Bot ce5f59b5fe Update dependency babel-loader to v8.2.2 2020-12-02 05:58:43 +00:00
Renovate Bot 27f2fdd6b2 Pin dependency md5 to 2.3.0 2020-12-02 04:42:45 +00:00
Renovate Bot 4726703a3c Update dependency @testing-library/user-event to v12.3.0 2020-12-02 03:13:17 +00:00
Jeff Stieler 4ad17adf36 Generate MD5 hashes without bundling all of Node crypto. (https://github.com/woocommerce/woocommerce-admin/pull/5768)
Reduces the build by 1.2MB.
2020-12-01 20:17:02 -05:00
renovate[bot] ad3659a123 Update dependency dompurify to v2.2.2 (https://github.com/woocommerce/woocommerce-admin/pull/5737)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-26 14:58:56 +13:00
renovate[bot] b4e309f964 Update dependency debug to v4.3.1 (https://github.com/woocommerce/woocommerce-admin/pull/5735)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-26 13:17:22 +13:00
Renovate Bot bd668b6e98 Update dependency lint-staged to v10.5.2 2020-11-25 04:16:06 +00:00
Renovate Bot 2ece86b3fe Update dependency docsify-cli to v4.4.2 2020-11-25 03:55:19 +00:00
Renovate Bot 69186515a7 Update dependency @testing-library/react to v11.2.2 2020-11-25 01:26:45 +00:00
Renovate Bot a68deed8d3 Update babel monorepo 2020-11-25 00:56:04 +00:00
renovate[bot] 0718343d11 Update dependency core-js to v3.7.0 (https://github.com/woocommerce/woocommerce-admin/pull/5667)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-25 08:48:14 +13:00
Sam Seay 363e3386e8 Install puppeteer just once (https://github.com/woocommerce/woocommerce-admin/pull/5713)
Remove unused direct dep on puppeteer and use npm dedupe to reduce puppeteer installs to 1
2020-11-24 10:52:03 +13:00
Sam Seay 564a4ffddb Remove unused dependencies, convert buildScss to async. (https://github.com/woocommerce/woocommerce-admin/pull/5715) 2020-11-24 09:21:16 +13:00
renovate[bot] e50d4a8442 Update dependency @testing-library/react to v11.2.0 (https://github.com/woocommerce/woocommerce-admin/pull/5663)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-19 12:30:06 +10:00
Sam Seay ebddffb8e8 Post 1.7.0 beta release chores (https://github.com/woocommerce/woocommerce-admin/pull/5558)
* Bump versions to 1.8.0-dev
* Update changelog for 1.7.0
2020-11-19 08:36:45 +13:00
Renovate Bot e80584733a Update dependency babel-loader to v8.2.1 2020-11-18 03:54:23 +00:00
Renovate Bot 970cf81892 Update dependency @testing-library/jest-dom to v5.11.6 2020-11-18 01:49:26 +00:00
Renovate Bot 9ffabb8d13 Update dependency @testing-library/user-event to v12.2.2 2020-11-11 07:31:43 +00:00
Renovate Bot ccb38910cc Update dependency babel-jest to v26.6.3 2020-11-11 03:51:03 +00:00
Bec Scott 4cde62561a Copy the snackbar component from Gutenberg into wp-admin (https://github.com/woocommerce/woocommerce-admin/pull/5532)
* Copy the snackbar component from Gutenberg into wp-admin

* Copy @wordpress/data in from Gutenberg

Co-authored-by: Rebecca Scott <me@becdetat.com>
2020-11-09 17:17:08 +10:00
renovate[bot] dbd7c823f6 Update babel monorepo to v7.12.5 (https://github.com/woocommerce/woocommerce-admin/pull/5525)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-05 13:50:38 +13:00
Renovate Bot a3f1fd2d5b Update dependency babel-jest to v26.6.2 2020-11-04 02:54:11 +00:00
Renovate Bot 32fe882069 Update dependency @testing-library/react to v11.1.1 2020-11-04 02:39:42 +00:00
Renovate Bot 84bd8b75dd Update dependency @octokit/graphql to v4.5.7 2020-11-04 01:51:43 +00:00
Bec Scott f29995124c Basic customer effort score survey functionality (https://github.com/woocommerce/woocommerce-admin/pull/5324)
* Spike out customer effort score

* Refactor CustomerEffortScore as Package (https://github.com/woocommerce/woocommerce-admin/pull/5342)

* Tidy up _webpack.config.js

* Fix linter issues

* refactor setting up CES tracking, add try..catch around loading from localStorage

* Add CES feature toggle (https://github.com/woocommerce/woocommerce-admin/pull/5387)

* Add feature toggle to only enable the customer effort score in development

* Move check into Loader

* fix logic 🙄

Co-authored-by: Rebecca Scott <me@becdetat.com>

* Add client-side check of the feature flag

* fix tabs in config

* Fix comment

* Use product lifecycle and options

* Add product count to tracks props

* Use Loader::load_features instead of DIY

Co-authored-by: Rebecca Scott <me@becdetat.com>
Co-authored-by: Adrian Duffell <9312929+adrianduffell@users.noreply.github.com>
2020-10-30 16:52:52 +10:00
renovate[bot] 590c58a5de Update dependency dompurify to v2.2.0 (https://github.com/woocommerce/woocommerce-admin/pull/5484)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Sam Seay <samueljseay@gmail.com>
2020-10-30 08:48:59 +13:00
renovate[bot] c2576c06d5 Update dependency lint-staged to v10.5.0 (https://github.com/woocommerce/woocommerce-admin/pull/5486)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Sam Seay <samueljseay@gmail.com>
2020-10-30 08:34:42 +13:00
renovate[bot] d7d8b321fb Update dependency promptly to v3.1.0 (https://github.com/woocommerce/woocommerce-admin/pull/5487)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Sam Seay <samueljseay@gmail.com>
2020-10-30 08:34:13 +13:00
Renovate Bot 2b8c7f8976 Update dependency babel-jest to v26.6.1 2020-10-29 02:49:22 +00:00
renovate[bot] 140a9895e6 Update dependency @testing-library/user-event to v12.1.10 (https://github.com/woocommerce/woocommerce-admin/pull/5481)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Rebecca Scott <me@becdetat.com>
2020-10-29 12:11:26 +10:00
renovate[bot] 7f67bccb5b Update dependency @woocommerce/e2e-environment to v0.1.6 (https://github.com/woocommerce/woocommerce-admin/pull/5444)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-22 14:12:58 +10:00
renovate[bot] 29f6bcc126 Update babel monorepo (https://github.com/woocommerce/woocommerce-admin/pull/5439)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-22 12:19:55 +10:00
Renovate Bot 0d264cf22e Update dependency lint-staged to v10.4.2 2020-10-21 05:36:36 +00:00
Renovate Bot 098c9cb88a Update dependency babel-jest to v26.6.0 2020-10-21 04:11:56 +00:00
Renovate Bot 439cb7923a Update dependency @testing-library/user-event to v12.1.9 2020-10-21 02:49:26 +00:00
Renovate Bot 66aab27da8 Update dependency @testing-library/react to v11.1.0 2020-10-21 01:32:09 +00:00
Timmy Crawford 016f4cc2d9 Update version to 1.7.0-dev. (https://github.com/woocommerce/woocommerce-admin/pull/5397) 2020-10-15 13:18:02 -07:00
Jeff Stieler 7ca9e691d4 Migrate Enzyme tests to React Testing Library (https://github.com/woocommerce/woocommerce-admin/pull/5299)
* Migrate leaderboard tests to RTL.

* Remove test of default prop value.

* Migrate ReportSummary tests to RTL.

* Migrate ActivityCard tests to RTL.

* Migrate ActivityCardPlaceholder tests to RTL.

* Migrate remaining ProductType tests to RTL.

* Migrate Card tests to RTL.

* Update RTL and user event packages.

* Migrate Date tests to RTL.

* Migrate D3Legend tests to RTL.

* Migrate D3Base tests to RTL.

* Migrate Gravatar tests to RTL.

* Migrate ImageUpload tests to RTL.

* Migrate ProductImage tests to RTL.

* Migrate Rating tests to RTL.

* Migrate Search tests to RTL.

* Migrate Plugins tests to RTL.

* Migrate SelectControl tests to RTL.

* Migrate Timeline tests to RTL.

Remove tests that inspect DOM since there are snapshots.

* Migrate DismissModal tests to RTL.

* Migrate SetupNotice tests to RTL.

* Migrate WelcomeCard tests to RTL.

* Fix setup error reason retrieval in ShippingBanner.

* Migrate ShippingBanner tests to RTL.

* Migrate RecommendedExtensions tests to RTL.

* Migrate KnowledgeBase tests to RTL.

* Rename enzyme setup file, modify to setup RTL.

* No need to import jest-dom in test files.

* Remove enzyme dependency.

* Use snapshot for testing Leaderboard markup.

* Switch from "not to be empty" to "be in the document".

* No need to waitFor() recordEvent mock.

* Be specific about clicking the "hide" button.

* Use toBeVisible() instead of checking style property.
2020-10-15 08:41:39 -04:00
Sam Seay fc030fb007 Migrate the devdocs examples to Storybook CSF stories (https://github.com/woocommerce/woocommerce-admin/pull/5271)
Fixes woocommerce/woocommerce-admin#5234
2020-10-15 14:55:55 +13:00
renovate[bot] eb91d413eb Update dependency enzyme-to-json to v3.6.1 (https://github.com/woocommerce/woocommerce-admin/pull/5368)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-15 11:11:42 +13:00
renovate[bot] 17c9c05c3d Pin dependency @wordpress/plugins to 2.22.0 (https://github.com/woocommerce/woocommerce-admin/pull/5366)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-15 09:59:53 +13:00
renovate[bot] 51b23130df Update dependency prismjs to v1.22.0 (https://github.com/woocommerce/woocommerce-admin/pull/5372)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-15 09:53:40 +13:00
Renovate Bot b6953260ab Update dependency node-watch to v0.7.0 2020-10-14 04:36:13 +00:00
Paul Sealock ad7cf64303 Navigation: Add client code (https://github.com/woocommerce/woocommerce-admin/pull/5309)
* is_feature_enabled

* feature class

* copy/paste

* hooked up

* its alive

* add wc-admin items

* clean up entry point

* Analytics remove url

* rebase error

* add back in check is_feature_enabled

* specificity CSS
2020-10-13 14:40:53 +13:00
Paul Sealock 319923f435 Test Zips: make sure assets are up to date (https://github.com/woocommerce/woocommerce-admin/pull/5313)
* cleand and composer install

* better
2020-10-13 11:00:54 +13:00
Paul Sealock 52137fe3fa bump wp components and base styles (https://github.com/woocommerce/woocommerce-admin/pull/5293) 2020-10-09 12:10:32 +13:00
Renovate Bot a5bb7688bf Update dependency enzyme-adapter-react-16 to v1.15.5 2020-10-07 01:26:59 +00:00
Renovate Bot e5b85e7a90 Update dependency babel-jest to v26.5.2 2020-10-07 01:19:28 +00:00
renovate[bot] 5c49051dcf Update dependency debug to v4.2.0 (https://github.com/woocommerce/woocommerce-admin/pull/5220)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-05 17:43:29 +13:00
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