Commit Graph

945 Commits

Author SHA1 Message Date
Renovate Bot e8e04d2e2a Update dependency @testing-library/react to v11.2.6 2021-04-07 03:07:07 +00:00
Sam Seay 9dd75e83f8 Improve page object encapsulation, refactor e2e suite, add more e2e tests. (https://github.com/woocommerce/woocommerce-admin/pull/6682) 2021-04-05 12:09:36 +12:00
Renovate Bot 3b02fa02a5 Update dependency @testing-library/jest-dom to v5.11.10 2021-03-31 03:48:00 +00:00
Renovate Bot 6722a2b0ce Update babel monorepo to v7.13.14 2021-03-31 02:58:32 +00:00
Renovate Bot 64dc45d438 Pin dependency @types/wordpress__components to 9.8.6 2021-03-31 01:55:12 +00:00
Adrian Duffell a5e14e9fb2 Add TypeScript to CustomerFeedbackModal (https://github.com/woocommerce/woocommerce-admin/pull/6498)
* Add types

* Add type definitions for @wordpress/components

* Fix formatting

* Fix JSX return type

* Fix incorect type for rows

* Add null to return type for react component

* Add type definitions for @wordpress/components to main package

* Add changelog entry

* Remove TS filename from import

* Re-add @types/wordpress__components
2021-03-30 20:04:08 +08:00
renovate[bot] 5a215e7ff4 Update dependency dompurify to v2.2.7 (https://github.com/woocommerce/woocommerce-admin/pull/6608)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-03-30 14:17:01 +10:00
renovate[bot] 889b8619b7 Pin dependencies (https://github.com/woocommerce/woocommerce-admin/pull/6605)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-03-30 14:05:58 +10:00
Sam Seay cc01b9816e Fix TypeScript build for `packages` and add types for wc/data's onboarding store (https://github.com/woocommerce/woocommerce-admin/pull/6595) 2021-03-25 10:29:37 +13:00
Renovate Bot 7a4cfa909a Update dependency @typescript-eslint/eslint-plugin to v4.19.0 2021-03-24 10:09:48 +00:00
Renovate Bot 032613d485 Update babel monorepo to v7.13.12 2021-03-24 04:48:50 +00:00
renovate[bot] cb4e300ee6 Update dependency fork-ts-checker-webpack-plugin to v6.2.0 (https://github.com/woocommerce/woocommerce-admin/pull/6655)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-03-24 15:50:23 +13:00
renovate[bot] b47698bf4f Update dependency @automattic/color-studio to v2.5.0 (https://github.com/woocommerce/woocommerce-admin/pull/6606)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-03-24 11:08:17 +13:00
renovate[bot] f45ec227c5 Update dependency autoprefixer to v10.2.5 (https://github.com/woocommerce/woocommerce-admin/pull/6548)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-03-19 12:03:16 +10:00
Paul Sealock b7360d0d55 Add typescript to Nav utils (https://github.com/woocommerce/woocommerce-admin/pull/6477)
* Add typescript to nav utils--no-verify

* save

* progress

* fixup category

* better

* getting closer

* grrr

* appease the type gods

* move types to start of page

* Fixup addHistoryListener

* Add typescript to nav utils--no-verify

* save

* progress

* fixup category

* better

* fix tsconfig

* changelog

* add babel jest typescript preset for tests

* fix rebase issue

* PR feedabck

* update package-lock

* eslint fix
2021-03-18 16:38:38 +13:00
renovate[bot] b6c9527d3b Update dependency copy-webpack-plugin to v5.1.2 (https://github.com/woocommerce/woocommerce-admin/pull/6496)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-03-18 13:01:51 +10:00
louwie17 9b180db614 Add Typescript and page objects to E2E suite (https://github.com/woocommerce/woocommerce-admin/pull/6582)
* Initial playwright

* Updated e2e to use playwright and typescript

* Update set up environment and jest package

* Add changelog

* Add await to uncheck

* Fix formatting

* Revert jset back to ~24, as >25 runs slower, see facebook/jestwoocommerce/woocommerce-admin#9457

* Removed some unnecessary uses of waitForSelector

* Fix eslint issue

* Fix the e2e tests with latest updates

* Running most tests, with typescript now

* Fix any outstanding queries for the tests to work

* Update changelog

* Remove unnecessary jest version and unnecessary transform setting

* Fix test case broken after rebase

* Add fix to make e2e tests more robust

* Making sure dropdown value is correct

* Reove the wcpay condition for features number
2021-03-17 16:22:09 -03:00
Paul Sealock 7c61e2bff9 Hook Reference: Automate a reference resource (https://github.com/woocommerce/woocommerce-admin/pull/6454)
* read sample doc

* npm cli

* work with arrays

* Its happening

* better naming

* cleanup

* moar cleanup

* new line

* better

* save

* fixup rebase error

* package lock update

* node 12 usage

* add changelog

* fancy logs

* update package lock

* changelog in right place
2021-03-17 13:27:26 +13:00
renovate[bot] fde0341fb2 Update dependency @testing-library/user-event to v12.8.3 (https://github.com/woocommerce/woocommerce-admin/pull/6494)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-03-16 12:03:24 +08:00
renovate[bot] 2f930c144c Update dependency docsify-cli to v4.4.3 (https://github.com/woocommerce/woocommerce-admin/pull/6550)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-03-16 11:14:20 +13:00
renovate[bot] 9c5ce74247 Pin dependencies (https://github.com/woocommerce/woocommerce-admin/pull/6353)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-03-11 12:40:23 +10:00
louwie17 cb3c1e88e8 Add tilde (~) option for client root directory (https://github.com/woocommerce/woocommerce-admin/pull/6517)
* Add tilde option for client root directory

* Support tilde start as internal to fix lint issues

* Update baseUrl and paths so auto complete works correctly

* Add changelogs

* Add eslint support for webpack resolvers

Co-authored-by: Matt Sherman <matt@jam123.com>
2021-03-10 11:11:37 -04:00
renovate[bot] 53812966ac Update dependency webpack-fix-style-only-entries to v0.6.1 (https://github.com/woocommerce/woocommerce-admin/pull/6551)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-03-10 15:39:02 +13:00
renovate[bot] e99fc3488a Update dependency config to v3.3.6 (https://github.com/woocommerce/woocommerce-admin/pull/6495)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-03-09 12:57:14 +13:00
renovate[bot] 19a13ae09c Update dependency core-js to v3.9.1 (https://github.com/woocommerce/woocommerce-admin/pull/6497)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-03-05 16:19:30 +13:00
Sam Seay 630f31ae9d Clean up unused deps and add TS to the build. (https://github.com/woocommerce/woocommerce-admin/pull/6441) 2021-03-01 16:01:22 +13:00
Paul Sealock 101df3b019 Add Dependency Extraction Webpack Plugin (https://github.com/woocommerce/woocommerce-admin/pull/5762)
* Add woo flavored DEWP

* clean up webpack config

* clean

* marketing coupons

* onboarding scripts

* nav scripts

* better imports of deps

* add asset files to bundle

* under git rebase conflict error

* try order

* Add wp_set_script_translations to the scripting loop

* changelog
2021-03-01 12:48:52 +13:00
Joel Thiessen 66a5c3f42b Checking if navigation is in the process of being enabled while initializing (https://github.com/woocommerce/woocommerce-admin/pull/6462) 2021-02-26 15:12:45 -08:00
renovate[bot] e7994f549e Update dependency @woocommerce/number to v2.1.0 (https://github.com/woocommerce/woocommerce-admin/pull/6439)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-25 16:37:41 +13:00
renovate[bot] c9e7ad7dcf Update dependency @testing-library/react to v11.2.5 (https://github.com/woocommerce/woocommerce-admin/pull/6434)
* Update dependency @testing-library/react to v11.2.5
* Move the react testing library to dev deps in CES package.
2021-02-24 15:08:42 +13:00
renovate[bot] c794b745f0 Update dependency @testing-library/user-event to v12.7.3 (https://github.com/woocommerce/woocommerce-admin/pull/6436)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-24 15:08:01 +13:00
renovate[bot] 2a1565eb72 Update dependency lint-staged to v10.5.4 (https://github.com/woocommerce/woocommerce-admin/pull/6437)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-24 15:07:39 +13:00
Sam Seay 27989ec4f2 Update client and packages builds to use corejs 3 and latest wp babel preset (https://github.com/woocommerce/woocommerce-admin/pull/6411) 2021-02-24 14:24:22 +13:00
Paul Sealock 3483f1930e Navigation: Add test to container component (https://github.com/woocommerce/woocommerce-admin/pull/6344)
* getCategoriesMap

* getMenuItemsByCategory

* changelog
2021-02-18 13:06:28 -05:00
Hsing-Yu Flowers 1fc78d93c9 Refactor panel with withFocusOutside (https://github.com/woocommerce/woocommerce-admin/pull/6233)
* Refactor panel with withFocusOutside

* Remove react-click-outside dependency

* Handle PR feedback

* Handle PR feedback-2
2021-02-16 15:01:11 -05:00
renovate[bot] 85292b6b19 Lock file maintenance (https://github.com/woocommerce/woocommerce-admin/pull/6338)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-15 18:17:12 +13:00
Bec Scott 1ada698dfb Bump versions (https://github.com/woocommerce/woocommerce-admin/pull/6321) 2021-02-12 06:49:48 +13:00
renovate[bot] 8c9235096c Update wordpress monorepo (https://github.com/woocommerce/woocommerce-admin/pull/6013)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lourens Schep <lourensschep@gmail.com>
Co-authored-by: Sam Seay <samueljseay@gmail.com>
2021-02-11 10:52:39 +13:00
renovate[bot] 0a3d5404bb chore(deps): update dependency @automattic/color-studio to v2.4.0 (https://github.com/woocommerce/woocommerce-admin/pull/6301)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-10 15:47:03 +13:00
renovate[bot] d9a382c528 chore(deps): update dependency @octokit/graphql to v4.6.0 (https://github.com/woocommerce/woocommerce-admin/pull/6302)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-10 15:46:34 +13:00
renovate[bot] 6a137b7bf1 chore(deps): update dependency @storybook/addon-console to v1.2.3 (https://github.com/woocommerce/woocommerce-admin/pull/6303)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-10 15:46:13 +13:00
renovate[bot] 3288126a82 chore(deps): update dependency @testing-library/user-event to v12.6.3 (https://github.com/woocommerce/woocommerce-admin/pull/6304)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-10 15:45:55 +13:00
renovate[bot] 0b4ffe1def chore(deps): update dependency autoprefixer to v10.2.4 (https://github.com/woocommerce/woocommerce-admin/pull/6305)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-10 15:45:39 +13:00
louwie17 3d330bcee3 Fix the react state update error on homescreen (https://github.com/woocommerce/woocommerce-admin/pull/6286)
* Fix the react state update error on homescreen

* Fix note store dependency

* Update package lock file

* Add tests, and revert package-lock

* Add transient notices tests, and address PR feedback
2021-02-09 11:19:43 -04:00
renovate[bot] 92b27523c5 Lock file maintenance (https://github.com/woocommerce/woocommerce-admin/pull/6284)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-09 13:57:52 +13:00
renovate[bot] 999549da3c Update dependency core-js to v3.8.3 (https://github.com/woocommerce/woocommerce-admin/pull/6105)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-09 13:56:20 +13:00
renovate[bot] d7e81ffac8 Lock file maintenance (https://github.com/woocommerce/woocommerce-admin/pull/6236)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-05 10:14:47 -03:00
Sam Seay 6847c44869 Add the Mollie payment provider setup task (https://github.com/woocommerce/woocommerce-admin/pull/6257)
* Whitelist the mollie plugin and ensure it does not crash on activation.

* Improve error messages for failed plugin installs.

* Add the payment provider screen for the Mollie payment provider.

* Revert change to try/catch activation, its not needed.

* Move the whitelist of mollie to Onboarding.php.

* Add api fetch to dep list of components, update the node setup workflow on gh actions.

* Pass indsutry to the klarna tests to avoid a crash.

* Add some tests for the mollie payment method.

* Remove redundant change to handler.

* Add a changelog entry for the feature.

* fix name of option

* Add testing instructions

Co-authored-by: Rebecca Scott <me@becdetat.com>
2021-02-05 13:41:55 +10:00
louwie17 467e54fded Update product template icon and copy (https://github.com/woocommerce/woocommerce-admin/pull/6177)
* Update product template task copy and icon, updated wordpress/icons

* Fix tests

* Fix css lint errors

* Make use of the re-usable Pill component from Woo
2021-01-29 17:23:02 -04:00
renovate[bot] 418bca7eaa Lock file maintenance (https://github.com/woocommerce/woocommerce-admin/pull/6170)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-28 14:52:28 +13:00
renovate[bot] 20b9b60dd2 Update dependency @woocommerce/e2e-environment to v0.2.0 (https://github.com/woocommerce/woocommerce-admin/pull/6193)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-28 08:42:58 +13:00
Renovate Bot c0d6ec7bfd Update dependency @testing-library/user-event to v12.6.2 2021-01-27 06:00:51 +00:00
Renovate Bot 982b2b9893 Pin dependency eslint-plugin-import to 2.22.1 2021-01-27 03:27:52 +00:00
Renovate Bot 5aea80061f Update dependency @octokit/graphql to v4.5.9 2021-01-27 02:03:02 +00:00
Paul Sealock 84222b568b Navigation: Change default location and add Product category items (https://github.com/woocommerce/woocommerce-admin/pull/6179)
* add product submenu items

* better check

* extesnions section

* use add_plugin_item

* htmlspecialchars_decode better

* Manually add product_brand taxonomy

* Determine if migrated items are a taxonomy or post_type. If they are, register them.

* add in_array check to register post types and taxonomies

* register a taxonomy or post_type, but not both
2021-01-27 13:05:55 +13:00
Darren Ethier 4210b6f0a8 Update @wordpress/eslint-plugin dependency to latest version. (https://github.com/woocommerce/woocommerce-admin/pull/5856)
* update @wordpress/eslint-plugin dependency to latest version

* local prettier config isn’t needed anymore because of fix in upstream package

* add jsdoc config to use typescript format for jsdocs

* update changelog

* update packages and include .prettierrc.js back in for code editor support of prettier

* add docs

* minor prettier fix in test file

* Convert all new eslint rules throwing errors to warnings temporarily to be handled in separate prs

* updated changelog

* fix package-lock.json

* prettier auto-fixes

* add prettier dependency at root

* sigh prettier is being finicky

* version bump

Co-authored-by: Paul Sealock <psealock@gmail.com>
2021-01-26 13:24:28 +13:00
renovate[bot] 2d106bb0b3 Update dependency qs to v6.9.6 (https://github.com/woocommerce/woocommerce-admin/pull/6107)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-23 10:41:40 +13:00
Renovate Bot 9fb8750c9f Update dependency autoprefixer to v10.2.3 2021-01-21 05:05:18 +00:00
Renovate Bot cd7f751b92 Update dependency husky to v4.3.8 2021-01-21 04:55:42 +00:00
renovate[bot] abc0f48d60 Lock file maintenance (https://github.com/woocommerce/woocommerce-admin/pull/6084)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-21 15:47:14 +13:00
Paul Sealock 0bde0d5fea Version bump to 2.0.0-dev (https://github.com/woocommerce/woocommerce-admin/pull/6071)
* version bump to 1.10.0-dev

* use WP version 2.0.0
2021-01-15 09:21:47 +13:00
renovate[bot] 219092808b Update dependency @testing-library/react to v11.2.3 (https://github.com/woocommerce/woocommerce-admin/pull/6057)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-14 10:38:18 +13:00
Renovate Bot 839c56d57a Update dependency @testing-library/jest-dom to v5.11.9 2021-01-13 06:26:32 +00:00
Renovate Bot 1fa4e3b153 Update storybook monorepo to v6.1.14 2021-01-13 04:14:59 +00:00
Renovate Bot 6067480fce Update dependency husky to v4.3.7 2021-01-13 03:15:36 +00:00
Renovate Bot 3dded569e5 Update dependency autoprefixer to v10.2.1 2021-01-13 02:35:31 +00:00
Joshua T Flowers bc998444a3 Future proof experimental components (https://github.com/woocommerce/woocommerce-admin/pull/5961)
* Possibly use safe Text component

* Possibly use safe navigation components

* Add experimental package

* Update components to import from woocommerce/experimental

* Make experimental package private

* Reference experimental package relatively

* Update packages/experimental/README.md

Co-authored-by: Paul Sealock <psealock@gmail.com>

* Update packages/experimental/CHANGELOG.md

Co-authored-by: Paul Sealock <psealock@gmail.com>

* Update history state instead of mocking getQuery in tests

* Handle PR feedback

* Create excluded externals array and return early

Co-authored-by: Paul Sealock <psealock@gmail.com>
2021-01-07 18:57:09 -05:00
Paul Sealock b1ed75aa11 version bump to 1.9.0-dev (https://github.com/woocommerce/woocommerce-admin/pull/5999) 2021-01-08 08:41:29 +13:00
Renovate Bot 63446a69c6 Update dependency autoprefixer to v10 2021-01-07 03:48:00 +00:00
renovate[bot] 1b2f20b6bb Update dependency react-transition-group to v4.4.1 (https://github.com/woocommerce/woocommerce-admin/pull/5950)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-07 12:57:50 +13:00
renovate[bot] caeaa40a66 Pin dependency github-label-sync to 2.0.0 (https://github.com/woocommerce/woocommerce-admin/pull/6010)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-07 12:56:44 +13:00
Renovate Bot 9ac101cc29 Update storybook monorepo to v6.1.11 2021-01-06 02:14:07 +00:00
renovate[bot] 3e352d0661 Lock file maintenance (https://github.com/woocommerce/woocommerce-admin/pull/5714)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-05 13:49:37 +13:00
renovate[bot] e3d38e3d31 Update dependency react-router-dom to v5.2.0 (https://github.com/woocommerce/woocommerce-admin/pull/5949)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-05 13:42:18 +13:00
renovate[bot] 9e6cff72ec Update dependency dompurify to v2.2.6 (https://github.com/woocommerce/woocommerce-admin/pull/5945)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-05 13:11:56 +13:00
Timmy Crawford 522c31b454 Add label-sync package and config. (https://github.com/woocommerce/woocommerce-admin/pull/5981) 2020-12-30 12:36:29 -08:00
Renovate Bot 195e71bd87 Update dependency @testing-library/jest-dom to v5.11.8 2020-12-30 04:40:20 +00:00
Renovate Bot abd2cb060e Update dependency webpack-fix-style-only-entries to v0.6.0 2020-12-30 03:42:28 +00:00
Renovate Bot 442e3c1e36 Update dependency recast to v0.20.4 2020-12-30 02:49:58 +00:00
Renovate Bot 06c54973ff Update dependency @babel/plugin-transform-react-jsx to v7.12.12 2020-12-30 01:33:15 +00:00
Renovate Bot c9a76ea42b Update dependency react-docgen to v5.3.1 2020-12-23 04:32:26 +00:00
Renovate Bot fc5cf8013b Update dependency raw-loader to v4.0.2 2020-12-23 02:46:40 +00: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