Commit Graph

47653 Commits

Author SHA1 Message Date
Lourens Schep cd410637fd Bump WooCommerce Admin version 2022-02-09 15:26:14 -04:00
Jon Lane 287c560692 Suppress wp.console.withState deprecation warning 2022-02-09 10:23:53 -08:00
Gabriel Nascimento a1e5ddbced remove zeroclipboard 2022-02-09 08:06:25 -08:00
Nestor Soriano 3964a2255a
Make the db utils class non-static, change the custom orders tables UI
- Rename DBUtils to DatabaseUtils, and register it in the DI container
  (instead of having it just contain static methods)

- The tool for the custom orders tables has now two shapes:
  "create tables" and "delete tables" (so no regeneration, migration...)

- Not yet used constants and methods from DataSynchronizer removed

- Added missing method comments
2022-02-09 11:58:19 +01:00
Rodel cf90bda319 Added documentation 2022-02-09 15:14:55 +08:00
Chi-Hsuan Huang e1ac06afa7 Fix payments extensions displayed below the offline payments options (https://github.com/woocommerce/woocommerce-admin/pull/8232)
* Fix payments extensions displayed below the offline payments options

Add spaces back

* Add changelog

* Remove the snapshot test and update payment gateway render test

* Make sorting compare function as a helper function
2022-02-09 14:12:20 +08:00
Chi-Hsuan Huang 6dc5189fc2 Replace "any" type with an explicit type (https://github.com/woocommerce/woocommerce-admin/pull/8262)
* Replace "any" type with an explicit type

* Add types in utils and import FormInputProps to store address
2022-02-09 12:40:44 +08:00
barryhughes b2580b29f7 Further adjust permissions for reviews (REST API). 2022-02-08 14:48:04 -08:00
louwie17 83e1addd82 Fix minor process issues (https://github.com/woocommerce/woocommerce-admin/pull/8279) 2022-02-08 18:22:26 -04:00
louwie17 7d2aa04b2a Add business-details step complete track (https://github.com/woocommerce/woocommerce-admin/pull/8265)
* Add business-details step complete track

* Add changelog

* Update tab name and treat each tab as an individual step when trickering tracks

* Add comment

* Fix linting

* Remove unnecessary css selector

* Update goToNextStep param to make it less confusing

* Update jsdoc param
2022-02-08 14:29:17 -04:00
xristos3490 741f5015e0 typo 2022-02-08 19:27:30 +02:00
xristos3490 f331dbc9d2 Move filter into the template controller 2022-02-08 19:24:55 +02:00
Néstor Soriano 87d8e93bfe
Fix argument count in hook. 2022-02-08 17:42:30 +01:00
vedanshujain fc0c45a204 Show link to create custom orders table. 2022-02-08 21:57:39 +05:30
vedanshujain 3d29e8329c Refactor and move DB related methods to util class. 2022-02-08 21:44:38 +05:30
Tim b1e7046808 Removed duplicate height style in email-styles template 2022-02-08 09:29:11 +00:00
Nestor Soriano 2e613bbd0c
Merge branch 'scafolding-for-custom-order-tables' into mvp-cot/intial-table-strucuture 2022-02-08 09:26:08 +01:00
RJ b9806c5087 Made email in OBW optional again (https://github.com/woocommerce/woocommerce-admin/pull/8263) 2022-02-08 08:56:45 +08:00
louwie17 23505c1e58 Make sure hidden fields are cleared when definition changes (https://github.com/woocommerce/woocommerce-admin/pull/8250)
* Make sure hidden fields are cleared when definition changes

* Make use of shortened condition available in TS
2022-02-07 19:31:08 -04:00
Lucas Bustamante 03614e54ae Tweak comment 2022-02-07 18:16:37 -03:00
Lucas Bustamante 0cf1b69c7a Rename/move test to more appropriate location 2022-02-07 18:13:02 -03:00
Lucas Bustamante 0bc908f8d2 CR: Spacing 2022-02-07 18:10:31 -03:00
Lucas Bustamante cd2ed17200 CR: Simplify code 2022-02-07 18:10:02 -03:00
Lucas Bustamante 299b7c0bdd Remove display_key/display_value from coupon_line on Order test 2022-02-07 18:08:26 -03:00
Lucas Bustamante ae5d23ce9f Rename property, code style changes, add developer comment 2022-02-07 18:05:06 -03:00
barryhughes f762037e61 Update permission checks for V1/V2 product review endpoints. 2022-02-07 12:58:29 -08:00
Lucas Bustamante 8b859ffb25 Merge branch 'trunk' into packages/api/json-transform-tests 2022-02-07 17:53:55 -03:00
louwie17 c2537136bb Fix shipping task step when store location isn't filled out (https://github.com/woocommerce/woocommerce-admin/pull/8260)
* Remove completeStep call in StoreLocation callback to avoid duplicate call.

* Add changelog
2022-02-07 14:55:35 -04:00
Moon 080dc48a9b Fix/8191 deleting products adds blank space to analytics data (https://github.com/woocommerce/woocommerce-admin/pull/8255)
* Retrieve variation name from woocommerce_order_items for deleted products

* Remove test code

* Refactor to use wc_order_product_lookup table

* Identation fix

* Remove link if the variation/product has been deleted

* Add changelog

* Remove (deleted) suffix

* Add (Deleted) suffix in frontend
2022-02-07 10:13:27 -08:00
jamelreid bd14664ef4 Removed test workflows 2022-02-07 09:37:23 -05:00
Nestor Soriano 7a9651ad30
Rename FeatureController to CustomOrdersTableController.
Also fix priority-args count reversed in filter hookings in that class.
2022-02-07 11:57:54 +01:00
Ilyas Foo dfdafc1568 Update headercard to use filter to add ExPlat parameter (https://github.com/woocommerce/woocommerce-admin/pull/8233)
* Add changelog

* Update headercard experiment hook to utilize `woocommerce_explat_request_args` filter

* Add test

* Fix experiment name check

* Update parameter name

* Add changelog

* Removed old changelog

* Added prop comments to Layout component

* Add preload option for homescreen

* Fix class attribute typo

* Hide extended tasklist when task detail is shown

* Add local Suspense to stop lazy component bubbling up to Controller's Suspense

* Remove unused props

* Add missed Suspense, add loading logic to ActivityHeader

Co-authored-by: Moon <moon.kyong@automattic.com>
2022-02-07 08:50:20 +08:00
Fernando Marichal eb44888a79 Fix `track_setting_change` method 2022-02-05 09:54:10 -03:00
Oscar Gare 7428e264bd woocommerce_adjust_non_base_location_prices filter not work if there is no order 2022-02-05 10:57:46 +01:00
Barry Hughes f3927c786a
Merge pull request #31819 from woocommerce/add/indices-to-product-attributes-lookup-table
Add database indices for the product attributes lookup table
2022-02-04 14:55:15 -08:00
Jamel Noel Reid 87b69a8f26
Merge pull request #31732 from woocommerce/e2e/add-force-to-test-scaffold
Add --force to test scaffold
2022-02-04 14:08:23 -05:00
Ron Rennick 3bb27bdc79 update slack export to build version 2022-02-04 14:48:56 -04:00
Jonathan Lane 5d2b764da1
Merge pull request #31835 from woocommerce/e2e/bump-default-wp
bump e2e-environment to WP 5.9.X default
2022-02-04 10:44:25 -08:00
Jonathan Lane d3183be8a5
Merge pull request #31838 from woocommerce/fix/31456
use OS path separator in installFiles
2022-02-04 10:38:50 -08:00
Jonathan Lane 6dbfe9e044
Merge pull request #31836 from woocommerce/e2e/prepare-release
Prepare E2E package releases
2022-02-04 10:30:26 -08:00
Ron Rennick 5c12aaa877 use OS path separator in installFiles 2022-02-04 14:17:54 -04:00
Fernando Marichal 59b4c806f6 Add event tracking to `Payment methods` list 2022-02-04 14:57:29 -03:00
Ron Rennick da49a03b52 bump e2e-environment to WP 5.9.X default 2022-02-04 12:36:45 -04:00
Joshua T Flowers 517d248ed7 Remove unused task styling classes (https://github.com/woocommerce/woocommerce-admin/pull/8234)
* Remove unused task styling classes

* Rename typo in dismiss modals

* Remove extra styling selector class

* Add changelog entry
2022-02-04 10:26:56 -05:00
Lucas Bustamante 6ec677643f CR: Spacing 2022-02-04 12:21:57 -03:00
Lucas Bustamante 4c8c792869 CR: Spacing 2022-02-04 12:20:59 -03:00
jamelreid 47218036f0 Updated ref 2022-02-04 10:20:16 -05:00
Joshua T Flowers e8c1c94b01 Only add product data on REST requests and task list (https://github.com/woocommerce/woocommerce-admin/pull/8235)
* Only add product data on REST requests and task list

* Add changelog entry

* Return new product data variable
2022-02-04 10:03:47 -05:00
jamelreid a0569114a4 Used context to get ref 2022-02-04 09:57:47 -05:00
jamelreid 45dbb1816d Updated ref 2022-02-04 09:52:20 -05:00