Commit Graph

52946 Commits

Author SHA1 Message Date
Sam Seay d08780f139
Bump beta tester to 2.2.2 in prep to release bugfixes (#39603) 2023-08-09 13:06:02 +12:00
Sam Seay 3a6c3cde9f
Code analyzer: find multiple hooks in single patch, add tests (#39566) 2023-08-09 13:05:00 +12:00
Christopher Allford 4549bc82c5
Applied PHPCS To Beta Tester (#39476) 2023-08-08 17:20:34 -07:00
Fernando Marichal 8f147eafb2
[E2E test coverage]: Disable block product editor (#39493)
* Remove ENABLE_NEW_PRODUCT_EDITOR

* add block-product-editor.spec.js

* Remove old editor tests

# Conflicts:
#	plugins/woocommerce/tests/e2e-pw/tests/new-product-editor/new-product-editor.spec.js

* Add changelog

* Improve `isNewProductEditorEnabled`

* Refactor enable-block-product-editor

* Fix enabling

* Fix NEW_EDITOR_ADD_PRODUCT_URL

* Add test disable new product editor

* Add changelog

* Clean code

* Fix disabling

* Moved methods

* Fix comment

* Fix url

* Add `clickOnTab` function

* Add "general-tab"

* Add changelog

* Add sale price

* Rename file

* Rename file

* rename file again

* Fix product creation tests

* Fix  test

* add block-product-editor.spec.js

* Improve `isNewProductEditorEnabled`

* Refactor enable-block-product-editor

# Conflicts:
#	plugins/woocommerce/tests/e2e-pw/tests/merchant/products/block-editor/enable-block-product-editor.spec.js

* Fix enabling

* Add test disable new product editor

* Add changelog

* Clean code

* Fix disabling

* Moved methods

* Fix comment

* Fix url

* Add `clickOnTab` function

* Add "general-tab"

* Add changelog

* Add sale price

* Rename file

* Rename file

* rename file again

* Fix product creation tests

* Fix  test

* Remove expect not used
2023-08-08 15:36:22 -07:00
github-actions[bot] af52065798
Update changelog.txt from release 8.0.0 (#39631)
Prep trunk post release 8.0.0

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-08-08 16:22:25 -05:00
github-actions[bot] e5fa243683
Delete changelog files based on PR 39625 (#39628)
Delete changelog files for 39625

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-08-08 13:17:44 -05:00
Barry Hughes e62af256f2
Rollback condition from delete flow as causes issues with no HPOS tables (#39625) 2023-08-08 10:35:01 -07:00
Vedanshu Jain b3e011aa2b Rollback condition from delete flow as causes issues with no HPOS tables. 2023-08-08 22:14:29 +05:30
github-actions[bot] c76fff2f6a
Delete changelog files based on PR 39616 (#39624)
Delete changelog files for 39616

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-08-08 11:07:28 -05:00
Vedanshu Jain d4141958b2
Set the orders table exist option if its not set. (#39616)
* Set the orders table exist option if its not set.

* Add changelog.

* Must use yoda conditions.

* Remove unnecessary option set.
2023-08-08 13:01:00 -03:00
louwie17 75d64ee063
Create global attributes by default (#39548)
* Add support to attribute control for creating global attributes

* Add create global attribute to variation block

* Add changelog

* Invalidate the attributeTerm search after creating a new attribute term
2023-08-08 12:54:11 -03:00
Maikel David Pérez Gómez 8d8d315d66
Focus the first attribute field when opening the modal (#39549)
* Focus the first attribute field on modal shown

* Add changelog file

* Remove setTimeout to focus the attribute dropdown field
2023-08-08 10:50:11 -04:00
Maikel David Pérez Gómez b546e4fb17
Manage default variation option (#39570)
* Add default attributes property to the Product type

* Add change log file

* Set default attributes when click add from the attribute options modal

* Add Set default value checkbox to the edit attribute modal

* Manage default attributes when update or delete an attribute option

* Show Set default value only when the editing attribute is used for variations

* Add change log file
2023-08-08 10:41:26 -04:00
Vedanshu Jain 9c13c21ec8
Execute order update logic earlier in the request (#39590) 2023-08-08 18:59:49 +05:30
Fernando Marichal d5d282dafa
[E2E test coverage]: Enable block product editor (#39463)
* Remove ENABLE_NEW_PRODUCT_EDITOR

* add block-product-editor.spec.js

* Remove old editor tests

# Conflicts:
#	plugins/woocommerce/tests/e2e-pw/tests/new-product-editor/new-product-editor.spec.js

* Add changelog

* Improve `isNewProductEditorEnabled`

* Refactor enable-block-product-editor

* Fix enabling

* Fix NEW_EDITOR_ADD_PRODUCT_URL
2023-08-08 10:14:08 -03:00
Maikel David Pérez Gómez d3702c53ba
Add product visibility blocks (#39477)
* Add catalog visibility block

* Add product search visibility block

* Add changelog files

* Fix linter errors

* Remove non necesary block

* Add catalog_visibility property to the Product type
2023-08-08 09:58:00 -03:00
Sam Seay e8c3808527
Upgrade TypeScript to v5.1 (#39531) 2023-08-08 16:35:31 +12:00
Alefe Souza 428feb58a7
Update WCPay banners for WooPay (#39596)
* Update WCPay banners for WooPay

* Fix unit tests

* Always checks for WooPay eligibility

* Use existing method to determine WooPay eligibility

* Create is_woopay_eligible method
2023-08-07 19:17:59 -07:00
Joel Thiessen 144bf08293
Generating the short description on the product editor (#39237)
* [Woo AI] Generate short description after long description is generated.
2023-08-07 14:03:52 +02:00
Barry Hughes c4f00719de
Fire 'woocommerce_process_shop_order_meta' only once when updating orders on the admin (#39587) 2023-08-04 15:41:29 -07:00
github-actions 406fd408dc Add changefile(s) from automation for the following project(s): woocommerce 2023-08-04 21:45:16 +00:00
Joshua T Flowers 63ca33ae35
Fix toolbar button text not showing in WP 6.3 (#39572)
* Fix toolbar button text not showing in WP 6.3

* Add changelog entry
2023-08-04 16:23:09 -05:00
Chris Runnells 017be8b7e5
Replace 'end' CSS props with 'flex-end' when using 'display: flex' (#39419) 2023-08-04 11:12:05 -10:00
Fernando Marichal a436b3b3a4
Fix selection of term after clicking the value name (#39574)
* Fix select attribute values

* Add changelog

* Move changelog

* Remove 'list-item' class name
2023-08-04 15:40:32 -05:00
Jorge Torres 90919db69c Execute order update logic earlier in the request 2023-08-04 17:32:59 -03:00
Jorge Torres 9c05efbe3f Add changelog 2023-08-04 17:18:07 -03:00
Jorge Torres 083cc6d4a1 Do not run `WC_Admin_Meta_Boxes::save_meta_boxes()` for HPOS orders 2023-08-04 17:18:07 -03:00
github-actions[bot] bf2d2b6bc3
Delete changelog files based on PR 39582 (#39592)
Delete changelog files for 39582

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-08-04 15:15:41 -05:00
Luigi Teschio 5d68832fd5
bump WooCommerce blocks version to 10.6.4 (#39582) 2023-08-04 15:13:27 -05:00
github-actions[bot] 106ca182e5
Delete changelog files based on PR 39584 (#39589)
Delete changelog files for 39584

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-08-04 14:26:47 -05:00
Barry Hughes b617622290
Remove no-op migration from 8.0. (#39584) 2023-08-04 12:23:38 -07:00
barryhughes dd3187844d Temporarily skip problematic test (tested feature remains experimental). 2023-08-04 11:41:36 -07:00
barryhughes 3f58ac3e5b Remove no-op migration from 8.0. 2023-08-04 09:30:37 -07:00
Sam Seay d64e1c24dd
Beta Tester: Do not run code in tracks debug unless WC_ABSPATH is defined. (#39486)
* Do not run code in tracks debug unless WC_ABSPTAH is defined.

* Add changefile(s) from automation for the following project(s): woocommerce-beta-tester

* Also avoid registering scripts if Woo is not installed.

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-08-04 12:29:07 +08:00
Paul Sealock b14653ede0
WooCommerce Docs: Delete posts when it removed from the manifest (#39395) 2023-08-04 14:00:50 +12:00
nigeljamesstevenson 0d8d824b47
Prevent read on sync while inside a backfill. (#39450) 2023-08-04 00:48:28 +01:00
nigeljamesstevenson d2fb10fcae
Update locator to reduce flakiness when running tests against an external site (#39375)
* Update locator to reduce flakiness when running tests against an external site

* changelog update
2023-08-03 14:01:52 -07:00
Moon 3c07a03943
Update/79113 incorrect subheading style and copy on wc core profiler (#39526)
* Use -webkit-font-smoothing: antialiased for core profiler subheadings

* Remove subheading letter-spacing
2023-08-03 11:26:52 -07:00
Faisal Alvi 2cac4e4f41
Fix #38716 Detect the first `<h2>` tag to fix Test failure (#38717)
* Fix #38716

* Adding changelog

* update changelog
2023-08-03 10:31:25 -07:00
Darren Ethier d39c0992a5
Adding theme docs structure (#39564)
* Initial theme doc folder structure

* condense to one doc for marketplace-guidelines

Content will be implemented in separate PR.
2023-08-03 11:13:09 -04:00
github-actions[bot] 9fc67703ff
Delete changelog files based on PR 39560 (#39568)
Delete changelog files for 39560

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-08-03 09:53:32 -05:00
Maikel David Pérez Gómez b5db405265
Feedback bar is mis-aligned; transient notices overlap (#39233)
* Fix the feedback bar alignment to be centered

* Move the transient notices to the top of the feedback bar

* Add changelog file

* Remove feedback bar animation
2023-08-03 10:06:45 -04:00
jonathansadowski eb210907e0
Update workflow to not add label when PR has already been analyzed (#39545) 2023-08-03 08:35:51 -05:00
Luigi Teschio 6d920da52a
bump WC Blocks to 10.6.3 (#39560) 2023-08-03 10:31:23 +02:00
github-actions[bot] 34a8273268
Delete changelog files based on PR 39523 (#39558)
Delete changelog files for 39523

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-08-02 16:05:22 -05:00
github-actions[bot] 4ff45b55c5
Delete changelog files based on PR 39537 (#39556)
Delete changelog files for 39537

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-08-02 15:59:38 -05:00
github-actions[bot] 037772403c
Delete changelog files based on PR 39520 (#39554)
Delete changelog files for 39520

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-08-02 15:58:05 -05:00
Corey McKrill a2adac35db
Set the HPOS-related features back to "experimental" (#39520)
We determined that there are a few more issues that need to be resolved before HPOS can be classified as a "mature" feature.
2023-08-02 11:00:31 -07:00
Vedanshu Jain 8cf7377224
Add sync and usage flags to legacy features. (#39537)
* Add sync and usage flags to legacy features.

* Use transient instead of constant.

* Add unit test and changelog.

* Add more robustness to unit test by adding more setting values.

* PHPCS fixes

---------

Co-authored-by: Jorge Torres <jorge.torres@automattic.com>
2023-08-02 10:38:25 -07:00
louwie17 1212fcb689
Add new variation modal (#39522)
* Hook up add new variations options modal

* Fix duplicate logic and test

* Add changelog

* Match local attributes by name case incentive

* Remove console log

* Make use of some function instead of findIndex
2023-08-02 14:29:09 -03:00