Commit Graph

51580 Commits

Author SHA1 Message Date
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
Joshua T Flowers ffcbaf5b3a
Move tabs to header and adjust title position (#37696)
* Move product editor tabs to header

* Update header styles to place tabs on bottom

* Center header title and adjust font size

* Style title and columns on mobile

* Add changelog entry

* Truncate longer titles

* Hide title on smaller viewports

* Truncate via css width instead of character count
2023-04-17 15:39:09 -07:00
Adrian Duffell eb682695d0
Performance Improvement for Heuristics Tracks Event (#37769)
* Update onboarding settings to conditionally provide heuristics data

* Add changelog

* Fix lint issue
2023-04-18 06:18:48 +08:00
Adrian Duffell 03ce56a99e
Add Woo Payments Feature Slot Fill on Homepage (#37768)
* Add slot

* Add fill

* Add changelog
2023-04-18 05:07:25 +08:00
Adrian Duffell 4fca6d1f63
Add Onboarding Heuristics Tracks Event (#37767)
* Add heuristics data to onboarding setting

* Add track

* Add Tracks event
2023-04-18 04:47:24 +08:00
Fernando Marichal f6685b88b9
Rename default placeholder in attribute form (#37645)
* Rename placeholder

# Conflicts:
#	plugins/woocommerce/includes/admin/meta-boxes/views/html-product-attribute.php

* Fix input `onblur`

* Add changelog

---------

Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2023-04-17 13:07:32 -03:00
Fernando Marichal a67b7df26f
Add tracks events to attributes tab (#37622)
* Refactor method `addProductAttributesTracks`

# Conflicts:
#	plugins/woocommerce-admin/client/wp-admin-scripts/product-tracking/shared.ts

* Add changelog

* Record remove attribute Tracks event

# Conflicts:
#	plugins/woocommerce/client/legacy/js/admin/meta-boxes-product.js

* Record `used for variations` and `visible on product page` events

* Record `used for variations` and `visible on product page` events

* Fix js error

* Remove not used code

* Refactor `add_existing` attribute recording

* Fix event action

* Refactor `attachEventListenerToParentForChildren`

---------

Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2023-04-17 12:50:30 -03:00
Vedanshu Jain ffc8990baa
Add table name methods to OrderUtil (#37624) 2023-04-17 20:05:51 +05:30
nigeljamesstevenson e8e9aa13fb
Fix WP latest-2 version retrieval in the "Smoke test release" workflow. (#37675) 2023-04-17 15:33:23 +01:00
nigeljamesstevenson aa55d04e14
Split the `can create product, attributes and variations, edit variations and delete variations` E2E test into smaller tests (#37733) 2023-04-17 15:14:51 +01:00
Mindaugas Budreika e725a98f35
Added a woocommerce_disable_api_access_log filter. (#37332)
Co-authored-by: Mindaugas Budreika <mindaugas.budreika@thecoffeemate.group>
Co-authored-by: Néstor Soriano <konamiman@konamiman.com>
2023-04-17 09:40:27 +02:00
Shojib khan a4a2ef732d
Solved issue of Ellipsis menu overlaps on small screen (#37583)
* solved ellipsis menu overlaps on mobile

* solved ellipsis menu overlaps on small screens

* removed package.json and pnpm lock files

* restore default package.json

* Update plugins/woocommerce/changelog/fix-37517-fix-ellipsis-menu-overlaps

Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>

* solved lint error

---------

Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
2023-04-17 13:22:34 +08:00
Chi-Hsuan Huang a953904d84
Remove theme step from onboarding wizard (#37671)
* Remove theme step from onboarding wizard

* Remove theme step from e2e tests

* Deprecated "theme" prop from profileItem type

* Add changelog

* Remove theme product from dashboard

* Update packages/js/data/src/onboarding/types.ts

Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>

---------

Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
2023-04-17 11:59:02 +08:00
mujuonly 9ae8208f26
Fix typo in a function comment. (#37746)
* Fix typo in a function comment.

* Chagelog update for typo corretcion in ReportsSync.php

---------

Co-authored-by: mujuonly <muju.only@gmail.com>
2023-04-17 11:19:42 +08:00
Jorge A. Torres 68fe54fcc8
Add `--verbose` support to HPOS verify DB command (#37576) 2023-04-16 17:39:30 -05:00
Maikel David Pérez Gómez 42cc482ebc
Create shipping fee field block and initial shipping section (#37642)
* Setting up the Fees & dimensions section

* Create product shipping fee block

* Register product shipping fee block

* Add changelog files

* Fix php linter errors

* Add reusable radio field and move the radio block to the blocks folder

* Remove manually set block className because is autogenerated base on the block name
2023-04-14 22:44:28 -04:00
Christopher Allford a3cb1735b3
Removed `example.org` Hardcoding From Tests (#37742)
Instead of strictly using `example.org` in our tests that include the
site URL, we should be using the `WP_TESTS_DOMAIN` constant.
This allows the domain to change without breaking the tests, such
as when using something like `wp-env`.
2023-04-14 16:05:17 -07:00
Corey McKrill f70d9452bf
Enable linting with phpcs-changed locally (#37465)
* Update phpcs-changed package to 2.10.2

* Add composer lint commands using phpcs-changed

* Add changlog file

* Update lint-staged script in package.json
2023-04-14 14:01:16 -05:00
Ron Rennick ba61674251 skip k6 api order RUD tests on non-existant order when C test fails 2023-04-14 15:10:42 -03:00
Maikel David Pérez Gómez 3f23301f3f
Create product shipping dimensions block (#37683)
* Move ShippingDimensionsImage component to @woocommerce/product-editor package

* Create woocommerce/product-shipping-dimensions-fields block

* Register woocommerce/product-shipping-dimensions-fields block

* Add changelog files

* Fix php linter error

* Change unused attr name to __contentEditable to better indicate the porpose

* Remove manually set block className because is autogenerated base on the block name
2023-04-14 14:08:57 -04:00
rodelgc 9897c529d4 Merge branch 'trunk' into fix/wp-l2-retrieval 2023-04-15 01:53:03 +08:00
rodelgc c226fa164b Re-navigate to ensure tour displays 2023-04-15 01:45:20 +08:00
Barry Hughes 85c9c23927
Use first meta value instead of last to be consistent with WP_Post. (#37676) 2023-04-14 09:34:24 -07:00
rodelgc 136b76834b Trivial correction to test step 2023-04-15 00:28:59 +08:00
rodelgc e677437878 Reset tour at the start of the first test 2023-04-15 00:22:35 +08:00
Joel Thiessen 83458a1dee
Adding inventory advanced section with radio and text fields (#37646) 2023-04-14 08:39:53 -07:00
rodelgc 9cc66e793e Fix cleaning up of created fixture 2023-04-14 23:33:08 +08:00