Commit Graph

21261 Commits

Author SHA1 Message Date
Luigi Teschio bbed30ccdb
CYS: Fix no block placeholder style (#49673)
* CYS: Fix no block placeholder style

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-07-18 14:31:19 +00:00
Alba Rincón e067a11c5f
CYS - Fix spacing in patterns (#49669)
* CYS - Fix the column spacing for the "Four Image Grid Content Left" pattern

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

* Remove the dash in the testimonials single name

* Add spacing to the testimonial 3 col patterns

* Add spacers to pattern titles

* Remove symbol before customer names

* Fix chessboard spacing

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-07-18 16:17:33 +02:00
Bart Kalisz 720c1de6bf
Blocks E2E: Refactor Product Collection vs classic template test for stability (#49638) 2024-07-18 15:50:25 +02:00
Alba Rincón 7f797c041c
Replace the customer account line logo (#49666)
* Replace the customer account line logo

* Add changefile(s) from automation for the following project(s): woocommerce-blocks, woocommerce

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-07-18 15:47:07 +02:00
Nathan Silveira f7153daa61
Prevent adding global_unique_id to old schema versions (#49472)
* Update changelog from PR that added new field to product lookup table

* Update db_version variable and use it to prevent adding global_unique_id when the lookup table was not yet updated

* Add woocommerce_schema_version to get_default_option_permissions

* Add changelog

* Remove schema version from default_option_permissions
2024-07-18 19:11:33 +05:30
Moon 5736b7a056
Add refresh & delete notification tools (#48961)
* Add Remote inbox notifications tools

* Add sanitize_text_field

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

* Update plugins/woocommerce/src/Admin/RemoteInboxNotifications/RemoteInboxNotificationsEngine.php

Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
2024-07-18 11:01:21 +02:00
Luigi Teschio 824bf8e218
CYS: fix drag to resize bar (#49657)
* CYS: fix drag to resize bar

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-07-18 10:57:17 +02:00
Ilyas Foo 91ce199bf7
Fix add product task to create products according to selected types (#49631)
* Fix add product task to create template first and simplify logic

* Changelog

* Lint
2024-07-18 15:27:25 +08:00
Corey McKrill 5ca3921c28
Add some robots.txt rules (#49432)
* Add some robots.txt rules

WooCommerce creates some subdirectories within the
WordPress uploads directory. This adds some rules
to the robots.txt file generated by WordPress that
tells bots not to index these subdirectories.

---------

Co-authored-by: Néstor Soriano <konamiman@konamiman.com>
2024-07-18 09:19:40 +02:00
Roy Ho 6216408511
Prevent individual filters from being able to drag outside of parent wrapper (#49606)
* Prevent individual filters from being able to drag outside of parent wrapper

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-07-17 13:30:59 -07:00
Gabriel Manussakis 74ee55d515
[Accessibility] Make the edit/delete actions of shipping/products accessible in manual orders (#48238)
Fixes #26875

* Add aria label to edit/delete shipping buttons

* Add aria label to edit/delete product item buttons

* Make edit/delete order items accessible via keyboard

* Add changelog file ralated to the fix of #26875 issue

* Init tiptip when adding shipping

* Remove unnecessary white space

* Add tooltips to buttons on the fee line

* Replace em unit with px
2024-07-17 10:33:25 -07:00
Miguel Pérez Pellicer a5c9db8fac
[WooCommerce Analytics] Add Guest label when no customer name (#49594)
* Show Guest when there is no Customer name

* Show Guest when there is no Customer name
2024-07-17 21:12:11 +04:00
Benjamin Conrad acea491755
Fix a bug where woocommerce removes the current-menu-item class (#45095)
* Fix a bug where woocommerce removes the current-menu-item class from a menu item (e.g. taxonomy) because its id matches with page_for_posts option

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

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

* Apply suggestions from code review

Co-authored-by: Vedanshu Jain <vedanshu.jain.2012@gmail.com>

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

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Vedanshu Jain <vedanshu.jain.2012@gmail.com>
2024-07-17 15:30:17 +00:00
Gabriel Manussakis ece00533e4
[Accessibility] Convert edit address link to a button (#49471)
* Update edit address button style

* Add input prop to the ValidatedTextInputHandle type

* Add optional isEditing prop to the AddressFormProps

* Convert edit address link to button

* Focus first input after opening the address form

* Pass along the editing prop to children components in the shipping address block

* Add changelog file

* Clear timeout used to delay the focus on the first input

* Adjust checkout toggler buttons for dark themes

* Get first address field by id
2024-07-17 16:54:41 +02:00
Luigi Teschio e16a866cc5
CYS: Fix E2E tests on WordPress 6.6 (#49632)
* CYS: Fix E2E tests on WordPress 6.6

* try now

* fix test

* try now

* fix tests

* run e2e tes against WordPress 6.5

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

* restore changes

* fix test

* run against WordPress 6.6

* restore changes

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-07-17 14:36:34 +00:00
Alexandre Lara 7dd0c1a055
[Experimental] Product Filters Redesign: Rename individual inner filter blocks to "Filter Options" (#49579)
* Rename blocks to "Filter Options"

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

* Add icon to Filter Options block

* Remove unused import

* Fix e2e tests

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-07-17 11:12:32 -03:00
Ramon Ahnert c16714c3c5
Allow receipt rendering template to be overridden (#48872) 2024-07-17 14:39:02 +01:00
Alba Rincón 16513b346a
CYS - Make the patterns content translatable (#49633)
* Make the patterns content translatable

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

* Remove json parsing

* Move dictionary to a class

* Fix lint errors

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-07-17 15:01:29 +02:00
Veljko V. dd411f53e4
Fix flaky shopper checkout block creating user with custom password e2e test (#49596) 2024-07-17 13:37:32 +03:00
Karol Manijak 31b45d79e3
Bring back Product Filters pattern (#49601)
* Bring back Product Filters pattern

* Add changelog

* Fix lint

* Move docblock to the top

---------

Co-authored-by: Vladimir Reznichenko <kalessil@gmail.com>
2024-07-17 12:20:33 +02:00
Akeda Bagus b7563b6c3a
Add Woo product usage notice (#47697)
Nudges user when the store uses expired or unregistered paid Woo products on product-specific admin screens.
2024-07-17 16:38:08 +07:00
Chi-Hsuan Huang 21d08c7f56
Add a generic function to determine remote logging eligibility (#49371)
* Add wc remote logger

* Add changelog

* Add remote logging feature

* Update tests and remove private $latest_wc_version;

* Fix lint

* Rename is_user_opted_in -> is_tracking_opted_in
2024-07-17 08:59:55 +00:00
Adrian Moldovan b32c742f3f
[e2e tests] Fix basic spec for multiple environments (#49609) 2024-07-17 11:53:36 +03:00
Adrian Moldovan 2a877ecc7b
[testing workflows] Include wp-env config file in the tests jobs changes list (#49626) 2024-07-17 11:52:06 +03:00
Luigi Teschio 5e92ede8fa
CYS: Track move up/move down pattern (#49604)
* CYS: Track move up/move down pattern

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-07-17 09:59:38 +02:00
Luigi Teschio f583fb142a
CYS: fix arrow welcome tour (#49607)
* CYS: fix arrow welcome tour

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

* use hex color

* format file

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-07-17 07:52:20 +00:00
Bart Kalisz 06374b9691
Blocks E2E: Stabilize Product Collection tests where saving fails (#49590) 2024-07-17 09:50:02 +02:00
Vladimir Reznichenko 47a2ab5cba
CI: update linting script (no strict mode, additional information about linting steps) (#49629) 2024-07-17 09:47:04 +02:00
Ron Rennick 6d99ed6a1d
bump wp-env to 9.7.0, include blocks in syncpack (#49310)
Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Adrian Moldovan <3854374+adimoldovan@users.noreply.github.com>
2024-07-17 10:31:02 +03:00
louwie17 b698e07930
Add missing dependencies to generate variation script in classic product form (#49595)
* Add missing dependencies for product meta box script

* Add changelog
2024-07-17 04:22:43 -03:00
Adrian Moldovan a6cd46e971
Pin wp-env core version to 6.5 (#49620) 2024-07-17 09:46:57 +03:00
nigeljamesstevenson 3d7d7f0201
Prepare for WP 6.6 by updated tested / required versions. (#49619)
* Prepare for WP 6.6 by updated tested / required versions.

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

* Prepare for WP 6.6 by updated tested / required versions.

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-07-17 11:46:20 +08:00
Niels Lange d3574290b7
Fix regression of #48180 (#49580)
* Fix regression of #48180

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

* Fix one more bug in the dropdown styling (#49585)

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Sam Seay <samueljseay@gmail.com>
2024-07-16 21:46:39 +02:00
Luigi Teschio ae42900f6d
CYS: Add reminder comment about the stability of the woo pattern domain (#49600)
* Add reminder comment about the stability of the woo pattern domain

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-07-16 15:01:34 +00:00
Cvetan Cvetanov 54dd7a621a
Add new shared payment methods logos component (#49300)
* Add WooPaymentMethodsLogos component

---------

Co-authored-by: Anurag Bhandari <anurag.bhd@gmail.com>
2024-07-16 17:42:52 +03:00
Chi-Hsuan Huang 8d23ac11a9
Add beta tester tool to force the coming soon landing pages to display on the front-end (#49341)
* Add tool to force the coming soon landing pages to display on the front-end

* Add changelog

* Revert line change

* Add doc comments and remove unnecessary check

* Invalidate caches

* Fix tools invalid json errors

* Set default value

* Call wc_beta_tester_override_coming_soon_options out of init
2024-07-16 11:55:38 +00:00
Mike Jolley b8fcc56e43
Hide username checkbox if using block checkout (#49389)
* Hide username checkbox if using block checkout

* Hide correct field and fix render if first field is hidden

* Changelog

* Use array filter to prevent empty array item lingering
2024-07-16 12:48:18 +01:00
Alba Rincón b11ec75df2
CYS - Add tracking for patterns (#49556)
* Add tracking for patterns

* Fix type

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

* Fix lint error

* Add missing import

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-07-16 13:24:55 +02:00
Albert Juhé Lluveras 6689e6e0d1
Add tests to verify Featured Product/Category image editor works (#49478)
* Add tests to verify Featured Product/Category image editor works

* Add changelog file
2024-07-16 13:23:09 +02:00
Mike Jolley 6d52388b8b
Avoid reserving stock for draft orders under payment is attempted (#49446)
* Use wc_reserve_stock_for_order only before taking payment

* Release stock on exception

* changelog
2024-07-16 12:00:23 +01:00
Luigi Teschio f3e003c236
CYS: not enable PTK features on WordPress 6.5 (#49591)
* CYS: not enable PTK features on WordPress 6.5

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-07-16 10:19:00 +00:00
Thomas Roberts a71fb4d7a6
[Enhancement]: Add option to show price on the place order button (#49252) 2024-07-16 10:59:09 +01:00
Luigi Teschio cd96149362
CYS: Improve patterns order (#49204)
* CYS: Improve order patterns

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

* fix order

* improve documentation

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-07-16 09:52:58 +00:00
Luigi Teschio 86ff31b7f2
CYS: Enable PTK feature flag (#49565)
* CYS: Enable PTK feature flag

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

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

* enable CYS on dev env

* skip homepage test

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-07-16 11:35:51 +02:00
Alba Rincón 9934ba4c00
CYS - Disable the Full Composability for CYS AI flows (#49290)
* Disable the Full Composability for CYS AI flows

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-07-16 11:22:01 +02:00
Tom Cafferkey 714621737c
Block Hooks: Remove feature gate and replace with woocommerce_hooked_blocks_version option (#49302)
* Remove the block hooks feature gate by getting and setting a the wc_hooked_blocks_version option and assigning versions to each hooked block

* Update apply_filters comment

* Add action for users switching themes that don't have an option set

* Update condition for current_theme_supports usage

* Update comment

* Unit tests

* Change unit test file name

* Update hooks for option update

* Changelog

* Add database tests for wc_hooked_blocks_version actions

* Update option name from wc_hooked_blocks_version to woocommerce_hooked_blocks_version

* Update option name in function comments

* Fix linting

* Update comment typo

* Add strict types to new files

* Update tests

* Move unit tests for block hooks

* Set option to "no" for sites that dont have an approved block theme

* Return early if WC option already exists

* Reorder conditions for performance reasons

* Change incorrect to lower

* Fix typo

* Remove unncessary false check and add additional unit tests

* Update comment
2024-07-16 09:31:48 +01:00
Paul Sealock de73d57a9c
[Store Alerts] Adjust inner styles (#49174)
* apply CSS

* adjust margin

* cleanup

* adjust gap between buttons

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

* Update plugins/woocommerce-admin/client/layout/store-alerts/index.js

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

* remove button sizes media query

* remove marketplace styles

* fix tests

* fix marketplace css, again

* reapply narrow margin

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
2024-07-16 06:19:33 +00:00
Ilyas Foo ae75ae17da
Clean up core profiler jetpack copy experiment (#49452)
* Remove Jetpack copy experiment request

* Changelog
2024-07-16 12:46:31 +08:00
Roy Ho a145575b01
Put product filters overlay template part behind feature flag (#49564)
* Put product filters overlay template part behind feature flag

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-07-15 10:41:47 -07:00
Vlad Olaru 1c981034a7
Fix specs evaluation logging constant control (#49563)
* Fix the logic for determining if we should log based on constant

* Add changelog
2024-07-15 19:25:04 +03:00