Commit Graph

786 Commits

Author SHA1 Message Date
Chi-Hsuan Huang b8d79d86cf Migrate woo.data export & import store to TS 2022-05-25 10:13:24 +08:00
Joel Thiessen 5f56ecb9b0
Suppressing warnings for malformed metadata in product template downloads #32971 #32971 2022-05-24 11:12:02 -07:00
Chi-Hsuan Huang 4d9e07bbd4 Add changelogs 2022-05-24 21:41:36 +08:00
Chi-Hsuan Huang 5f7d0cd0e1 Migrate woo data options to TS 2022-05-24 21:41:34 +08:00
Chi-Hsuan Huang c5ccaa0056
Merge pull request #33108 from woocommerce/dev/33100-migrate-woo-date-to-ts
Migrate `@woocommerce/date` to TS
2022-05-24 14:21:21 +08:00
Chi-Hsuan Huang 6c4674fe9a Update tests fail messages 2022-05-24 11:14:44 +08:00
Chi-Hsuan Huang c83dedd849
Merge pull request #33153 from woocommerce/dev/33132-migrate-woo-onboarding-to-ts
Migrate `@woocmmerce/onboarding` to TS
2022-05-23 18:33:00 +08:00
Chi-Hsuan Huang 19a3e2c892 Rename files to TS 2022-05-23 16:49:07 +08:00
Chi-Hsuan Huang 02a483dc32
Merge pull request #33133 from woocommerce/dev/33101-migrate-woo-currency-to-ts
Migrate `woocommerce/currency` to TS
2022-05-23 16:21:08 +08:00
Chi-Hsuan Huang 54d145a526 Update getCurrentDatesMemoized types 2022-05-23 14:07:22 +08:00
Chi-Hsuan Huang 637ea244ea Add changelog 2022-05-23 13:28:31 +08:00
Chi-Hsuan Huang 76737b12f7 Migrate @woocommerce/onboarding to TS 2022-05-23 13:25:08 +08:00
Chi-Hsuan Huang da773d1730 Update default action value types 2022-05-23 12:03:12 +08:00
Saggre 7e298f56ac Add changelog entry 2022-05-20 11:09:17 +03:00
Sakri Koskimies 5927744e50 Fix typo in @woocommerce/number readme 2022-05-20 11:00:21 +03:00
Sakri Koskimies 899647d0ef Fix fn import and lodash call in @woocommerce/number readme 2022-05-20 11:00:20 +03:00
Rodel 99796df9d4 Ignore Allure directories globally 2022-05-20 15:08:01 +08:00
Chi-Hsuan Huang f1b4a7bfb9
Merge pull request #33110 from woocommerce/dev/33104-migrate-customer-effort-score-to-ts
Migrate `@woocommerce/customer-effort-score` to TS
2022-05-20 15:01:14 +08:00
Chi-Hsuan Huang 7e151d3f74
Merge pull request #33131 from woocommerce/dev/33102-migrate-csv-export-to-ts
Migrate `@woocommerce/csv-export` to TS
2022-05-20 14:56:13 +08:00
Chi-Hsuan Huang 5187c07e9e Update createNotice type 2022-05-20 14:43:38 +08:00
Chi-Hsuan Huang e16aae9a82 Update icon type 2022-05-20 14:35:48 +08:00
Chi-Hsuan Huang eb5d9b82fa Use React.VFC for CustomerEffortScore type instead 2022-05-20 14:33:59 +08:00
Chi-Hsuan Huang 16bb4b633a Update pnpm-lock.yaml 2022-05-20 13:15:13 +08:00
Chi-Hsuan Huang 65a8dbcd5a Add changelog 2022-05-20 13:15:13 +08:00
Chi-Hsuan Huang 286358d724 Migrate @woocommerce/notice to TS 2022-05-20 13:15:11 +08:00
Chi-Hsuan Huang 2885a0ae86 Update store index.js -> index.ts 2022-05-20 13:09:04 +08:00
Chi-Hsuan Huang b492be07e6 Migrate @woocommerce/currency to TS 2022-05-20 11:49:46 +08:00
Chi-Hsuan Huang d60ec328ac Migrate @woocommerce/currency to TS 2022-05-20 11:49:12 +08:00
Chi-Hsuan Huang 2c0b684719 Convert woo number test to TS 2022-05-20 10:53:41 +08:00
Chi-Hsuan Huang 4668dabe46 Add changelog 2022-05-20 10:53:41 +08:00
Chi-Hsuan Huang 78a9913bcc Migrate @woocommerce/number to TS 2022-05-20 10:53:41 +08:00
Chi-Hsuan Huang 2c69e78460 Update filesaver type 2022-05-20 10:51:52 +08:00
Moon 0b35ad678d
Merge pull request #33027 from woocommerce/update/update-history-package
Update history package to the latest 5.3.0 version
2022-05-19 18:27:12 -07:00
Joel T 9e62fb58b8 Updating references to old album-1 image 2022-05-19 16:05:23 -07:00
Chi-Hsuan Huang c967e9125f Add changelog 2022-05-19 16:56:27 +08:00
Chi-Hsuan Huang ff5417c99f Migrate @woocommerce/customer-effort-score to TS 2022-05-19 16:55:43 +08:00
Chi-Hsuan Huang b1b590c68c Convert woo date to TS 2022-05-19 16:38:56 +08:00
Chi-Hsuan Huang 16a3fa7b38 Migrate @woocommerce/csv-export to TS 2022-05-19 16:18:14 +08:00
Chi-Hsuan Huang 9fbe58833b Update chartType check 2022-05-19 15:03:01 +08:00
Chi-Hsuan Huang aebefa45c6 Change type check error to warn 2022-05-19 15:00:20 +08:00
Chi-Hsuan Huang c152efb71a Add changelog 2022-05-19 14:48:55 +08:00
Chi-Hsuan Huang 172a50cab0 Migrate @woocommerce/date to TS 2022-05-19 14:48:32 +08:00
RJ f637dd2bb7
Add: temporary workaround to add experiment metadata for task_view (#33052)
rigged a workaround to let products task report its experimental assignment
2022-05-18 15:24:48 +08:00
Moon d066266fbf
Merge pull request #33023 from woocommerce/update/33022-update-explat-with-examples
Update ExPlat with more examples
2022-05-17 16:20:09 -07:00
louwie17 e822a4a7f4
Merge pull request #32538 from woocommerce/feature/32158_complete_task_list_card_with_feedback
Feature/32158 complete task list card with feedback
2022-05-17 17:39:14 -03:00
Lourens Schep 3ba939a27a Add changelog for data package 2022-05-16 10:54:07 -03:00
Lourens Schep 137ec24174 Add changelogs for customer-effort-score package 2022-05-16 10:36:30 -03:00
Lourens Schep 2291de40c7 Make sure Modal emoji's match 2022-05-16 10:27:35 -03:00
Lourens Schep e820eb06db Update emoji's 2022-05-16 10:05:53 -03:00
Lourens Schep d1bf5c5719 Address the majority of the PR feedback 2022-05-16 10:03:46 -03:00
rodelgc 6cda659980
Publish API test reports to GitHub Pages
- Added workflow to publish API tests
2022-05-16 17:59:40 +08:00
moon 9faccc176f Remove unused LoadingExperience 2022-05-13 14:23:40 -07:00
Lourens Schep fe1e814a41 Fix customer effort types and add timeout to thank you message 2022-05-13 10:29:21 -03:00
Lourens Schep b441a84d9d Keep score displayed if user cancels out of CES Modal 2022-05-13 10:29:21 -03:00
Lourens Schep 45dfda2b65 Move CES show logic to the back end, so there is no loading delay 2022-05-13 10:29:21 -03:00
Lourens Schep 4b27f831f7 Add CES submission 2022-05-13 10:29:21 -03:00
Lourens Schep 7aa37d609f Added new completed header and customer feedback component 2022-05-13 10:29:20 -03:00
moon e40f73a555 Add changelog 2022-05-12 18:32:06 -07:00
moon aa7853edbd Update history package to the latest 5.3.0 version 2022-05-12 18:28:43 -07:00
RJChow f3cc00ff8b changelogs 2022-05-13 06:20:11 +08:00
RJChow 05cd1c30de Added tracks events to experimental products pages 2022-05-13 06:16:28 +08:00
moon f3035c65c7 Add changelog 2022-05-12 14:39:37 -07:00
moon e2ad299c13 Update ExPlat changelog 2022-05-12 14:37:18 -07:00
moon 4e0faa6ea1 Add useExperiment example 2022-05-12 14:30:17 -07:00
Ilyas Foo 713198f5ed Renames to increase clarity 2022-05-12 10:41:15 +08:00
Ilyas Foo f7263c60ff Changelogs 2022-05-12 10:41:15 +08:00
Ilyas Foo 37772a1349 Add use-product-layout-experiment hook and logic to onboarding package 2022-05-12 10:41:14 +08:00
Chi-Hsuan Huang a287963fa4
Merge pull request #32939 from woocommerce/update/client-api-error-types
Update `@woocomerce/data` client api error types
2022-05-12 09:00:57 +08:00
Moon 9720874f50
Merge pull request #32954 from woocommerce/update/32883-update-react-dates-dependency
Update react-dates to 21.8.0
2022-05-11 12:49:16 -07:00
Chi-Hsuan Huang 83f0ca7686 Add changelog 2022-05-11 14:50:59 +08:00
Chi-Hsuan Huang 5e0be91e9c Handle @woocommerce/data api error types properly 2022-05-11 14:50:56 +08:00
Chi-Hsuan Huang edbfd5bf93
Merge pull request #32937 from woocommerce/update/convert-woo-tracks-to-ts
Convert `@woocommerce/tracks` to TS
2022-05-11 09:57:27 +08:00
Chi-Hsuan Huang 79814ccccf
Merge pull request #32936 from woocommerce/update/memoize-one
Remove `memoize-one` from woo admin & update it to ^6.0.0 for woo components
2022-05-11 09:55:40 +08:00
moon 15ecfd9b16 Update react-dates to 21.8.0 2022-05-10 18:12:32 -07:00
Christopher Allford f41258a9f2 Added EOF Newlines
We put an extra newline at the end of all
files to detect those that have been
malformed or truncated.
2022-05-10 13:35:31 -07:00
Christopher Allford ec2e90540e Added Changelogs 2022-05-10 13:31:13 -07:00
Christopher Allford 37ad4c5a70 Converted Spaces To Tabs In JSON
Since we almost universally use tabs instead
of spaces, this commit replaces all of the spaces
with tabs in various JSON files across the monorepo.
2022-05-10 13:31:01 -07:00
Christopher Allford 871426decc Fixed `package.json` Data Type
The "private" key is supposed to be a
boolean.
2022-05-10 13:29:59 -07:00
Chi-Hsuan Huang e179f8d1fe Change woocommerce data async action error type to unknown 2022-05-10 16:53:51 +08:00
Chi-Hsuan Huang ef9af07bde Remove data prop from RestApiError type 2022-05-10 16:53:06 +08:00
Chi-Hsuan Huang cd3abebeb0 Add changelogs 2022-05-10 15:29:10 +08:00
Chi-Hsuan Huang 4c2fa2716b Convert @woocommerce/tracks to TS 2022-05-10 15:29:07 +08:00
Chi-Hsuan Huang 4f1e7af7c7 Add changelogs 2022-05-10 14:29:45 +08:00
Chi-Hsuan Huang 43af801d46 Remove memoize-one from wca & update it to ^6.0.0 for woo components 2022-05-10 14:17:03 +08:00
RJChow 67cf1e109b added task_view tracks prop for experimental_products 2022-05-10 12:52:00 +08:00
Alejandro López Ariza 2886fede2c
Removed Jetpack Changelogger from test js packages as they follow another approach for handling changelogs. (#32877)
* Removed Jetpack Changelogger from test js packages as they follow another approach for handling changelogs.

* Removed composer.json from api-core-tests, e2e-core-tests, e2e-environmnet and e2e-utils as they are no longer needed.

* Removed postinstall script from api-core-tests, e2e-core-tests, e2e-environment and e2e-utils packages, since they will no longer have a composer.json file.
2022-05-10 13:11:19 +12:00
Lourens Schep 65da6a8562 Add changelog 2022-05-09 11:31:03 -03:00
Lourens Schep fb62e3392a Fix duplicate task list shown 2022-05-09 11:17:37 -03:00
Paul Sealock 5537da6e9d
Packages: Add Changelogger scripts (#32813) 2022-05-05 15:26:36 +12:00
Paul Sealock 489ebf2cc6
Standardize linting: e2e js packages (#32794) 2022-05-05 15:02:50 +12:00
Jamel Noel Reid 4915c389ef
Merge pull request #32521 from woocommerce/nielslange-patch-1
Remove duplicate entry `verifyAndPublish` from docs
2022-05-04 09:21:47 -05:00
Chi-Hsuan Huang afe6e84ab0
Merge pull request #32855 from woocommerce/update/32716-explat-api-requests
Add safeguards to ensure ExPlat API requests are valid
2022-05-04 09:02:10 +08:00
Christopher Allford 790d085f12
Merge pull request #32657 from woocommerce/refactor/standardize-postinstall
Utilize `post install` Script for Composer
2022-05-03 10:21:33 -07:00
Chi-Hsuan Huang 2c97db867e Update woo.explat to check fetchExperimentAssignment params 2022-05-03 17:01:07 +08:00
Chi-Hsuan Huang 6c8ee08f19 Add a safeguard for ExPlat assignment requests to make sure a user either has an anon_id defined and not empty 2022-05-03 17:01:07 +08:00
roykho c4a1fff367
Add changelog 2022-05-02 15:56:38 -07:00
roykho d3423a5c8f
Remove gitignored file. 2022-05-02 15:46:46 -07:00
Christopher Allford 9a22c62505 Added Changelogs 2022-05-02 12:55:48 -07:00
Christopher Allford 7dc9c203f8 Added Missing `postinstall` Scripts 2022-05-02 12:55:48 -07:00
Christopher Allford 000f14be4a Fixed Tabs 2022-05-02 12:55:48 -07:00
Christopher Allford 377b643720 Removed `prepare` Scripts
Thanks to our build orchestration tooling, there is
no reason for us to build all of the packages on
`install`. In cases where `prepare` was used to
build before packaging, this changes it to
`prepack` so it will run only under the correct
circumstances.
2022-05-02 12:55:48 -07:00
Lourens Schep 96a8b5b226 Fix type definition in TaskItem prop 2022-04-29 11:26:57 -03:00
Ilyas Foo cb731d465a Merge remote-tracking branch 'origin/trunk' into add/wc-payment-gateways-banner 2022-04-29 10:15:21 +08:00
Ilyas Foo fc74c42fe0
Merge branch 'trunk' into add/wc-payment-gateways-banner 2022-04-29 09:11:20 +08:00
Ilyas Foo d94769982b Update e2e to use table instead 2022-04-29 09:09:06 +08:00
moon ef3f48bda6 Add is_visible 2022-04-28 11:22:54 -07:00
Roy Ho c8c2e4253f
Merge pull request #32793 from woocommerce/fix/standardize-lint-monorepo
Standardize linting: Admin JS packages
2022-04-28 06:14:36 -07:00
Chi-Hsuan Huang 8f06c5aa20 Reorder functions/imports/exports in @woocommerce/data 2022-04-28 19:18:56 +08:00
Chi-Hsuan Huang 0a986dd153 Update onboarding/selectors.ts 2022-04-28 19:18:56 +08:00
Chi-Hsuan Huang 0919e241ae Move types to ./types.ts 2022-04-28 19:18:55 +08:00
Chi-Hsuan Huang 843a59c0c4
Merge pull request #32735 from woocommerce/update/woo-data-types
Update `@woocommerce/data` & admin client type definitions
2022-04-28 18:03:14 +08:00
Adrian Duffell 8a3ae1399b Merge branch 'trunk' into add/wc-payment-gateways-banner 2022-04-28 14:29:17 +08:00
Jamel Noel Reid 7c0a1f129e
Merge pull request #31915 from woocommerce/fix/e2e-utils-shopper-searchForProduct
Fix link click for shopper.searchForProduct
2022-04-27 17:33:06 -05:00
Paul Sealock e82e3cc49e changelog 2022-04-28 10:00:29 +12:00
Paul Sealock 931845a53a reference local eslint plugin package 2022-04-28 10:00:29 +12:00
Paul Sealock 12fef88354 Add lint:fix to admin js packages 2022-04-28 10:00:29 +12:00
Jonathan Lane 31d4b8f7e7
Merge branch 'trunk' into fix/27902 2022-04-27 09:28:17 -07:00
Jonathan Lane 08513fbb0d
Merge branch 'trunk' into fix/e2e-utils-shopper-searchForProduct 2022-04-26 11:01:09 -07:00
Jonathan Lane 58203cf7bc
Merge pull request #32713 from woocommerce/fix/e2e-utils-eslint-config
Fix/e2e utils eslint config
2022-04-26 09:55:13 -07:00
Chi-Hsuan Huang d0e31f9949 Add is_visible to Extension type 2022-04-26 09:34:52 +08:00
Chi-Hsuan Huang 022d86c8a5 Reformat ./data/typings/index.d.ts 2022-04-26 09:32:52 +08:00
Chi-Hsuan Huang 0d5a0050d8 Add changelogs 2022-04-25 15:17:35 +08:00
Chi-Hsuan Huang 672ba17a80 Fix and export @woocommerce/data types for react admin ./client
Convert onboarding index.js to TS & add missing type fields
2022-04-25 14:17:13 +08:00
Chi-Hsuan Huang 5c8f76bbe7 Fix @woocommerce/data type errors after enabling wp data, compose types 2022-04-25 13:40:18 +08:00
Chi-Hsuan Huang 6836d90b72 Add wp data, compose types to @woocommerce/data
Update pnpm-lock.yaml
2022-04-25 13:32:26 +08:00
Fernando ee5d38d49c
Merge pull request #32704 from woocommerce/fix/task-list-style-conflict
Fix setup task list style conflict
2022-04-22 10:34:50 -03:00
Chi-Hsuan Huang 4ade171fd1
Merge pull request #32712 from woocommerce/fix/admin-remaining-task-types
Fix remaining typescript type errors in react admin
2022-04-22 15:31:06 +08:00
Chi-Hsuan Huang a6927c1621
Merge pull request #32698 from woocommerce/fix/admin-task-types
Fix typescript type errors in react admin `./client/tasks/task` & `./client/tasks/tests`
2022-04-22 14:48:51 +08:00
Joel Thiessen 6f4bb7050d
Merge pull request #32528 from woocommerce/update/32508_pnpx_deprecated
Updating all instances of now-deprecated `pnpx` to `pnpm dlx`
2022-04-21 10:16:31 -07:00
Alex López 4c243ddbc5 Updated e2e-utils changelog. 2022-04-21 12:26:37 +02:00
Alex López 0fffa6cba9 Disabled eslint task for staged files in e2e-utils until lint issues are addressed. 2022-04-21 09:49:07 +02:00
Alex López d94bc5e78a Fixed e2e-utils eslint config so that it depends on the package config file only. 2022-04-21 09:33:45 +02:00
RJChow 6151f4021c Revert "Changed e2e payment settings page detection"
This reverts commit 1a7c40316e.
2022-04-21 14:08:32 +08:00
Chi-Hsuan Huang 841692d14d Add changelogs 2022-04-21 13:16:54 +08:00
RJChow 1a7c40316e Changed e2e payment settings page detection 2022-04-21 13:14:28 +08:00
Chi-Hsuan Huang 7085ed7d96 Export InstallPluginsResponse data type from woo.data 2022-04-21 13:10:40 +08:00
Chi-Hsuan Huang fbc1cf0e61 Correct stepper component props types 2022-04-21 12:45:02 +08:00
Chi-Hsuan Huang 8a1c684f55 Update data onboarding selector types 2022-04-21 12:44:35 +08:00
RJChow bbb1af478b changelogs 2022-04-21 11:29:58 +08:00
RJChow 60885707f1 types and lint 2022-04-21 11:29:28 +08:00
Roy Ho ff2d7d704a
Merge pull request #32680 from woocommerce/fix/e2e-builds-private-package
e2e-builds: Private package for build logic of e2e
2022-04-20 18:33:41 -07:00
Chi-Hsuan Huang e3f7ab99e0 Add woo data changelog 2022-04-21 09:04:32 +08:00
Chi-Hsuan Huang 8ec07913ba Export woo data getTaskLists type 2022-04-21 09:04:32 +08:00
Paul Sealock 3ff4b2f309 whitespace 2022-04-21 12:56:11 +12:00
Fernando Marichal 43b120bce7 Add changelogs 2022-04-20 11:14:15 -03:00
Fernando Marichal 5dbc394784 Fix task list style conflict 2022-04-20 10:12:08 -03:00
Chi-Hsuan Huang de5bf080e1 Add changelogs 2022-04-20 16:12:15 +08:00
Chi-Hsuan Huang 031cc79ab3 Update task types 2022-04-20 16:12:12 +08:00
Chi-Hsuan Huang d6a8bbe2f2 Update onboaindg selector types 2022-04-20 12:48:24 +08:00
Chi-Hsuan Huang 5f1e177105 Convert woo data use-user-preferences.js to TS 2022-04-20 12:47:56 +08:00