Commit Graph

6063 Commits

Author SHA1 Message Date
Chris Aprea b223ed27f6 Fix typo. 2022-05-09 10:47:06 +10:00
Christopher Allford 0519045d20 Added Missing Dependencies
Some kind of branch switching related mishap it seems.
2022-05-06 14:58:33 -07:00
Christopher Allford 31d7249080 Removed "prebuild" Script
PNPM does not execute "pre" and "post"
scripts for user-defined scripts. This removes
the "prebuild" from the React Admin's build.
2022-05-06 12:16:57 -07:00
Chi-Hsuan Huang 72cf343cda
Merge pull request #32866 from woocommerce/fix/32761-exp2-task-no-padding
Fix no padding between the task section and things to do next in experiment 2
2022-05-06 14:28:46 +08:00
Chi-Hsuan Huang 6d0b794fc7 Replace margin-bottom 16px with $gap for experiment 2 2022-05-06 12:44:43 +08:00
Chi-Hsuan Huang ce253ca390
Merge pull request #32815 from woocommerce/add/32412-load-sample-products
Add load sample products for experimental product task
2022-05-06 09:23:26 +08:00
Chris Aprea c92bc4b357 Merge branch 'add/experiment-subscriptions-admin-menu-1' into add/experiment-subscriptions-admin-new-design 2022-05-05 16:01:35 +10:00
Chris Aprea 77cc1f61de Merge branch 'add/experiment-subscriptions-admin-menu' into add/experiment-subscriptions-admin-menu-1 2022-05-05 16:00:50 +10:00
Chris Aprea 7add4dca88 Implement the new subscriptions page design 2022-05-05 15:04:27 +10:00
Chi-Hsuan Huang 7e3a259cc5 Center experimental products view more button 2022-05-04 17:27:41 +08:00
Chi-Hsuan Huang b28a2d7ba7 Fix no padding between the last task section and Things to do next in experiment 2 2022-05-04 11:57:43 +08:00
Chi-Hsuan Huang 7e4126bc9f Update experimental-import-products to load sample products 2022-05-04 10:42:25 +08:00
Chi-Hsuan Huang f25383fc15 Add test for stack 2022-05-04 10:15:03 +08:00
Chi-Hsuan Huang 95a319b36d Add tests for load sample products 2022-05-04 10:15:03 +08:00
Chi-Hsuan Huang be50584b67 Update load onboarding sample product link 2022-05-04 10:15:03 +08:00
Chi-Hsuan Huang 5476f4c80f Add onboarding load sample products notice 2022-05-04 10:15:03 +08:00
Chi-Hsuan Huang 570d6dad71 Update experimental-products to load sample products 2022-05-04 10:15:03 +08:00
Chi-Hsuan Huang 4221c32fa4 Add type for wp.components.ui 2022-05-04 10:15:03 +08:00
Chi-Hsuan Huang e37bc5e18f Add load sample product hook & modal component 2022-05-04 10:15:03 +08:00
Chi-Hsuan Huang 5063dc3640 Update admin webpack config to resolve wp.components.ui 2022-05-04 10:15:03 +08:00
Moon 4a6c3300aa
Merge pull request #32835 from woocommerce/add/32788-add-experimental-import-products-task-followup
Add experimental import products task
2022-05-03 19:13:26 -07:00
moon 8219510fc5 Style update 2022-05-03 18:57:23 -07:00
James Allan 49f5f788bb Replace translation domains from woocommerce-payments to woocommerce 2022-05-04 11:15:56 +10:00
moon 0a75c8d6be Adjust text color 2022-05-03 15:55:15 -07:00
moon d0b500a3f4 Import Stacks before CardList to fix the order error 2022-05-03 15:55:02 -07:00
moon 84fe952ba8 Add link to the card 2022-05-03 15:54:18 -07:00
James Allan b15cfd3a2d Reword the error message to be more action -> outcome structure 2022-05-03 16:47:14 +10:00
James Allan 6b7fd14c09 Direct the user to the wp.org wcpayments page for a more direct install path 2022-05-03 16:18:46 +10:00
James Allan a1aff10f5f Display an error message when WC Payments fails to install 2022-05-03 14:10:18 +10:00
moon bc634512af Remove unnecessary style 2022-04-29 16:01:05 -07:00
moon 4ee252b549 Style fix 2022-04-29 15:53:45 -07:00
moon 0958641c85 Update svg fill 2022-04-29 15:53:07 -07:00
moon 0c3a142e89 Convert svg to react component 2022-04-29 15:51:46 -07:00
Fernando c60884ef20
Merge pull request #32786 from woocommerce/fix/32720_progress-header-title
Fix progress header title
2022-04-29 18:56:53 -03:00
moon 422018eb78 Refactor useProductTypeListItems to accept product types 2022-04-29 14:42:04 -07:00
Fernando Marichal 23c829efea Fix sectioned task list 2022-04-29 16:31:26 -03:00
louwie17 c0711feacb
Merge pull request #32805 from woocommerce/fix/32802_update_copy_and_illustrations
Update illustrations and copy of task list experiment 1
2022-04-29 15:11:27 -03:00
Fernando Marichal 6a9bb8ab49 Fix default title 2022-04-29 13:34:02 -03:00
louwie17 f918f341b9
Merge pull request #32824 from woocommerce/add/32762
Adding legal messaging and fixing click behavior on task list experiment
2022-04-29 13:31:42 -03:00
Fernando Marichal 06dd122939 Fix progress header title 2022-04-29 12:40:01 -03:00
Joel T d0d2de10bf Fixing typescript error 2022-04-29 11:14:42 -03:00
Joel T d58b436265 Removing excess content in wcpay task on experiment 2022-04-29 11:14:42 -03:00
Joel T a7f457c488 Fixing test 2022-04-29 11:14:42 -03:00
Joel T 98838fe8b4 Adding slotfill support to task experiment one, fixing odd behavior around link clicks 2022-04-29 11:14:42 -03:00
Lourens Schep fbdc08eb36 Some minor changes to tasks height for each task list to match design 2022-04-29 11:11:30 -03:00
Lourens Schep 711e0ce449 Remove unused illustrations 2022-04-29 10:12:09 -03:00
Roy Ho ad0d71dcff
Merge pull request #32795 from woocommerce/fix/standardize-lint-woocommerce-plugin
Standardize linting: plugins
2022-04-29 06:01:37 -07:00
Lourens Schep 77765285e8 Update illustrations and copy of task list experiment 1, with minor css updates 2022-04-29 09:52:50 -03:00
Chris Aprea 0942a8b169 Enqueue an inline script. 2022-04-29 15:05:15 +10:00
moon 9cf2993975 Fix error with the items type 2022-04-28 20:45:49 -07:00
moon a441ff189b Add stacks 2022-04-28 20:39:09 -07:00
moon b03149a29c Align the stacks button center 2022-04-28 20:39:08 -07:00
moon b109eba8c7 Adjust styles and add initial stacks functionality 2022-04-28 20:38:31 -07:00
moon de836d1f79 Add Learn More link 2022-04-28 20:38:31 -07:00
moon 14cff0a001 Allow JSX.Element in content 2022-04-28 20:38:31 -07:00
Chi-Hsuan Huang 60334e3c55
Merge pull request #32801 from woocommerce/add/32634-add-products-task
Add experimental add product for task list
2022-04-29 11:35:53 +08:00
Chi-Hsuan Huang 345a2ed60c Update experimental product stack layout style 2022-04-29 10:46:54 +08:00
Chi-Hsuan Huang 0d9d463d46 Update experimental-products default surfaced product types 2022-04-29 10:46:54 +08:00
Chi-Hsuan Huang 76777d2981 Refactor experimental-products functions 2022-04-29 10:46:54 +08:00
Chi-Hsuan Huang 6205c0208f Update card name & check support product types 2022-04-29 10:46:54 +08:00
Chi-Hsuan Huang e6d3ed3c3c Add loading sample product card 2022-04-29 10:46:54 +08:00
Chi-Hsuan Huang 48c89b2266 Add card view 2022-04-29 10:46:54 +08:00
Chi-Hsuan Huang 6248683042 Add tests for experimental add product task 2022-04-29 10:46:54 +08:00
Chi-Hsuan Huang cbfc393c6a Add use-create-product-by-type & use-product-types-list-items hooks 2022-04-29 10:46:54 +08:00
Chi-Hsuan Huang 5f233898bf Implement functionalities of experimental products 2022-04-29 10:46:54 +08: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
moon dc00aff77e Run dev after clean command 2022-04-28 14:28:01 -07:00
moon 082f55bee1 Run clean before running build commands 2022-04-28 13:42:06 -07:00
Fernando 5bda7ca396
Merge pull request #32739 from woocommerce/add/32156_preview-store-button
Add Preview store button to Home screen
2022-04-28 08:35:31 -03: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
Ilyas Foo ff4d735238 Merge remote-tracking branch 'origin/trunk' into dev/32575-add-generic-fallback-image-payments-task 2022-04-28 11:56:58 +08:00
Chi-Hsuan Huang 0389bc7cc3
Merge pull request #32779 from woocommerce/add/product-stack
Add experimental product stack component
2022-04-28 09:47:31 +08:00
Paul Sealock 4275eb002b admin fix scripts 2022-04-28 11:04:20 +12:00
Paul Sealock 6100df9a04
Storybook: Move code to `tools/` (#32729) 2022-04-28 09:54:54 +12:00
Chi-Hsuan Huang b938eb88f9 Update icons 2022-04-27 18:32:20 +08:00
Chi-Hsuan Huang 7eff6afd82 Add initial experimental-products component to show product stack component 2022-04-27 15:22:17 +08:00
Chi-Hsuan Huang d4dbf2f1a3 Add product stack component 2022-04-27 15:22:17 +08:00
moon 3b654321b1 Remove unnecessary style 2022-04-26 20:14:47 -07:00
Chris Aprea 49e754b962 Add tracking on button click. 2022-04-27 10:18:11 +10:00
moon 3d68bdbded Add CardList component 2022-04-26 14:15:11 -07:00
Fernando Marichal 93b9c48a85 Fix link url 2022-04-26 17:17:45 -03:00
moon 7c32432bf1 Add feature flag experimental-import-products-task and base component 2022-04-26 13:03:30 -07:00
Chi-Hsuan Huang 255872e4a3 Update react admin tasks/fills to render experimental-products when the feature flag is on 2022-04-26 13:40:13 +08:00
Chris Aprea a289b1146d Install WCPay on button click. 2022-04-26 15:37:32 +10:00
Chi-Hsuan Huang d1d441c824 Update wcAdminFeatures type 2022-04-26 13:26:41 +08:00
Chris Aprea 56ac948371 Added placeholder content. 2022-04-26 15:22:01 +10:00
Ilyas Foo 9eba4b93de Add fallback image 2022-04-26 12:10:26 +08:00
Chi-Hsuan Huang 11f321a334 Add isWcPaySupported util function for payments 2022-04-26 11:14:05 +08:00
Chi-Hsuan Huang 3ee2fcaeac Use getAdminLink to format WC_PAY_SETUP_URL 2022-04-26 10:55:44 +08:00
Ilyas Foo 2398fdf772 Change experiment name to dynamic 2022-04-26 10:47:01 +08:00
Chi-Hsuan Huang d0e31f9949 Add is_visible to Extension type 2022-04-26 09:34:52 +08:00
Paul Sealock e70b75cf81
Update `create-extension` to work in monorepo context (#32514)
* Update create-wc-extension to work in monorepo context

* update lock file
2022-04-26 08:51:35 +12:00
Lourens Schep 9872ec153b Add test case for eventPrefix 2022-04-25 10:57:36 -03:00
Lourens Schep 1acbcd64c5 Fix eventPrefix for two column task list 2022-04-25 10:44:29 -03:00
Chi-Hsuan Huang 678e893f60 Fix react admin ./client types after updating @woocommerce/data types 2022-04-25 15:17:28 +08:00
Chi-Hsuan Huang d94c1dc7bd Remove unnecessary wpDataselect & WCDataSelector types from react client 2022-04-25 14:17:28 +08:00
Lourens Schep d5401cee3c Fix track format 2022-04-22 12:15:22 -03:00
Lourens Schep 6ab9a9ae2c Add task list slot fill support in the sectioned task list 2022-04-22 12:04:51 -03:00
louwie17 f5ec1856c4
Merge pull request #32726 from woocommerce/add/32161
Add tracks to task list reminder bar
2022-04-22 11:00:45 -03:00
Fernando Marichal 3601109ac1 Fix test text 2022-04-22 10:53:46 -03: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
Fernando Marichal 6fb0881d7b Add test 2022-04-22 10:09:32 -03:00
Fernando Marichal 015c48c6ab Add preview store button 2022-04-22 10:08:35 -03:00
Chi-Hsuan Huang 2ff94f5388 Fix history type error 2022-04-22 16:47:31 +08: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
Chris Aprea b6bc8d5c95 Add plumbing to render the "Subscription" admin menu item and page. 2022-04-22 16:11:24 +10:00
Joshua Flowers 835b1e73a1 Add tracks to task list reminder bar 2022-04-21 12:01:56 -07:00
Joel Thiessen e488cb4095
Merge pull request #32723 from woocommerce/fix/32705
Fixing blank screen when Store Details task clicked on sectioned task list.
2022-04-21 11:32:10 -07:00
Joel T 1ad61780fe Adding support for actionUrl to sectioned task list 2022-04-21 09:35:01 -07: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 0308873d79 Turn on ForkTsCheckerWebpackPlugin in react admin 2022-04-21 13:18:24 +08:00
Chi-Hsuan Huang 66deb864ab Fix reamining type errors 2022-04-21 13:10:56 +08:00
Chi-Hsuan Huang 71e9073c0b Fix remaining task type errors 2022-04-21 12:44:19 +08:00
RJChow bbb1af478b changelogs 2022-04-21 11:29:58 +08:00
RJChow 73634d63d8 cleanup 2022-04-21 11:29:28 +08:00
RJChow 60885707f1 types and lint 2022-04-21 11:29:28 +08:00
RJChow 07a20ce378 added conditions for rendering 2022-04-21 11:29:28 +08:00
RJChow aaf5c9ff5a Refactored and added new payment icons 2022-04-21 11:29:28 +08:00
RJChow 9a95dc028f implement slotfill 2022-04-21 11:29:28 +08:00
RJChow feb1f42949 design banner 2022-04-21 11:29:28 +08:00
RJChow 9905a882b2 insert react 2022-04-21 11:29:28 +08:00
Chi-Hsuan Huang 8aca258df8 Fix header utils 2022-04-21 11:07:25 +08:00
Chi-Hsuan Huang c5c1cf438a Fix task types 2022-04-21 09:04:32 +08:00
Chi-Hsuan Huang 1a0c940bdd Convert admin ./client/header/utils to TS 2022-04-21 09:04:32 +08:00
Chi-Hsuan Huang 22575242e9
Merge pull request #32695 from woocommerce/fix/admin-two-column-tasks-types
Fix typescript type errors in react admin `./client/two-column/tasks`
2022-04-21 08:57:08 +08:00
Moon 3f84e6e833
Merge pull request #32688 from woocommerce/fix/fix-client-shipping-typescript-errors
Fix typescript type errors in react admin ./client/shipping
2022-04-20 14:16:33 -07:00
Fernando Marichal 5dbc394784 Fix task list style conflict 2022-04-20 10:12:08 -03:00
Chi-Hsuan Huang 754455460c Fix two columns tasks 2022-04-20 16:24:58 +08:00
Chi-Hsuan Huang eb90be2050 Fix two-column-tasks type errors 2022-04-20 16:12:12 +08:00
Ilyas Foo 62de7bae9c
Merge pull request #32662 from woocommerce/update/refactor-and-improve-tests-payments-task
Refactor and improve tests payments task
2022-04-20 10:38:28 +08:00
Chi-Hsuan Huang 42c578ed22
Merge branch 'trunk' into fix/admin-payment-type 2022-04-20 10:07:53 +08:00
moon 08d3dc1a52 Fix type errors 2022-04-19 10:45:10 -07:00
Moon e6503e60cb
Merge pull request #32678 from woocommerce/fix/wp-admin-scripts-type
Fix typescript type errors in react admin `./client/wp-admin-scripts`
2022-04-19 09:08:11 -07:00
Chi-Hsuan Huang 7514c2edce Fix error type 2022-04-19 17:07:55 +08:00
Chi-Hsuan Huang f861dc4602 Fix woo admin payments & payment-weclome types 2022-04-19 16:31:15 +08:00
moon 32db78a76f Remove PluginsStoreActions 2022-04-18 21:59:04 -07:00
Chi-Hsuan Huang 85324ea2cf
Merge pull request #32615 from woocommerce/update/admin-tsconfig-config
Update TS config to have an isolated TS environment for woo admin
2022-04-19 11:31:49 +08:00
moon 05c04c8679 Fix type errors 2022-04-18 10:42:08 -07:00
Ilyas Foo 89b7415297 Refactor and add unit tests 2022-04-15 18:42:07 +08:00
Chi-Hsuan Huang 0c554fddad Add @wp/plugins, data, compose types dev deps to woo admin
Add their type definitions and remove them from index.d.ts declare module
2022-04-15 17:08:31 +08:00
Chi-Hsuan Huang a5786a060b Declare svg module for client typing 2022-04-15 17:08:31 +08:00
Chi-Hsuan Huang fb420020d3 Declare TS module for non-ts imports 2022-04-15 17:04:53 +08:00
Chi-Hsuan Huang e66b78b892 Add @types/testing-library__jest-dom to fix client ts errors 2022-04-15 17:04:53 +08:00
Chi-Hsuan Huang 82f7d98cf5
Merge pull request #32621 from woocommerce/remove/admin-test-folder
Remove woocommerce-admin/tests
2022-04-15 16:46:56 +08:00
Chi-Hsuan Huang ec16b29b4f Disable ForkTsCheckerWebpackPlugin in admin webpack 2022-04-15 13:50:58 +08:00
Chi-Hsuan Huang 4cb893dda9 Update admin tsconfig to isolated from other projects 2022-04-15 13:50:18 +08:00
Chi-Hsuan Huang 60c8c05028 Move admin typings to ./client/typings 2022-04-15 13:50:17 +08:00