Commit Graph

884 Commits

Author SHA1 Message Date
Fernando af888f5b0b Added debugger instruction to package.json (https://github.com/woocommerce/woocommerce-admin/pull/6835)
# Conflicts:
#	package.json

Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2021-04-22 13:59:55 -03:00
louwie17 be7dd2dd5e Add recommended payment methods (https://github.com/woocommerce/woocommerce-admin/pull/6760)
* Add initial payment recommendations code for the payments settings

* Added request data for the recommended payments

* Some styling updates and make sure it does not show when marketplace suggestions is disabled

* Update url

* Update comment in php class

* Add tests

* Fix lint errors

* Remove unnecessary type

* Fix lint error

* Fix broken test

* Convert plugin package to typescript

* Fix lint errors

* Add changelog

* Add support for locale-data

* Fix track name

* Fix up the tests

* Fix lint errors

* Address PR feedback

* Add tests for option hydration

* Make types more robust in plugins reducer

* Made use of SlotFill component instead of page registry and router

* Removed console log, and fixed types

* Add newer version of i18n to data package, for newer types

* Make the request to WooCommerce.com more restrictive

* Fix path of import

* Update PHP with suggested changes

* Remove SlotFill with applyFilters

* Update copy and PR feedback

* Update package lock

* Updated package lock

* Fix the package lock

* Added dot, and some minor styling changes

* Add test instructions
2021-04-20 14:17:19 -03:00
Sam Seay b13feaeafd Add some tweaks to e2e tests to try and resolve flakyness issues (https://github.com/woocommerce/woocommerce-admin/pull/6812) 2021-04-16 10:47:21 +12:00
Paul Sealock 7ab756b76c Try ExPlat: Add A/A test (https://github.com/woocommerce/woocommerce-admin/pull/6669)
* Add basic ExPlat initialization

* add tsx support
2021-04-15 13:32:46 +12:00
Renovate Bot 86f3019fde Update dependency @typescript-eslint/eslint-plugin to v4.22.0 2021-04-14 04:26:17 +00:00
Renovate Bot 10a455c453 Update babel monorepo to v7.13.15 2021-04-14 02:37:37 +00:00
Renovate Bot 616dced818 Update dependency @woocommerce/api to v0.1.2 2021-04-07 08:10:35 +00:00
Renovate Bot 642b8c44c3 Update dependency @typescript-eslint/eslint-plugin to v4.21.0 2021-04-07 05:04:00 +00:00
Renovate Bot 7af6724e0f Update dependency @types/jest to v26.0.22 2021-04-07 04:05:05 +00:00
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
Joshua T Flowers e96addd95c Bump main to 2.3.0-dev (https://github.com/woocommerce/woocommerce-admin/pull/6661) 2021-03-25 19:26:46 -04: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
Lee Willis d99fe58925 Remove hardcoded dependencies from examples. (https://github.com/woocommerce/woocommerce-admin/pull/6542)
Authored-by: Lee Willis <lee@ademti-software.co.uk>
2021-03-24 11:10:32 +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
Joel Thiessen 81948ab513 Adding typescript resolver to fix linting issues with imports (https://github.com/woocommerce/woocommerce-admin/pull/6624) 2021-03-24 10:57:12 +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
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
renovate[bot] 4ae669a25f Update babel monorepo (https://github.com/woocommerce/woocommerce-admin/pull/6300)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-03-11 12:39:37 +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
Moon 2cbf73b6a4 Add docker setup using WP-ENV (https://github.com/woocommerce/woocommerce-admin/pull/6448)
* Add docker setup using WP-ENV

* Add ALTERNATE_WP_CRON config to avoid cron issues

* Add changelog

* Update README

* Added HOWTOs section
2021-03-02 13:13:21 -08: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
Adrian Duffell 63435dfa71 Bump Version to 2.2.0-dev (https://github.com/woocommerce/woocommerce-admin/pull/6417)
* Bump to version 2.2.0-dev

* Update changelog with 2.1.0 heading

* Revert "Bump to version 2.2.0-dev"

This reverts commit cc7d4b95ea3ccae140a5366cdd521ac8f35a3100.

* Bump to version 2.2.0-dev

This was performed using `npm run bump-version`

* Move recent changelog entries out of 2.1.0
2021-02-26 11:48:52 +08: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 5c2402e6f3 Navigation: Reset submenu before making Flyout (https://github.com/woocommerce/woocommerce-admin/pull/6396)
* reset flyout before adding things

* instructions and changelog
2021-02-23 13:09:59 +13:00
Hsing-Yu Flowers 00676f12b5 Check if tax was successfully added before displaying notice (https://github.com/woocommerce/woocommerce-admin/pull/6229)
* Check if tax was successfully added before notice

* Handle PR feedback

* Handle PR feedback-2

* Fix rebase
2021-02-18 12:27:32 +08:00
Adrian Duffell 82d0f04451 Refactor test:php npm script with a post hook (https://github.com/woocommerce/woocommerce-admin/pull/6356)
Fixes a bug where paramaters could not be passed to the phpunit command
2021-02-18 09:06:54 +08: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
Bec Scott 1ada698dfb Bump versions (https://github.com/woocommerce/woocommerce-admin/pull/6321) 2021-02-12 06:49:48 +13:00