Commit Graph

51436 Commits

Author SHA1 Message Date
Ron Rennick d62b2995b5
WC_Data: Add method `delete_matched_meta_data` (#37667) 2023-04-13 19:10:47 -03:00
Corey McKrill 4f38c051bf
Change method name to delete_meta_data_value 2023-04-13 13:45:02 -07:00
Jonathan Lane 9982899d3f
Fix for the e2e variable product test (#37714)
Co-authored-by: Jon Lane <jon.lane@automattic.com>
2023-04-13 21:37:06 +01:00
Joel Thiessen 038b97a318
Add edit product link modal under name field (#37612) 2023-04-13 08:56:47 -07:00
Barry Hughes fdd01353df
Remove unique constraint from order_key to prevent empty key conflict. (#37594) 2023-04-13 08:50:23 -07:00
Joel Thiessen fb12ad20fd
Replacing rest_namespace modification with middleware due to blocks issues (#37621) 2023-04-13 08:45:50 -07:00
Ilyas Foo a02d0a8117
Fix invalid return callback ref warning (#37655)
* Fix invalid return in callback ref and add tests

* Changelog
2023-04-13 23:16:45 +08:00
Vedanshu Jain 408cf92ab0
Better changelog messaging.
Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>
2023-04-13 12:59:53 +05:30
Dano 252c2593b2
Updated task progress header title (#37546)
* Updated task progress header title

## Issue
Special characters in site titles would not render as readable text in the mentioned title.

## Summary
Updated task progress header title to support special characters using the dangerouslySetInnerHTML function was a ready solution used throughout the application, so it makes sense to apply it here as well.

* Import sanitizeHTML

* Add changelog

* Tweak changelog

---------

Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
2023-04-13 11:42:22 +08:00
Tam Mullen 2f75edf505
e2e Tweak flakey can create product, attributes and variations test (#37614)
* move e2e test event listener for handling the link_all_variations confirmation dialog

* A couple of additional test enhancements

---------

Co-authored-by: Jon Lane <jon.lane@automattic.com>
Co-authored-by: Jonathan Lane <lanej0@users.noreply.github.com>
2023-04-12 16:02:47 -07:00
Leif Singer e57279148e
Getting started: install pnpm@7 until we've sorted out upgrading it (#37689) 2023-04-12 14:34:38 -07:00
Paul Sealock 78ff0195b9
Monorepo Utils: Add Code Freeze date function (#37589) 2023-04-13 09:28:53 +12:00
Fernando Marichal 1187df9d82
Add Tracks events to variations tab (#37607)
* Refactor `product-tracking` file

* Add variations tracks events

* Add changelog

* Refactor method `addProductAttributesTracks`

* Add `remove_variation` Tracks event

* Modify code comments

* Rename `query` prop

* Modify `generate_variations` event to be recorded after confirmation

---------

Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2023-04-12 16:37:23 -03:00
Paul Sealock 8784d7c27a
Monorepo Utils: Fix permisions (#37670) 2023-04-13 07:10:02 +12:00
Matt Sherman 0247cea4b9
e2e: Reset variable product tour after running variable product tests (#37680)
* Reset variable product tour after tests run
* Refactor product deletion cleanup
* Refactor product page URL
2023-04-12 14:46:58 -04:00
Fernando Marichal 2722ef4763
Item controls for attribute creation are always visible (#37620)
* Fix dropdown menu style

* Move items

* Add changelog

* Remove class `select`

---------

Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2023-04-12 14:30:15 -03:00
Chi-Hsuan Huang 77bdd24aa8
Revert "Check min. WP and PHP versions before suggesting plugins" (#37674)
Revert "Check min. WP and PHP versions before suggesting plugins (#37611)"

This reverts commit 30536f636e.
2023-04-12 16:46:21 +08:00
Chris Lilitsas e8c8581a4e
Fix TT2 styles and typography in the single product's attributes table (#37639) 2023-04-12 09:54:58 +02:00
Chris Greys 61da4c6161
Dev - Allow to filter wc_help_tip output (#37485)
Co-authored-by: Néstor Soriano <konamiman@konamiman.com>
2023-04-12 09:52:18 +02:00
github-actions[bot] a740126564
Delete changelog files based on PR 37641 (#37653)
Delete changelog files for 37641

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-04-12 08:59:53 +02:00
Corey McKrill 3c64b953a0
Update doc block 2023-04-11 16:02:01 -07:00
Corey McKrill b389a4e8ae
Add changelog file 2023-04-11 15:58:27 -07:00
Corey McKrill d8ec0490cb
Add unit test 2023-04-11 15:55:27 -07:00
Corey McKrill d4d375e874
WC_Data: Add method `delete_matched_meta_data`
Brings the CRUD layer's meta data handling closer to parity with
WP by allowing for selectively deleting meta entries with a specific
key only if they contain a specific value.

Fixes #37650
2023-04-11 15:51:38 -07:00
Paul Sealock c4a7e9a11b
Monorepo CLI tooling: Set folder organisation (#37561) 2023-04-12 09:26:21 +12:00
Ron Rennick 450d9e9c8c
FlexSlider uses Web Animations API for "slide" instead of $.animate() (#36987) 2023-04-11 16:50:59 -03:00
Moon 30536f636e
Check min. WP and PHP versions before suggesting plugins (#37611)
* Add min_php_version for google and pinterest extensions

* Hide extensions that do not meet the min php version requirement.

* Add min_wp_version

* Add changelog

* Revert code style
2023-04-11 12:22:15 -07:00
Ron Rennick 9ee2307b65 Merge branch 'trunk' into flexcss 2023-04-11 16:00:53 -03:00
Maikel David Pérez Gómez f5591b7c9a
Add track inventory field to inventory section (#37585) 2023-04-11 11:52:20 -07:00
Barry Hughes f45e112f65
Update/contribution guide 2023 03 03 (#37559) 2023-04-11 08:37:50 -07:00
Maikel David Pérez Gómez 8354ae2792
Create schedule sale pricing block (#37567)
* Create schedule sale pricing block

* Add auto show/hide and clean fields depending on the initial values

* Add validations to From and To dates fields

* Add changelog files

* Align block with the figma design

* Revert linter replacement in the editor global style.scss file

* Fix some words typos

* Move and rename schedule sale block to the blocks folder

* Load datetime format from @wordpress/date instead of using the woo options datastore

* Remove the min difference using by moment to compare dates from 'minute' to undefined

* Make sure the dates are normalized for comparison
2023-04-11 10:53:37 -04:00
Nathan Silveira fa4dd90401
Change link all variations label (#37632) 2023-04-11 11:44:27 -03:00
Darren Ethier 50593c5257
Fix issue that breaks the WooCommerce Home Page when Gutenberg 15.5 is active (#37641)
Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
Co-authored-by: rjchow <me@rjchow.com>
2023-04-11 15:27:38 +08:00
Chi-Hsuan Huang 4cc6644c8b
Add default priority for countries that don't exist in payment recommendation map (#37590)
* Add default priority for countries that are not in the payment recommendation map

* Add changelog

* Add doc

* Fix linting
2023-04-11 14:13:59 +08:00
Nathan Silveira 5d68259480
Add different confirmation message when attribute is used in a variation (#37527)
* Add different confirmation message when attribute is used in a variation

* Update logic to only consider checkbox checked value when prompting message
2023-04-10 17:44:51 -03:00
Ron Rennick 054471618e
Dev - Add customer object parameter to taxable address filter (#37426) 2023-04-10 13:36:06 -03:00
Matt Sherman a054ddbf50
Beta Tester: Update WCA Test Helper option modal to show full option name (#37495)
* Adjust options modal so that option name is not cut off

* Changelog
2023-04-10 08:36:13 -04:00
Matt Sherman 5dda0aac48
Beta Tester: Update WCA Test Helper Features list (#37483)
* Alphabetize features list

* Use toggles instead of button for features

* Changelog
2023-04-10 08:34:38 -04:00
Corey McKrill 152f0d3793
Make HPOS migration more strict by removing IGNORE. (#37595) 2023-04-07 12:30:48 -07:00
Jorge A. Torres c0efe1f2f5
Remove double checking for woocommerce_tax_display_cart filter (#37617) 2023-04-07 08:43:27 -05:00
Vedanshu Jain 40d823df5c Coding standard fix. 2023-04-07 18:31:21 +05:30
Vedanshu Jain 835d089fb7 Add changelog. 2023-04-07 18:11:32 +05:30
Vedanshu Jain e85e68e0c5 Merge branch 'trunk' into pr/36885 2023-04-07 18:07:24 +05:30
Vedanshu Jain e0327e3223 Fixup in unit test. 2023-04-07 18:06:55 +05:30
Barry Hughes 2396eb8e4c
Add link to GitHub Discussions per DevAdv feedback. 2023-04-06 12:24:35 -07:00
Ron Rennick ac06ebda1d
Enable WebP images in WooCommerce (#37307) 2023-04-06 16:22:48 -03:00
Barry Hughes 7cde8d500e
Merge branch 'trunk' into update/contribution-guide-2023-03-03 2023-04-06 12:15:00 -07:00
Anastasio 0d93e92bd1 Merge remote-tracking branch 'upstream/trunk' into woocommerce-webp-support 2023-04-06 21:39:42 +03:00
Ron Rennick b0f042e252 Merge branch 'trunk' into woocommerce-webp-support 2023-04-06 14:54:41 -03:00
Ron Rennick 8be211b45b
Change default order to ‘date DESC’ in orders list table (#37565) 2023-04-06 14:27:09 -03:00