Commit Graph

65130 Commits

Author SHA1 Message Date
Chi-Hsuan Huang deaca578cc
Migrate LYS user meta (#50664)
* Migrate lys meta

* Update lys meta logic

* Update user preferences types and logic

* Add changelog

* Revert changes

* Fix types

* Fix logic

* Fix lint
2024-08-20 13:06:57 +08:00
Akeda Bagus 403d78ae22
Fix wcadmin-product-usage-notice-modal react18 createroot (#50765) 2024-08-20 11:50:26 +07:00
Moon 6a9da36388
Track product and tax rates importer view triggered from WP importer/exporter (#50769)
* Track product and tax rates importer view triggered from WP importer screen

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

* Use $this for the callback

* Make sure id exist

* Do not track if we are in a specific import screen

* Ignore phpcs warning -- we are not using the value

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-08-19 21:29:46 -07:00
Chi-Hsuan Huang 855d94b42d
Improve `setup_tasks_remaining()` performance to make `menu_task_count` safer (#50655)
* feat: Update TaskLists.php to improve performance and fix bugs

The code changes in TaskLists.php optimize the performance by reducing unnecessary checks and improve the functionality by fixing bugs related to the "setup tasks remaining" feature.

* Update tests

* Add changelog

* Fix lint

* Update TaskLists.php to fix completed tasks array initialization
2024-08-20 03:46:55 +00:00
Ilyas Foo 6733c22f3f
Add site visibility settings confirmation modal (#50759)
* Add confirmation modal for site visibility when changing from live to coming soon mode

* Changelog

* Remove unnecessary space

* Update tests

* Lint
2024-08-20 11:17:17 +08:00
Chi-Hsuan Huang 444cb40c7e
[Remote Logging] Use `wcAssetUrl` to check if the stack frame is from WooCommerce (#50701)
* Update remote logger to use `wcAssetUrl`

* Add changelog

* Fix tests
2024-08-20 10:48:39 +08:00
Daniel W. Robert 6a2aee397d
CYS: Update Fiver Logo Maker LP Link Per Request. (#50753)
* Update Fiver Logo Maker LP link per request.

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-08-19 21:20:48 -04:00
Moon c3d0d4a87d
Rename woocommerce_is_store_page to woocommerce_is_extension_store_page (#50771)
* Rename woocommerce_is_store_page to woocommerce_is_extension_store_page

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-08-19 18:11:48 -07:00
RJ fd30c4460e
fix: core profiler sticky footer button variable vh breakpoints (#50727)
* fix: core profiler sticky footer button variable vh breakpoints

* lint

* lint
2024-08-20 07:37:32 +08:00
Caleb Mazalevskis 50900d9d4e
Fix markdown typos. (#50282)
* Fix markdown typos.

* Re-fix typos.

* Add changelogs (#issuecomment-2296573205).
2024-08-19 14:59:10 -03:00
Alex Florisca cda0f8a3f8
Revert "Add new buttonAttributes API to style express checkout buttons coherently (#47899) (#50763)
* Revert "Add new buttonAttributes API to style express checkout buttons coherently (#47899)"

This reverts commit 006fbc6714.

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

* Update changelog

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-08-19 18:54:58 +01:00
Matt Sherman 42e943dc0e
Decode HTML entities and strip HTML tags in product names for cart quantity change notifications (#50541)
* Decode cart item names
* Strip HTML tags from product name

---------

Co-authored-by: Seghir Nadir <nadir.seghir@gmail.com>
2024-08-19 12:07:11 -04:00
Seghir Nadir 6b36b42f47
Add email type to email field in Checkout block (#48611)
* add email type to email field in Checkout block

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

* fix changelog

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-08-19 16:05:19 +00:00
github-actions[bot] 99d8b9bf42
Delete changelog files based on PR 50700 (#50712)
* Delete changelog files for 50700

* Remove related changelog file

---------

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
Co-authored-by: Jorge Torres <jorge.torres@automattic.com>
2024-08-19 11:17:13 -03:00
Álvaro Thomas cd54a09c27
Add Tests to Product Reviews (#50060)
Co-authored-by: Adrian Moldovan <3854374+adimoldovan@users.noreply.github.com>
2024-08-19 14:13:46 +00:00
Gabriel Manussakis d7783511ff
[WIP][Accessibility] Fix inline documentation typos in woocommerce-blocks (#50737)
* Fix inline documentation typos in woocommerce-blocks

* Add changelog file

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

* Remove original changelog

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Mike Jolley <mike.jolley@me.com>
2024-08-19 13:57:38 +01:00
Mike Jolley 47386e18c2
Classic cart: Remove common query string variables which affect cart contents (#50725)
* Remove common query string variables which affect cart contents

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-08-19 13:45:13 +01:00
RJ 15e9dd6b25
fix: wcadmin react18 createroot wc addon tour (#48833)
alpha

alpha
2024-08-19 12:52:24 +01:00
Adrian Moldovan 85e7bb0a0c
[e2e tests] Ignore Playwright focused tests in CI (#50643) 2024-08-19 13:09:21 +02:00
Paul Sealock 17c6fb9b0f
[Beta Tester] Add tool to force wccom endpoint errors or timeout (#50654) 2024-08-19 20:35:59 +12:00
Dusty Reagan db9623395d
Fix sticky admin bar CSS positioning bug in WordPress.com mobile (#50709)
* Use slightly more specific CSS selector for wpadminbar

* Add changelog

* Move changelog
2024-08-16 14:12:54 -07:00
Adrian Duffell a4fe8a6417
Add visual changes to the blueprint slotfill (#50724) 2024-08-16 18:23:05 +00:00
github-actions[bot] 1bb9105cba
Delete changelog files based on PR 50685 (#50706)
* Delete changelog files for 50685

* Delete changelog files for 50702

---------

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
Co-authored-by: Jorge Torres <jorge.torres@automattic.com>
2024-08-16 14:40:08 -03:00
Moon 454273d6d2
Blueprint - Add busy state on the import btn (#50716)
* Add busy state

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

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Adrian Duffell <9312929+adrianduffell@users.noreply.github.com>
2024-08-16 09:59:14 -07:00
Adrian Moldovan cfdaa7e6cb
[testing workflows] Fix undefined BuildKite Analytics message (#50641) 2024-08-16 09:50:03 -07:00
Miguel Pérez Pellicer bb532b7a6f
Prevent fatal error if NULL is provided in array_search under Jetpack Stats (#50696)
* Avoid potential fatal error if $fields is not an array

* Changelog

* Prevent fatals when $data['general'] is not an object.

* PHPCS
2024-08-16 13:53:01 +02:00
louwie17 9fa6c20a24
Remove Mothra from community PR assigner (#50670) 2024-08-16 08:36:11 -03:00
Mike Jolley 66a717840f
Logout confirmation notice missing due to global (#50720)
* Missing global $wp

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-08-16 12:18:23 +01:00
Mike Jolley 3170acd1b0
Store API: Do not resume orders with `pending` status (#50531)
* Do not resume pending orders

* changelog
2024-08-16 11:02:41 +01:00
Ames Plant 5f43827f7f
[Accessibility] Add scope attribute to the product attributes table (#49768)
* Add scope attribute to the product attrubutes table

* Update changelog

* Add changelog

* Bump version to 9.2.0

* Add a label to the table

* Update plugins/woocommerce/templates/single-product/product-attributes.php

Co-authored-by: Darin Kotter <darin.kotter@gmail.com>

* Revert "Update changelog"

This reverts commit 4c29c17f0a.

* Update product-attributes.php

Co-authored-by: Darin Kotter <darin.kotter@gmail.com>

* Update changelog to reflect aria-label

* Bump template version

---------

Co-authored-by: amesplant <95257231+amesplant-dmv@users.noreply.github.com>
Co-authored-by: Darin Kotter <darin.kotter@gmail.com>
Co-authored-by: Naman Malhotra <naman03malhotra@gmail.com>
Co-authored-by: Bart Kalisz <bartlomiej.kalisz@gmail.com>
Co-authored-by: Karol Manijak <20098064+kmanijak@users.noreply.github.com>
2024-08-16 11:04:02 +02:00
Gabriel Manussakis fc7afb41f1
[Accessibility] Fix typo in getProductStockStatusClass test (#48707)
* Fix "emtpy" typo

* Add changelog file

---------

Co-authored-by: Karol Manijak <20098064+kmanijak@users.noreply.github.com>
2024-08-16 11:01:04 +02:00
Ilyas Foo a7b5527113
Update product data meta box checkboxes UI (#50619)
* Remove colon in product data meta box checkboxes

* Changelog

* Fix CSS for checkbox

* Update margin so the distance between checkbox and label is 8px, and distance between items are 32px

* Move checkbox to the left, added has-checkbox class, minor adjustments to margins

* Minor adjustment
2024-08-16 16:18:03 +08:00
RJ 4af4389ef3
fix: missing TreeSelectControl styles (#50593)
* fix: missing TreeSelectControl styles

* fixed css for partially selected

* fixed border focus color
2024-08-16 09:49:59 +08:00
RJ b239da65cd
fix: shipping region zone decode html entities (#50694)
* fix: shipping region zone decode html entities

* use wp/html-entities/decodeEntities instead
2024-08-16 09:42:08 +08:00
Corey McKrill 4ff92e0f1f
REST: Update product stock when removing line item from order (#50606)
* REST: Update product stock when removing line item from order

This ensures that the REST endpoint behaves the same as the UI when
updating an order to remove a line item.

Fixes #49651

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

* phpcs cleanup

* Add unit tests

* phpcs cleanup

* Update plugins/woocommerce/changelog/50606-fix-49651-rest-remove-line-item-stock

Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>

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

* Add void return type to new method

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>
2024-08-15 15:20:10 -07:00
Alexandre Lara 6185185589
[Experimental] Product Filters Redesign > Overlay Navigation: Add Block to the Product Filters Block (#50186)
* Add variation to Product Filters Overlay Navigation

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

* Move Product Filters Overlay Navigation to correct position

* Hide block when it is outside the Product Filters template part

* Display Navigation block in the frontend

* Show the Product Filters Overlay Navigation on the frontend

* Add logic to hide Product Filters Overlay Navigation block on the frontend

* Hide block on the Overlay template part

* Fix eslint errors

* Update the block variation title

* Remove the `isActive` property from the block variations

* Use Product Filters block context

* Replace enum with const

* Remove unnecessary `StyleAttributesUtils`

* Rename context key

* Move BlockOverlayAttribute to the constants.ts file

* fix BlockOverlayAttribute import

* Fix import error

* Improve code for the shouldHideBlock method

* Remove unnecessary attributes property

* Fix error in ProductFiltersOverlay block

* Prevent block from being hidden on Product Filters template part

* Fix inspector controls when block is hidden

* Remove unnecessary import

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-08-15 14:50:45 -03:00
Ames Plant acaa5ad7a7
[Accessibility] Add aria-current to the current link in My Account side nav (#49800)
* Add aria-current to the current link in My Account side nav

* Update current page check for dashboard, orders, and payment methods

* Fix PHP linting errors

* Update function for getting current aria for account menu

* Bump template version

* Create a helper function to test current item in the account menu

* Fix liniting errors

---------

Co-authored-by: amesplant <95257231+amesplant-dmv@users.noreply.github.com>
2024-08-15 17:08:23 +01:00
Mike Jolley cd4a10222a
Reset password form: Fix regression which prevents new logged in accounts from setting initial password (#50700)
* Update logic to allow new accounts to set their password

* Changelog

* phpcs ignores

* Doc block update

* Remove redirect if lost-password accessed by logged in user

* Remove restriction on lost password page
2024-08-15 16:43:00 +01:00
Chi-Hsuan Huang 73f45833b1
Enhance Remote Logging to Include `request_uri` (#50671)
Add request_uri prop to remote logging data
2024-08-15 22:14:53 +08:00
Nathan Silveira 1235f4d38a
Fix typo in wc_get_product_id_by_global_unique_id (#50702) 2024-08-15 10:14:33 -03:00
Chi-Hsuan Huang c07b7b8e9f
Update LYS frontend e2e tests to test with both classic and block themes (#50657)
* Update lys e2e tests to test with both classic and block themes

* Add changelog

* Minor tweak
2024-08-15 12:57:12 +00:00
Adrian Moldovan 8c9c784f45
Tweak stalebot settings for flaky tests issues (#50630) 2024-08-15 13:54:44 +01:00
Adrian Moldovan d7909ecb3c
[e2e tests] Add BuildKite reporter to Blocks e2e tests (#50642) 2024-08-15 13:48:44 +01:00
Nathan Silveira 70fc2d595e
Remove global_unique_id from interface and add warning in case it is not implemented (#50685) 2024-08-15 09:29:25 -03:00
Chi-Hsuan Huang bcf1a38a58
Prevent initializing coming soon feature if it's already initialized (#50668)
* Prevent initializing coming soon feature if store pages only

* Add changelog

* Improve check
2024-08-15 10:25:44 +00:00
Akeda Bagus 1806747254
Show expiring and expired notices to active and unconnected subscriptions (#50383) 2024-08-15 15:00:16 +07:00
github-actions[bot] de05966754
Delete changelog files based on PR 50679 (#50690)
Delete changelog files for 50679

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2024-08-14 17:41:28 +01:00
Moon c12b9da403
Blueprint - Disregard invalid slug and continue (#50607)
* Disregard invalid slug

* Change logic for invalid slug -- plugin dir with the slug must exist

* Use put_contents correctly

---------

Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
2024-08-14 09:19:43 -07:00
Alba Rincón 4252682583
Fix `Product meta` console error (#50680)
* Fix `Product meta` console error

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

* Not use Atomic class

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-08-14 16:53:20 +02:00
Luigi Teschio 67bc34e607
CYS: avoid to enqueue Jetpack scripts (#50679)
* CYS: avoid to enqueue jetpack scripts

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

* remove not necessary import

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-08-14 14:49:47 +00:00