Commit Graph

5957 Commits

Author SHA1 Message Date
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
Chi-Hsuan Huang f6282eefdc
Merge branch 'trunk' into update/webpack-config 2022-04-15 13:48:20 +08:00
Chi-Hsuan Huang 0557171445
Merge pull request #32578 from woocommerce/dev/32466-docs-webpack-config
Document Admin’s webpack config
2022-04-15 13:47:32 +08:00
Chi-Hsuan Huang ac95d54669 Add more comments to admin webpacks config & simplify the logic 2022-04-15 12:08:59 +08:00
Chi-Hsuan Huang 3ead227cdc
Merge branch 'trunk' into update/admin-docs 2022-04-15 11:53:08 +08:00
Joel Thiessen 35440c9b56
Supressing tasks reminder bar on products screen and addressing translation issue #32526 2022-04-14 12:06:20 -07:00
Joshua T Flowers 3561b87f83
Track when task list sections are closed (#32625)
* Track when task list sections are closed

* Add tracks for when task list section is opened
2022-04-14 12:21:56 -04:00
louwie17 19e57a4377
Merge pull request #32624 from woocommerce/update/minor_tasklist_changes
Update minor tasklist changes
2022-04-14 11:21:17 -03:00
Joshua T Flowers 26a27650a3
Add check for tasklist layout experiment (#32593)
* Add check for tasklist layout experiment

* Remove task list setup feature flags

* Remove errant config file

* Add negative check for experiment 1 in experiment 2
2022-04-14 10:19:27 -04:00
Lourens Schep 3c69e4f2b0 Remove unused dependency 2022-04-14 10:47:53 -03:00
Lourens Schep d59fa94d2f Add sectioned task list loading placeholder component 2022-04-14 09:48:53 -03:00
Lourens Schep 93438c395d Update progressive header to just show welcome to blog title once completed 2022-04-14 08:51:47 -03:00
Chi-Hsuan Huang c546e9e6e7 Update payment method links to extension > payment section 2022-04-14 19:01:35 +08:00
Chi-Hsuan Huang 08466d8de1 Update payment method link to the internal Extensions Marketplace 2022-04-14 19:01:14 +08:00
Ilyas Foo 5bd497b384
Merge pull request #32605 from woocommerce/update/32132-payment-logic-in-task-and-settings
Update payment gateway logic in payment task
2022-04-14 18:36:44 +08:00
Chi-Hsuan Huang 5a74e9cba6 Add WC_ADMIN_PHASE=core to build:feature-config 2022-04-14 17:25:29 +08:00
Chi-Hsuan Huang b936e3243f Update feature-flags.md 2022-04-14 17:15:12 +08:00
Chi-Hsuan Huang 30a2fc18d6 Pass WC_ADMIN_PHASE=core to build commands 2022-04-14 17:13:23 +08:00
Ilyas Foo 3668ea36c5 Small refactor to consolidate logic 2022-04-14 17:09:10 +08:00
Chi-Hsuan Huang c813c3bc5f Remove "plugin" environment from admin feature plugin 2022-04-14 16:40:35 +08:00
Chi-Hsuan Huang 20736a5280 Remove docsify-cli and releated files 2022-04-14 13:50:29 +08:00
Chi-Hsuan Huang dfa51ac747 Update docs 2022-04-14 13:50:27 +08:00
Chi-Hsuan Huang 96a5a7b75d Remove building ./docs storybook 2022-04-14 13:49:51 +08:00
Chi-Hsuan Huang ed8885f0b7 Fix admin extensions webpack config 2022-04-14 13:49:51 +08:00
Chi-Hsuan Huang 0ed8911875 Update admin docs README.md 2022-04-14 13:49:51 +08:00
Chi-Hsuan Huang a97df494e5 Update woocommerce-admin README.md 2022-04-14 13:49:51 +08:00
Chi-Hsuan Huang 616d318203
Merge pull request #32602 from woocommerce/fix/client-dashboard-type
Fix typescript annotations in react admin `./client/dashboard`
2022-04-14 13:48:16 +08:00
Chi-Hsuan Huang 272394ae9b
Merge pull request #32599 from woocommerce/update/remove-admin-github-folder
Remove woocommerce-admin .github folder
2022-04-14 13:40:38 +08:00
Chi-Hsuan Huang 863316ade7
Merge pull request #32518 from woocommerce/update/32516-woocommerce-admin-links
Update woocommerce-admin links to point to woocommerce repo
2022-04-14 13:40:25 +08:00
RJChow fdd9b1bbb8 Added type guard for locale and unit tests for isAddressFieldRequired 2022-04-14 12:53:45 +08:00
Chi-Hsuan Huang b69a923695 Update admin's webpack config
- Remove unnessary settings
- Refactor config to make it easier to read
2022-04-14 12:10:10 +08:00
Chi-Hsuan Huang adda46cc7b Document Admin’s webpack config 2022-04-14 12:09:00 +08:00
Chi-Hsuan Huang afc8217bcc Remove woocommerce-admin/tests 2022-04-14 11:48:52 +08:00
Ilyas Foo 1a129a2354 Change recommended ribbon to Pill 2022-04-14 10:52:12 +08:00
Ilyas Foo 6f8cb2b536 Merge remote-tracking branch 'origin/trunk' into update/32132-payment-logic-in-task-and-settings 2022-04-14 09:48:39 +08:00
Ilyas Foo 54ea7c9cbe Revert previous image attribute to preserve old images and new icons are replace with new attribute 2022-04-14 09:45:27 +08:00
Ilyas Foo adbc101312 Update logic to only show additional gateways when other is installed and wcpay isnt eligible 2022-04-14 08:39:55 +08:00
Ilyas Foo 39c57c802f Fix tests 2022-04-14 08:38:42 +08:00
Ilyas Foo c81d749781 Fix cases when gateway is disabled but has been set up 2022-04-14 08:37:53 +08:00
Joel T 0ec373734f Replacing condition depending on pageTitle due to translation issues 2022-04-13 16:24:55 -07:00
Joel T bc9ce569b0 Adding Products screens to those that will not show tasks reminder bar 2022-04-13 13:08:13 -07:00
Lourens Schep f15e38f55e Fix minor css issues with complete task list item 2022-04-13 16:01:31 -03:00
louwie17 212198b3c4
Merge pull request #32302 from woocommerce/feature/32164_new_task_list_version_2
Add sectioned task list component
2022-04-13 13:56:27 -03:00
RJ fe1c83de1e
Merge pull request #32559 from woocommerce/fix/wca-webpack-unminify
Changed unminify plugin to hook into step before optimization
2022-04-13 23:37:21 +08:00
Lourens Schep 60e288c849 Update illustrations and fix potential update delay 2022-04-13 12:15:05 -03:00
Lourens Schep 0c91a56f1f Address minor PR feedback and UI issues 2022-04-13 11:20:26 -03:00
Ilyas Foo f1d8cbe15c Add support for external links for payment gateways 2022-04-13 21:39:44 +08:00
Lourens Schep 3bb9c18a2d Update hover color 2022-04-13 09:58:09 -03:00
Lourens Schep 56cb47e059 Fix css lint errors 2022-04-13 09:58:09 -03:00
Lourens Schep 7547901e7d Update number of task list badge and adjust styling 2022-04-13 09:58:09 -03:00
Lourens Schep dfa342f400 Update unchecked checkbox border for task list 2022-04-13 09:58:09 -03:00
Lourens Schep 954be3997d Realign header image 2022-04-13 09:58:09 -03:00
Lourens Schep fd30323288 Fix section title and list alignment 2022-04-13 09:58:09 -03:00
Lourens Schep 7bdaea6195 Add progress header to sectioned task list and made some additional little changes 2022-04-13 09:58:09 -03:00
Lourens Schep df0acb9286 Add changelog 2022-04-13 09:58:09 -03:00
Lourens Schep 68efbafcb5 Add sectioned task list component 2022-04-13 09:58:09 -03:00
Ilyas Foo 202f9df078 Fix tests 2022-04-13 19:12:25 +08:00
Chi-Hsuan Huang c829aacfc7 Fix typescript annotations in react admin ./dashboard 2022-04-13 16:57:58 +08:00
Ilyas Foo b7159dbfc9 Add test 2022-04-13 15:43:07 +08:00
Ilyas Foo 7bebe192e9 Update logic to show only additional category when applicable 2022-04-13 15:13:15 +08:00
Chi-Hsuan Huang 4760b10cc8 Remove admin .github folder 2022-04-13 14:40:27 +08:00
Ilyas Foo 31bcf06ac8
Merge pull request #32467 from woocommerce/dev/32131-ui-changes-additional-payment-section
UI changes for set up payments task
2022-04-13 12:52:46 +08:00
Chi-Hsuan Huang e627fb344e
Merge pull request #32582 from woocommerce/fix/admin-clean-cmd
Fix `pnpm nx clean woocommerce-admin` command
2022-04-13 12:36:36 +08:00
Fernando 0a3359d1ac
Merge pull request #32527 from woocommerce/add/32141_pinterest_extension_to_obw
Add Pinterest extension to onboarding wizard and marketing task
2022-04-12 15:58:48 -03:00
louwie17 c10a9cfd63
Merge pull request #32507 from woocommerce/fix/32128_experiment_1_ui_issues
Fix experiment 1 UI issues
2022-04-12 11:27:30 -03:00
Moon bb9bc378cf
Merge pull request #32447 from woocommerce/update/32130-ui-changes-to-the-recommended-payment-options
UI changes to the recommended payment options
2022-04-12 05:30:18 -07:00
Fernando Marichal db7b1ba035 Add Pinterest to help panel 2022-04-12 09:26:54 -03:00
Chi-Hsuan Huang 13720a663e Fix admin clean command 2022-04-12 15:47:03 +08:00
Ilyas Foo 0b2df9a956 Fix text domain, standardize component conditional, remove unnecessary comment 2022-04-12 10:52:11 +08:00
Ilyas Foo 7cca9642f4 Remove enabled section 2022-04-12 10:09:07 +08:00
Chi-Hsuan Huang 0dcea11bf0
Merge pull request #32531 from Saggre/fix/table-card-docs
Fix TableCard component docs
2022-04-12 08:59:43 +08:00
moon becc53d645 Make sure paymentGatewaySuggestions is defined 2022-04-11 09:55:18 -07:00
moon 5b31f5acf4 Do not show payment recommendations if store owner is in a country where WC Payment is supported 2022-04-11 07:34:07 -07:00
RJChow 464bcb7783 Changed unminify plugin to hook into step before optimization 2022-04-11 21:54:48 +08:00
Lourens Schep 8eb03eba46 Remove commented out code 2022-04-11 10:19:30 -03:00
Lourens Schep 5251aa6e97 Fix lint issue 2022-04-11 10:18:17 -03:00
Lourens Schep c3b1352f90 Make sure activity header does not show when displaying task list with progressive header 2022-04-11 10:18:14 -03:00
Lourens Schep 10e9c6c5f9 Fix experiment UI issues 2022-04-11 10:16:44 -03:00
Joshua T Flowers 700633957c
Update progress header bar styles in task list (#32498)
* Update progress header bar styles in task list

* Remove units on margin

* Add changelog entry
2022-04-11 08:08:28 -04:00
Ilyas Foo 1f77200e70 Add missing track prop 2022-04-11 15:57:26 +08:00
Ilyas Foo c8b6bd91e0 Update payment gateway logos 2022-04-11 14:24:08 +08:00
Ilyas Foo 90c61e4bad Revert WCPay suggestion UI changes 2022-04-11 11:55:05 +08:00
Ilyas Foo 829b4c4480 Merge remote-tracking branch 'origin/trunk' into dev/32131-ui-changes-additional-payment-section 2022-04-11 09:42:23 +08:00
louwie17 f7937593e9
Merge pull request #32473 from woocommerce/feature/32164_new_task_list_loading_placeholder
New task list loading placeholder for experiment 1
2022-04-08 09:55:45 -03:00
Fernando 61e0a51854
Merge pull request #32506 from woocommerce/fix/hidden_wcpay_task
WCPayments task is not visible after installing the plugin
2022-04-08 09:05:21 -03:00
Sakri Koskimies b6310900de Fix TableCard component docs 2022-04-08 11:21:53 +03:00
Chi-Hsuan Huang f3e460f055 Remove i18 commands and their dependencies
i18 routines have been handled inside plugins/woocommerce.
2022-04-08 12:45:34 +08:00
Chi-Hsuan Huang 870d523455 Reorder woocommerce admin package.json scripts 2022-04-08 12:38:17 +08:00
Chi-Hsuan Huang a649fe6ae2 Remove no needed commands and fields in package.json 2022-04-08 12:36:26 +08:00
Chi-Hsuan Huang ba17630dca
Merge pull request #32515 from woocommerce/update/32296-wordpress-dependencies
Update @wordpress/* dependencies
2022-04-08 10:08:48 +08:00
Chi-Hsuan Huang dc243bd34c
Merge pull request #32411 from woocommerce/fix/32399-husky
Fix husky git hooks
2022-04-08 10:08:27 +08:00
Christopher Allford 1e3a3d8af5
Merge pull request #32500 from woocommerce/fix/feature-config-file-location
Move feature flag config files to Woocommerce plugin
2022-04-07 12:49:03 -07:00
Chi-Hsuan Huang 3fc88f0a71 Update links of woocommerce-admin to https://github.com/woocommerce/woocommerce 2022-04-07 17:02:43 +08:00
Chi-Hsuan Huang 826d9ad59f
Merge pull request #32489 from woocommerce/update/simpliy-init-routine
Simplify the WooCommerce Admin init routine
2022-04-07 16:01:16 +08:00
Chi-Hsuan Huang 3443387045 Update @wordpress/icons from ^6.3.0 to ^8.1.0 2022-04-07 14:24:19 +08:00
Chi-Hsuan Huang 317dd7c9e9 Update @wordpress/base-styles from ^3.6.0 to ^4.3.0 2022-04-07 14:21:33 +08:00
Chi-Hsuan Huang c60db1215e Update @wordpress/hooks from ^2.12.3 to ^3.5.0 2022-04-07 14:18:13 +08:00
Chi-Hsuan Huang 70359c8d11 Update @wordpress/a11y from ^2.15.3 to ^3.5.0 2022-04-07 14:16:46 +08:00
Fernando Marichal fcc7143207 Add alreadyActivatedExtensions to persisted business extensions 2022-04-06 14:01:36 -03:00
Ilyas Foo f82b5d78f1 Fix css and test 2022-04-06 21:31:50 +08:00
Chi-Hsuan Huang 2b1f54b09d Set up lint-staged configuration for each package 2022-04-06 17:31:32 +08:00
Chi-Hsuan Huang 01edee8d90 Remove lint-staged.config.js 2022-04-06 17:31:32 +08:00
Chi-Hsuan Huang a4ece1b7b9 Remove husky lint-staged from plugins/* 2022-04-06 17:31:32 +08:00
Chi-Hsuan Huang ae44908f33 Move .husky to root path
Add .husky
2022-04-06 17:31:32 +08:00
Ilyas Foo ffdf1e6c02 More adjustments 2022-04-06 16:25:33 +08:00
Ilyas Foo 3050cacc39 Minor adjustments 2022-04-06 16:25:33 +08:00
Ilyas Foo 1980fac6fd Revamp WCPay suggestion in payments task 2022-04-06 16:25:32 +08:00