Commit Graph

765 Commits

Author SHA1 Message Date
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