Commit Graph

51556 Commits

Author SHA1 Message Date
Ahmed a8522ffa85 add changelog of changes 2023-04-19 12:30:40 +00:00
Ahmed ef58a55b7d Fix decimal points in tests for SEK, HUF, and CZK 2023-04-19 12:26:26 +00:00
Ahmed b4bea41361 Fix decimal points for SEK, HUF, and CZK 2023-04-19 12:26:09 +00:00
Albert Juhé Lluveras 25dd44aa06
Update WC Blocks to 10.0.2 (#37818) 2023-04-19 12:08:14 +02:00
louwie17 b42da82e50
Update/34885 category field in product editor (#36869)
* Add initial custom meta box for product categories

* Make use of TreeSelectControl

* Update classnames

* Display selected items and sync with most used tab

* Always show placeholder and remove checklist container

* Reactify category metabox tabs

* Add create new category logic

* Remove unused markup

* Fix saving of empty category list

* Add callback when input is cleared as well

* Some small cleanup and refactoring.

* Add changelog

* Fix tree creation and style enqueue

* Auto fix lint errors

* Fix linting errors

* Fix css lint errors

* Add 100 limit, and address some PR feedback

* Fix some styling and warnings

* Remove unused code

* Address PR feedback

* Fix lint error

* Fix lint errors

* Address PR feedback

* Fix lint error

* Minor fixes and add tracking

* Add debounce

* Fix lint error

* Allow custom min filter amount and fix menu not showing after escaping input

* Allow single item to be cleared out of select control

* Fix bug where typed values did not show up

* Fix some styling issues

* Allow parents to be individually selected

* Address PR feedback and add error message

* Add changelogs

* Fix saving issue

* Add client side sorting and stop clearing field upon selection

* Update changelog

* Create feature flag for async product categories dropdown

* Fix lint errors

* Fix linting
2023-04-19 04:28:18 -03:00
jonathansadowski caf20d7989
Run schema check in release post tool (#37734) 2023-04-19 15:40:14 +12:00
github-actions[bot] ad68685b79
Delete changelog files based on PR 37790 (#37801)
Delete changelog files for 37790

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-04-19 11:35:47 +12:00
github-actions[bot] f6df417ca2
Delete changelog files based on PR 37738 (#37803)
Delete changelog files for 37738

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-04-19 11:35:37 +12:00
github-actions[bot] ffa482a921
Delete changelog files based on PR 37662 (#37788)
Delete changelog files for 37662

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-04-19 11:35:25 +12:00
Barry Hughes 4ec741f7b8
Increase PHPUnit Test Environment Resiliency (#37792) 2023-04-18 13:04:37 -07:00
Nathan Silveira 7c6e6a67dc
Re-add woocommerce_after_product_attribute_settings hook (#37738) 2023-04-18 16:33:35 -03:00
Corey McKrill 1650489480
Replace hardcoded notices with the correct wp_print_notice function (#37514)
Switches hardcoded notices over to the correct functions and makes it possible to modify the notices via template overrides. Additionally, a small modification to `wp_print_notice` was added so that the notice could be returned as a string instead of rendered. This makes it more flexible.
2023-04-18 12:07:23 -07:00
Fernando Marichal 2d87da87de
Fix disabled "Save attributes" button when editing a product (#37790)
* Fix disabled save button

* Add changelog
2023-04-18 14:53:16 -03:00
Joshua T Flowers ebe879d5dd
Add IframeEditor component to product editor (#37570)
* Add initial modal editor

* Add in iframe editor styles

* Convert components to TS

* Sync dependencies

* Remove unused components and props

* Set min height to avoid jumpiness during resize

* Fix up private APIs dependency version

* Update ModalEditor name to IframeEditor

* Add changelog entry

* Remove IframeEditor from details block

* Update frozen lock file

* Add support for missing gutenberg assets function

* Fix lock file after rebase

* Use default editor settings when none are provided

* Remove currently unused editor styles

* Remove unused private apis package

* Fix php lint errors

* Remove unused import

* Pin keycodes version

* Remove another unused import from testing

* Add WC changelog entry
2023-04-18 10:52:28 -07:00
Christopher Allford 38e91e2406 Style Fixes 2023-04-18 10:19:45 -07:00
Christopher Allford 5ca9c47563 Fixed Broken Cache Test When Path Tokenized
Since the template path is tokenized, it's possible that in different
testing environments the contents of the cache will be different
than the template file path on the filesystem. We can make sure
they are the same by untokenizing the cached path before the
assertion.
2023-04-18 10:13:17 -07:00
Christopher Allford c5cec0fe30 Revert "Added WIP `wp-env` Script"
This reverts commit 096dfc6ebc.
2023-04-18 09:59:40 -07:00
Christopher Allford 94f0ffa654 Fixed Incorrect Decorated Property In Tests
For some reason this was causing failures in `wp-env` but not CI.
2023-04-18 09:59:24 -07:00
Mike Jolley e8fcfbb82c Bump templates to 7.8.0 2023-04-18 17:10:19 +01:00
Christopher Allford 096dfc6ebc Added WIP `wp-env` Script
This should be removed before the PR is reviewed!
2023-04-18 09:04:01 -07:00
Christopher Allford 2f3ffa1ced Changelog 2023-04-18 09:03:02 -07:00
Christopher Allford ec92b4c119 Isolated Email Logger Tests 2023-04-18 09:00:55 -07:00
nigeljamesstevenson 4a6b5ac0cd
skip k6 api order RUD tests on non-existant order when C test fails (#37739) 2023-04-18 16:58:44 +01:00
Barry Hughes 4504c5a8a1
Add links to the main project README.md and DEVELOPMENT.md guides. (#37682) 2023-04-18 07:36:07 -07:00
Thomas Roberts e9c400c7b6
Update WooCommerce Blocks package to 10.0.1 (#37662)
* Update WC Blocks to 10.0.0

* Update WC Blocks to 10.0.0

---------

Co-authored-by: Luigi <gigitux@gmail.com>
2023-04-18 15:21:00 +02:00
Mike Jolley 22c5dbb89d phpcs rules 2023-04-18 14:16:48 +01:00
Mike Jolley 5a7be6f3ae Append cart-empty class to notice div 2023-04-18 14:11:02 +01:00
Mike Jolley b800a429b8 Target inner div within notices in tests 2023-04-18 12:22:10 +01:00
Mike Jolley 73fd1a5bda Update cart empty selector 2023-04-18 12:22:10 +01:00
Mike Jolley 2cbbbbbaba Fix indents for phpcs 2023-04-18 12:22:10 +01:00
Mike Jolley 93665bd41e phpcs fixes 2023-04-18 12:22:10 +01:00
Mike Jolley 5ba6a3d71d Add full stop to docblock param 2023-04-18 12:22:10 +01:00
Mike Jolley 123dff3bf2 Remove array short syntax 2023-04-18 12:22:10 +01:00
Mike Jolley f330bc7210 Escape return to shop 2023-04-18 12:22:10 +01:00
Mike Jolley 3c8bef029c Revert template bump in form-login 2023-04-18 12:22:10 +01:00
Mike Jolley 82a4698470 Revert template bump in form-coupon 2023-04-18 12:22:10 +01:00
Mike Jolley 078f54de58 Revert version bump in lost password template 2023-04-18 12:22:10 +01:00
Mike Jolley bb0d83d000 template version bumps 2023-04-18 12:22:10 +01:00
Mike Jolley 65038cc1f9 Update selector for test notice 2023-04-18 12:22:10 +01:00
Mike Jolley 64995db39b Changelog 2023-04-18 12:22:10 +01:00
Mike Jolley abfe701f8b Replace hardcoded error notices with wp_print_notice 2023-04-18 12:22:10 +01:00
Mike Jolley ec6ed5c97c Replace hardcoded info notices with wp_print_notice 2023-04-18 12:22:10 +01:00
Mike Jolley d0ea42a58c Allow notice to return instead of echo 2023-04-18 12:22:10 +01:00
nigeljamesstevenson b78e320c1c
[E2E] Fix `wp-content/upgrade` folder permissions to fix recently failing daily and release tests (#37783) 2023-04-18 10:49:42 +01:00
rodelgc 31b4deb1b1 Add changelog 2023-04-18 13:57:09 +08:00
rodelgc 87f69cb609 Add write permission to `wp-content/upgrade` folder 2023-04-18 13:55:24 +08:00
Paul Sealock 747e3384f3
Update trunk stable tag (#37779)
* update stable tag

* changelog
2023-04-18 17:26:04 +12:00
github-actions[bot] 2977a95b16
Release: Remove 7.7 change files (#37776)
Delete changelog files from 7.7 release

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-04-18 16:17:38 +12:00
github-actions[bot] 3a4e9912ed
Prep trunk for 7.8 cycle (#37777)
Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-04-18 16:17:06 +12:00
Maikel David Pérez Gómez 41545ec459
Invert the useValidation hook behavior to return an error instead of a boolean value (#37695)
* Invert the useValidation hook behavior to return an error instead of a boolean value

* Fix validation logic in schedule-sale and track-inventory blocks

* Add changelog file

* Add validations to product name block

* Fix shipping dimensions validations

* Fix shipping fee validations

* Add i18n error message example to readme.md

* Cover semantic issues
2023-04-17 23:54:15 -04:00