Commit Graph

7145 Commits

Author SHA1 Message Date
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
Alexandre Froger 962332f3f1 Fix issue #31477
data.coupon_code undefined in checkout.js
2022-04-14 13:47:26 -07:00
Joel Thiessen 35440c9b56
Supressing tasks reminder bar on products screen and addressing translation issue #32526 2022-04-14 12:06:20 -07:00
Fernando Marichal 2d3450fa66 Mark marketing task as complete when an extension is installed 2022-04-14 15:39:50 -03:00
Josh Betz daa25e93cb
Merge pull request #32613 from woocommerce/fix/exclude-drafts-in-reports
Reports: Don't include auto-draft orders in reports
2022-04-14 12:56:33 -05:00
Nadir Seghir 5040a10d01 update to wc blocks to 7.4.1 2022-04-14 17:59:02 +01:00
Claudio Sanches 99bf4afd26 Added changelog entry 2022-04-14 13:27:08 -03: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
Saad Tarhi d56f00e832 Update WooCommerce blocks package to 7.4.0 2022-04-14 15:30:31 +00:00
Fernando 4b7eb80d3f
Merge pull request #32626 from woocommerce/fix/32141_remove_pinterest_extension_from_obw
Remove Pinterest extension from OBW
2022-04-14 12:30:12 -03:00
Josh Betz de086a684e Add changelog 2022-04-14 10:13:19 -05:00
Josh Betz f384581e67 Reports: Don't include auto-draft orders in reports
We use auto-draft in the the API
(https://github.com/woocommerce/woocommerce/pull/31290) and to some
extent in wp-admin. These orders should not impact reporting.

Fixes https://github.com/woocommerce/woocommerce-ios/issues/6626
2022-04-14 10:08:53 -05:00
Fernando Marichal ab319ad9ef Add changelog 2022-04-14 11:50:03 -03:00
Jorge A. Torres f3865ca543
Merge pull request #32623 from woocommerce/revert-31779-fix/31729-add-menu-page-arg
Revert "Use integers for menu page priority."
2022-04-14 11:47:43 -03:00
Fernando Marichal 1998203b6e Remove Pinterest extension from OBW 2022-04-14 11:36:53 -03: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
vedanshujain 821ee8dc58 Adds changelog 2022-04-14 18:33:37 +05:30
Lourens Schep d59fa94d2f Add sectioned task list loading placeholder component 2022-04-14 09:48:53 -03:00
Vedanshu Jain 1b52d6d76d
Revert "Use integers for menu page priority." 2022-04-14 18:14:35 +05:30
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 aae79959de Add changelog 2022-04-14 19:01:16 +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 83e6e39ad8
Merge pull request #32622 from woocommerce/remove/admin-feature-plugin-env
Pass `WC_ADMIN_PHASE=core` to build commands & Remove "plugin" env
2022-04-14 17:55:22 +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 075be718e9 Add changelog 2022-04-14 17:23:50 +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
Ilyas Foo e6458fafe0 Standardize image path 2022-04-14 17:08:13 +08:00
RJ 8f42179cee
Merge pull request #32603 from woocommerce/fix/broken-i18n-from-wca-merge
Added temporary path fixes to fix broken i18n due to path changes
2022-04-14 17:03:53 +08:00
Chi-Hsuan Huang c813c3bc5f Remove "plugin" environment from admin feature plugin 2022-04-14 16:40:35 +08:00
Chi-Hsuan Huang 7f55756ffe Add changelog 2022-04-14 16:24:31 +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
Moon daee87d145
Merge pull request #32591 from woocommerce/update/32522-remove-deactivation-hooks-from-wca
Update WCA deactivation hook to use WC_PLUGIN_FILE
2022-04-13 18:41:33 -07: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
Ilyas Foo 197c613f07 Add changelog 2022-04-14 08:12:19 +08:00
moon f514c81074 Fix broken tests 2022-04-13 17:11:44 -07:00
Ilyas Foo e7ce043e94 Update gateway countries 2022-04-14 07:58:56 +08:00
moon 09a85d9cb4 Remove wc_admin_update_140_change_deactivate_plugin_note_type -- no longer needed 2022-04-13 16:53:33 -07:00
Barry Hughes a761cb8ebc
Merge pull request #31012 from RatulHasan/fix/unsupported_operand_types
Fix/unsupported operand types
2022-04-13 16:38:43 -07:00
moon c80aba8450 Remove install.php 2022-04-13 16:33:16 -07:00
moon 1a978411eb Add phpcs ignore rules 2022-04-13 16:32:57 -07:00
moon 73a6292755 Remove wc_admin_update_140_change_deactivate_plugin_note_type callback 2022-04-13 16:32:52 -07:00
moon ffdd8cb34a Add changelog 2022-04-13 16:32:10 -07:00
moon 24cdec7bd2 Ignore PascalCase format error 2022-04-13 16:32:10 -07:00
moon 1d290fe21b Remove use of DeactivatePlugin -- this note is no longer needed since WCA is now embeded into the core 2022-04-13 16:32:08 -07:00
moon 1375f000f6 Use WC_PLUGIN_FILE to hook deactivation -- WC_ADMIN_PLUGIN_FILE is no longer available. 2022-04-13 16:30:40 -07:00
Moon cfa828d70d
Merge pull request #32513 from woocommerce/update/32176-merge-wca-install-logic-to-core
Merge WCA install routines to the core
2022-04-13 16:29:39 -07:00
Joel T 0ec373734f Replacing condition depending on pageTitle due to translation issues 2022-04-13 16:24:55 -07:00
Joel T 932571c839 Adding changelog 2022-04-13 13:08:13 -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
barryhughes f593a2435c Use a cast to float instead of ternary. 2022-04-13 12:56:33 -07:00
ratulhasan 12719616d9 empty check 2022-04-13 12:46:12 -07:00
ratulhasan 3b4168dcbc Fix Uncaught TypeError: Unsupported operand types: string * float 2022-04-13 12:46:12 -07:00
ratulhasan 59adcb26b8 Fix Uncaught TypeError: Unsupported operand types: string * float 2022-04-13 12:46:12 -07:00
Joel Thiessen 9901b1e931
Updating deasync package to resolve build issue in linux #32510 2022-04-13 12:38:45 -07:00
Joel Thiessen 0a0c6b45cf
Merge branch 'trunk' into update/32508_pnpx_deprecated 2022-04-13 12:35:29 -07:00
Joel T 40c6ae32ff Changing dlx to exec for grunt package 2022-04-13 12:31:36 -07:00
Joel T 3b3fb00d04 Updating changelog 2022-04-13 12:01:51 -07:00
Lourens Schep f15e38f55e Fix minor css issues with complete task list item 2022-04-13 16:01:31 -03:00
Josh Betz dc095300c2
Merge pull request #32571 from woocommerce/fix/32539/order-autodraft-validation
Normalize auto-draft as a status in the abstract order class
2022-04-13 13:07:55 -05:00
Fernando 16424423bd
Merge branch 'trunk' into add/32157_tests_to_disable_welcome_modals 2022-04-13 14:33:27 -03:00
Jacob Sewell 80fec7c677
Merge pull request #32574 from woocommerce/add/32573-context-arg-for-get-notes
Add context param for get_notes and related methods
2022-04-13 12:22:19 -05: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
barryhughes 8d840c4ea0 Display but do not require Street Address 2 for Vietnam. 2022-04-13 09:20:47 -07: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
moon 818a1dcff7 Make is_installing private 2022-04-13 06:46:02 -07:00
moon b37421fb98 Do not call unnecessary create_tables() -- tables should be ready by the time we call the method 2022-04-13 06:43:06 -07:00
Ilyas Foo dae3396854 Add affirm, amazon pay, afterpay 2022-04-13 21:40:45 +08:00
Ilyas Foo f1d8cbe15c Add support for external links for payment gateways 2022-04-13 21:39:44 +08:00
RJChow 072d9b8a14 Added changelog 2022-04-13 21:22:28 +08:00
berislav grgičak 615a5d8442
Merge pull request #32534 from bgrgicak/remove/32444-featured-request-user-agent-headers
Remove featured request user agent headers
2022-04-13 15:19:06 +02:00
Lourens Schep 52922c9219 Add changelogs 2022-04-13 09:58:09 -03:00
Lourens Schep 3bb9c18a2d Update hover color 2022-04-13 09:58:09 -03:00
Lourens Schep 387dc777e6 Fix PHP I18n domain issues 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 dd8380820b Updated image urls 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 ed0fd071f0 Update category lists 2022-04-13 20:42:25 +08:00
RJChow 380d54114d Added some temporary path fixes to fix broken i18n due to path changes 2022-04-13 20:19:38 +08:00
Ilyas Foo 202f9df078 Fix tests 2022-04-13 19:12:25 +08:00
Néstor Soriano 1a77d7849e
Merge pull request #32062 from woocommerce/cot/implement-non-migrated-data-query
Implement queries for non-synchronized orders, and revamp COT related settings
2022-04-13 12:24:23 +02:00
Chi-Hsuan Huang c829aacfc7 Fix typescript annotations in react admin ./dashboard 2022-04-13 16:57:58 +08:00
Ilyas Foo 9dcd761c2a Add gateway categories for stripe, paypal, square, klarna payments, eway 2022-04-13 15:46:48 +08:00
Ilyas Foo b7159dbfc9 Add test 2022-04-13 15:43:07 +08:00
Néstor Soriano 544795e70a
Merge pull request #32569 from woocommerce/fix/downloadable-file-data
Product downloads → Support a concept of active/inactive files.
2022-04-13 09:17:03 +02: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
Christopher Allford 372ad23cc8 Updated Version & Stable Tag 2022-04-12 15:37:58 -07:00
Christopher Allford 42838bc2da Added 6.4.0 Changelog 2022-04-12 15:36:24 -07:00
Corey McKrill 667d2a0be1
Add changelog file 2022-04-12 14:15:21 -07:00
Jacob Sewell 4b9c44ebb3 Docblock linter fixes. 2022-04-12 15:46:17 -05: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
moon 2f21b3592e Add test for migrate_options 2022-04-12 11:12:19 -07:00
moon 529f43e769 Add install tests 2022-04-12 10:50:40 -07:00
moon 29a5d0a0db Remove redundant action -- woocommerce_updated and woocommerce_updated_existing are redundant 2022-04-12 10:21:15 -07:00
Fernando Marichal b85648a117 Fix fallback images URL 2022-04-12 14:08:04 -03:00
Fernando Marichal 97fca30b39 Fix fallback text 2022-04-12 12:07:10 -03:00
Barry Hughes 84392cfbf6
Merge pull request #32589 from woocommerce/issue-31347
Enable "Save changes" for variations on the admin when a textfield receives input
2022-04-12 08:05:47 -07:00
barryhughes 9f025db18a Adjust changelog entry. 2022-04-12 08:05:00 -07: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
Fernando Marichal e219a19229 Renamed `testAdminHomescreenWelcomeModal` 2022-04-12 10:38:27 -03:00
Fernando Marichal d6c216fc74 Remove `welcome-modal.test.js 2022-04-12 10:37:49 -03:00
Jorge A. Torres 566076de9b Add changelog 2022-04-12 10:23:12 -03:00
Jorge A. Torres d4d70acfd1 Enable “Save changes” in the admin variations form when textfields change 2022-04-12 09:50:01 -03:00
Fernando Marichal 17ae456868 Fix text domain 2022-04-12 09:33:57 -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
Néstor Soriano 2bdabff4e0
Merge pull request #32317 from ovidiul/31314-add-parse-file-path-filter
Adding parse_file_path filters to support remote file systems
2022-04-12 12:47:15 +02:00
Néstor Soriano 29a08dc515
Add changelog file for #32317. 2022-04-12 11:38:59 +02:00
Néstor Soriano 6155bb4094
Merge pull request #32460 from AlexTech01/patch-2
Change is_file_valid_csv to wc_is_file_valid_csv
2022-04-12 11:27:10 +02:00
Ovidiu Liuta 9c65d3bbdc
phpcs fixes 2022-04-12 12:24:12 +03:00
Ovidiu Liuta 4624ab7dde
adding filter comments 2022-04-12 11:33:12 +03:00
Néstor Soriano e13c30cfc4
Add changelog file for #32460. 2022-04-12 10:32:56 +02: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
Jacob Sewell e1db7ab0f2 Changelog for 32573/32574. 2022-04-11 21:17:59 -05:00