Commit Graph

51580 Commits

Author SHA1 Message Date
rodelgc 4262cd99ab Use a fixed variable product as test data to eliminate inter-dependence between tests 2023-04-14 23:14:08 +08:00
Matt Sherman d1ae3a5b44
Exclude empty attributes in count for wcadmin_product_update Tracks event (#37718) 2023-04-14 10:43:36 -04:00
Jorge A. Torres 901ef4abec
Remove section re running tests under PHP 8 (#37713) 2023-04-14 07:26:57 -05:00
rodelgc e76f452d35 Split into smaller tests 2023-04-14 17:26:58 +08:00
Vedanshu Jain dfdc2d3d8c Add null protection. 2023-04-14 14:24:09 +05:30
Vedanshu Jain 5bebfdf87f Merge branch 'trunk' into fix/37660 2023-04-14 13:30:40 +05:30
rodelgc caa6af608d Add changelog 2023-04-14 15:24:07 +08:00
louwie17 6e2c11f556
Select tree dropdown menu SlotFill support (#37574)
* Add initial select tree popover and modal story

* Add slot fill popover support

* Add changelog

* Remove unneeded use of combobox ref in select-tree

* Fix lint errors

* Address PR feedback and fix issue with parent select control

* Add changelog
2023-04-14 04:22:59 -03:00
rodelgc 0227a15e58 Initial draft for `can create product, attributes and variations` test 2023-04-14 15:07:52 +08:00
Moon a939744ac2
Delete shipping zone count cache in Shipping Task (#37693)
* Delete shipping zone count transient on woocommerce_shipping_zone_method_added and woocommerce_after_shipping_zone_object_save

* Add changelog
2023-04-13 20:16:49 -07:00
Moon b5b3e37ea9
Check min. WP and PHP versions before suggesting plugins (#37694)
* 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

* Compare PHP and WP version only when is_visible is already true

* Fix style - use yoda
2023-04-13 19:24:20 -07:00
Joshua T Flowers 697a05a9e9
Lock the product block editor template root (#37685)
* Lock the product block editor template root

* Add changelog entry
2023-04-13 17:55:44 -07:00
Joshua T Flowers b1c9ced2a5
Add a category for product editor blocks (#37347)
* Add category for product editor blocks

* Add changelog entry

* Fix php lint errors
2023-04-13 17:55:01 -07:00
Jamel Noel Reid 71cde2c856
Add support for defining WP, WC & PHP version for e2e & api tests (#37587)
* Added wp-cli.yml to test environment

* Run docker compose directly and fix permission

Running docker-compose directly circumvents the permission issues that arise occur when we try to specify a WP version for wp-env.

This commit also normalizes the permission for wp-config.php file which allows wp-cli to properly update the url structure of the site

* Added changelog

* Normalized wp-env wp-content permissions

* Added script to support setting WP Version

* Added support for setting WC & PHP versions

* Fixed phpversion update

* Fixed WooCommerce update

* Used user

* Updated changelog

* Told PHPCS to ignore file

* Added support for WP trunk

* Added support for nightly versions fo WP

* Fixed bug

* Updated docs
2023-04-13 16:06:53 -07:00
github-actions[bot] ce3d3e3cc9
Update changelog.txt from release 7.6.0 (#37717)
Prep trunk post release 7.6.0

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-04-14 00:34:24 +02:00
Joel Thiessen 247787484a
Add inventory section and SKU blocks (#37623) 2023-04-13 15:33:25 -07:00
Paul Sealock 0fda297965
Monorepo Utils: Move postinstall build to local package.json (#37688)
* add warning if package hasn't been built yet

* move postinstall script

* remove extra build in highlight flow
2023-04-14 10:11:13 +12:00
Ron Rennick d62b2995b5
WC_Data: Add method `delete_matched_meta_data` (#37667) 2023-04-13 19:10:47 -03:00
barryhughes b6201d3f8a Changelog. 2023-04-13 15:03:57 -07:00
Barry Hughes b4cd2f8dbd Remove section re running tests under PHP 8
This information became obsolete since improvements made via http://github.com/woocommerce/woocommerce/pull/36273
2023-04-13 15:03:57 -07: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
Barry Hughes 85176c0037
Tweak comment 2023-04-13 10:28:45 -07: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
rodelgc 08a6eb6c17 Merge branch 'trunk' into fix/wp-l2-retrieval 2023-04-13 18:51:53 +08:00
Vedanshu Jain 6c22ffe88d Coding standards fixes. 2023-04-13 13:28:48 +05:30
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
Corey McKrill ee1f6ed3a9
Linting fix 2023-04-12 14:32:42 -07:00
Paul Sealock 78ff0195b9
Monorepo Utils: Add Code Freeze date function (#37589) 2023-04-13 09:28:53 +12:00
Corey McKrill b2e96aaf5a
Move methods and tests to COTMigrationUtil 2023-04-12 14:25:09 -07: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
barryhughes 1f4f485e2b No changelog needed. 2023-04-12 09:34:50 -07:00
Barry Hughes c8fcc51a57
Add links to the main project README.md and DEVELOPMENT.md guides.
Related internal discussion: p1681316323858719/1681312857.759079-slack-C04US2XTBM3
2023-04-12 09:29:16 -07:00
Vedanshu Jain e8363828f7 Fixup to handle null data. 2023-04-12 18:40:19 +05:30
Vedanshu Jain 4a5db60c2a Adjust verification so that it only checks the first meta value. 2023-04-12 18:08:22 +05:30
Vedanshu Jain 2147d2abcf Add changelog. 2023-04-12 15:39:44 +05:30
Vedanshu Jain d5211bbaa6 Use first meta value instead of last to be consistent with WP_Post. 2023-04-12 15:38:58 +05:30
Vedanshu Jain 55e07451ce Add unit test for asserting that first meta is migrated. 2023-04-12 15:33:23 +05:30
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
rodelgc b4540f61d5 Add changelog 2023-04-12 15:56:20 +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