Commit Graph

64398 Commits

Author SHA1 Message Date
Manish Menaria 9bdd6cc45b
Product Collection: Add comment for regression E2E tests (#48782)
* Add comment for regression E2E tests

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-06-26 11:03:11 +05:30
Moon dfc40ff775
Beta tester - fix lint errors (#48825)
* Fix lint errors

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-06-25 21:09:14 -07:00
Moon 97e5873b1b
Bump beta tester to 2.3.2 to prep a new release (#48806)
* Bump version to 2.3.2

* Update changelogs

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-06-25 20:53:49 -07:00
Bhupesh Mishra 3b9bd6d019
Update - Disable toggle by default and secondary enhancements (#48762)
* Update - Disable toggle by default and secondary enhancements

- Disabled toggle by default in Checkout blocks Return to cart button.

- Change Account options to Navigation options.

- Add a subtext to explain when to turn it on or off.

* set default value to false in attributes.tsx also

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

* Changelog

* Remove check for link from test suite—this is now hidden by default

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Mike Jolley <mike.jolley@me.com>
2024-06-25 16:47:31 +01:00
Mike Jolley c2783847c4
Fix: stack coupon fields on smaller screens (#48623)
* Wrap button and input using flexbox

* Use basis instead of size

* changelog
2024-06-25 16:19:49 +01:00
Adrian Duffell ccb3d589d6
Update Printful label (#48778)
* Change label to “Promoted”

* Add changelog
2024-06-25 15:02:11 +00:00
Estian 858231c238
#48459 coupon email restrictions fix (#48488)
* Create customer object from user object to fetch emails in try-catch.

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

* 48459 Replace $check_emails array values with user_email.

* Update plugins/woocommerce/changelog/48488-48459-coupon-email-restriction-fix

Co-authored-by: Paulo Arromba <17236129+wavvves@users.noreply.github.com>

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Mike Jolley <mike.jolley@me.com>
Co-authored-by: Paulo Arromba <17236129+wavvves@users.noreply.github.com>
2024-06-25 15:32:57 +01:00
Wacław Jacek 00f7420f81
Don't recommend WCS&T in tax task if WCShip or WCTax is active (#48699) 2024-06-25 14:23:07 +02:00
Veljko V 134f431187
Fix failing e2e test merchant/settings-tax (#48792)
* Remove unnecessary step in the settings tax test

* Add changelog

* Remove unnecessary waituntil
2024-06-25 13:46:52 +02:00
Mike Jolley 7a8d5e0b6d
Fix: Block theme template overrides for notices were impacting all templates (#48686)
* Narrow scope of notice template overrides from theme

* changelog
2024-06-25 11:04:54 +01:00
Gabriel Manussakis 525cd4f946
[Accessibility] Fix typo in upateItemErrorRequestId function name (#48702)
* Fix typo in upateItemErrorRequestId function name

* Add changelog file
2024-06-25 16:54:46 +08:00
Jorge A. Torres e0322c57fe
Return HTTP 404 in REST API for non-existent webhooks (#48729) 2024-06-25 10:48:15 +02:00
Pascal Birchler e5b7f84704
Prevent translations from being loaded too early (#47113)
* Prevent translations from being loaded too early

* Undo accidental changes to `CheckoutFields`

* Keep plugins_loaded, but include required file

* Update order in the meantime

* Change to admin_init

* Add changelog file

* Undo `init_jetpack_connection_config` change

* Undo change to Packages class

* Fix LocalPickupUtils instead

* PHPCS fixes

* Update method name in test
2024-06-25 10:20:00 +02:00
Moon a09522df1c
WCA Test helper - add remote inbox notification staging importer (#48735)
* Add Remote inbox notifications management

* Remove admin notes section -- replaced by remote inbox notifications

* Add import from staging and production

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

* WIP - change test to run

* Display failed rules on error

* Change run to test

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

* Retire Remote Spec Ruel Validation -- use test action from Remote Inbox Notifications

* Run spec when all rules have passed

* Fix typo

* Change btn text to Run

* Update copy text

* Place delete all button on the left side

* Update plugins/woocommerce-beta-tester/api/remote-inbox-notifications/class-wca-test-helper-remote-inbox-notifications.php

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

* Update plugins/woocommerce/src/Admin/RemoteSpecs/RuleProcessors/RuleEvaluator.php

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

* Update plugins/woocommerce-beta-tester/api/remote-inbox-notifications/class-wca-test-helper-remote-inbox-notifications.php

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

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

* Separate remote inbox notification heler functions into a class and fix DELETE method errors

* Fix typo

* Display all errors

* Fix errors

* Fix error with test

* Add import from URL

* Change func name to importFromUrl

* Rename 48735-feature-remote-notiifcation-importer to 48735-feature-remote-notification-importer

Fix filename typo

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

* Fix changelog filename typo

Fix changelog filename typo

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

* Revert adding new changelog

It seems the new CI is automatically creating a changelog based on branch name 43d6abe3e7

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
2024-06-24 23:32:36 -07:00
RJ 655c1436ec
fix: lys congrats refetch site cache status (#48710) 2024-06-25 13:50:30 +08:00
github-actions[bot] fe9e3f48f2
Prep trunk for 9.2 cycle (#48653)
Prep trunk for 9.2 cycle with version bump to 9.2.0-dev

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2024-06-24 23:17:56 -04:00
github-actions[bot] bebcb713c8
Release: Remove 9.1 change files (#48654)
Delete changelog files from 9.1 release

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2024-06-24 23:17:28 -04:00
Paul Sealock 5a30d0b480
Settings Save button disable/enable (#47444) 2024-06-25 13:12:14 +12:00
Julia Amosova c1ddbe4a1d
Update changelog.txt from release 9.0.2.
Update changelog.txt from release 9.0.2.
2024-06-24 17:30:26 -04:00
github-actions[bot] 7806eaec01
Update changelog.txt from release 9.0.1 (#48676)
Prep trunk post release 9.0.1

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2024-06-24 17:17:48 -04:00
Julia Amosova beb5625214
Update stable tag to 9.0.2 (#48776)
woorelease: Update stable tag to 9.0.2

Co-authored-by: Julia Amosova <juliaamosova@ultraw-mbp.mynetworksettings.com>
2024-06-24 17:14:39 -04:00
github-actions[bot] 7e1bf29c11
Delete changelog files based on PR 48753 (#48764)
Delete changelog files for 48753

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2024-06-24 16:41:35 +01:00
Vedanshu Jain cebeac1b47
Revert PR 46857 for backward compatibility (#48753)
* Revert PR 48753 to restore back compat.

* Typo fixes.
2024-06-24 20:42:02 +05:30
Luigi Teschio 91e3154a1c
CYS: Disable readonly mode only when full composability feature flag is enabled (#48752)
* CYS: Disable readonly mode only when full composability feature flag is enabled

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

* add import

* address feedback

* no select block when it is added

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-06-24 14:43:26 +02:00
Gan Eng Chin 841d00e150
Display "View store" button text by default. (#48690)
* Display "View store" button text by default.

* Add changelog.
2024-06-24 19:25:55 +08:00
Alexandre Lara 3b00882aed
[Experimental] Product Filters Redesign > Wrapper block: Fix icon (#48635)
* Fix Product Filters wrapper block icon

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-06-21 17:47:58 -03:00
Maikel Perez 5e997435bd
Create an API that manage the custom field names (#48504)
* Create WC_REST_Product_Custom_Fields_Controller

* Register WC_REST_Product_Custom_Fields_Controller

* Add pagination to the /product-custom-fields/names request

* Add WC_REST_Product_Custom_Fields_Controller_Tests

* Fix linter errors

* Add changelog file

* Fix linter error

* Change endpoint path to matches the product related endpoints set

* Fix controller file description

* Use more descriptive table alias in the sql query
2024-06-21 18:43:00 +00:00
Veljko V c77dfe5030
Add tags to e2e tests and update PW configs (#48715)
* Add tags to e2e tests and update pw configs

* Fix lint issues
2024-06-21 11:06:12 -07:00
Barry Hughes 200c7b3239
Initial work to constrain when the `tk_ai` (anon ID tracking cookie) is set (#47863)
Initial work to constrain when the `tk_ai` (anon ID tracking cookie) is set.
2024-06-21 10:59:02 -07:00
Hsing-yu Flowers daf7d5c6f9
Get tax line lable instead of name (#48445)
* Get tax line lable instead of name

* Remove error log

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

* Update plugins/woocommerce/changelog/48445-update-get-tax-line-label

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

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

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

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Seghir Nadir <nadir.seghir@gmail.com>
2024-06-21 17:46:57 +00:00
Nathan Silveira 51f3807c2a
Add buttonProps to MediaUploader (#48639)
* Add buttonProps to MediaUploader

* Add storybook story to show new functionality

* Move buttonProps to last position of spread
2024-06-21 14:32:35 -03:00
Gabriel Manussakis 532f1beb02
[Accessibility] Fix misspelling in inline documentation in packages/js/* (#48640)
* Fix "colleciton" typo

* Fix "fomatting" typo

* Fix "elments" typo

* Fix "actuall" typo

* Fix "witth" typo

* Fix "varation" typo

* Fix "procesing" typo

* Fix "neigbouring" typo

* Fix "staticly" typo

* Fix "Curreny" typo

* Fix "addd" typo

* Fix "accessibile" typo

* Fix "avaiable" typo

* Fix "Resurce" typo

* Fix "curent" typo

* Fix "flakyness" typo

* Fix "flakyness" typo

* Fix "Shiping" typo

* Fix "specfically" and "Shiping" typos

* Fix "flakyness" typo

* Fix "avaliable" typo

* Fix "availble" typo

* Fix "oject" typo

* Fix "explict" typo

* Fix "sumary" typo

* Fix "whn" typo

* Fix "normaly" typo

* Add changelog files
2024-06-21 10:28:54 -07:00
Gabriel Manussakis 0bdb1a3bdd
[Accessibilite] Fix typo in packages/js/admin-e2e-tests/ test (#48642)
* Fix "fullfilled" typo

* Add changefile(s) from automation for the following project(s): @woocommerce/admin-e2e-tests

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-06-21 10:02:08 -07:00
Damián Suárez 0273910e32
Product Editor: restore and fix E2E test that creates product variations (#48725)
* update test when creating product variations

* fix picking 50 value from page

* handle snackBar step properly

* enable the rest of tests

* changelog

* simplify. remove console.log lines
2024-06-21 09:49:30 -07:00
Alba Rincón 464c2d48ed
CYS > Remove the site title block fixed length (#48671)
* Remove the site title block fixed length

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

* Remove the site title block fixed length

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-06-21 16:52:33 +02:00
Albert Juhé Lluveras b6d1cf4841
Make sure the correct block template file is used in the Site Editor for templates with fallback (#48621)
* Make sure the correct block template file is used in the Site Editor for templates with fallback

* Add tests

* Add changelog file

* Clean up unnecessary function

* Update plugins/woocommerce-blocks/tests/e2e/tests/templates/product-search-results.block_theme.spec.ts

Co-authored-by: Bart Kalisz <bartlomiej.kalisz@gmail.com>

---------

Co-authored-by: Bart Kalisz <bartlomiej.kalisz@gmail.com>
2024-06-21 15:36:25 +02:00
Luigi Teschio 2374240bb6
CYS: fix pattern wrapped twice by group blocks (#48712)
* CYS: fix pattern wrapped twice by group blocks

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-06-21 13:22:18 +00:00
Luigi Teschio 2d14a6fb38
CYS: hide button to resize the image (#48714)
* CYS: hide button to resize the image

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-06-21 13:18:54 +00:00
Luigi Teschio e5cb6917dc
CYS: fix logic to disable click on the no block placeholder (#48722)
* CYS: fix logic to disable click on the no block placeholder

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-06-21 13:14:42 +00:00
Nathan Silveira 8b8b0a6a2e
Add data from the template to the product when it is selected (#48681)
* Add data from the template to the product when it is selected via URL query parameter

* Remove unused hook

* add ts-ignore
2024-06-21 09:58:43 -03:00
Alba Rincón ed2bb0e27d
[CYS] Pattern Sidebar: Update pattern categories and copy (#48665)
* WIP

* CYS: Refactor routing approach

* fix type

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

* remove focus logic

* remove routekey prop

* fix scroll after insert pattern

* pass onNavigateBackClick callback as prop

* fix scroll

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

* fix back arrow click

* fix css

* fix tooltip position

* create dedicated CSS class

* lint css

* restore change

* improve css class name

* remove not necessary class

* add github link to the todo

* lint css

* add want more pattern section

* remove not used import

* fix logic after merge trunk

* CYS: fix tooltip position

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

* trigger CI

* Add missing categories and descriptions

* Add services copy

* Uppercase

* Fix categories key

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

* Remove todo comment

---------

Co-authored-by: Luigi Teschio <gigitux@gmail.com>
Co-authored-by: github-actions <github-actions@github.com>
2024-06-21 14:56:17 +02:00
Alba Rincón 4976011b54
CYS - Fix register testimonials category as reviews failing test (#48719)
* Fix register testimonials category as reviews failing test

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-06-21 13:55:15 +02:00
Mike Jolley a80e3e8a56
Accessibility: Prevent shipping losing focus when making selections during checkout (#48370)
* Prevent duplicate update

* Style aria disabled radio input

* Disable keyboard navigation when options are being sent to server.

* Abort multiple requests to update shipping rates

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

* Update changelog

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-06-21 10:23:19 +01:00
Alba Rincón 4424860d03
CYS > Register PTK testimonial patterns as reviews (#48674)
* Register PTK testimonial patterns as reviews

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-06-21 10:12:50 +02:00
Alba Rincón 52d4c7bb84
[CYS] Fetch patterns from the WooCommerce PTK source site (#48492)
* Include a request to the PTK for the woocommerce site

* Parse _woo_* categories

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

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

* Continue the flow when fetching dotcom patterns fails

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-06-21 10:12:15 +02:00
Tung Du 921e86e6ab
[Experimental] Product Filters: add layout and block spacing support (#48429)
* add: layout and block spacing support

* chore: changelog

* add: vertical aligment controls

* fix: update test to check for inspector styles controls

* test: ensure the block spacing setting is visible

* test: ensure the layout settings is rendered

* test: default layout settings

* test: justification setting

* test: orientation

* test: block spacing

* test: remove unnecessary util

* test: store selector in blockData

* test: use layout matching
2024-06-21 04:37:46 +00:00
Gabriel Manussakis ee2a545dce
[Accessibility] Fix typos in packages/js/**/*.md files (#48569)
* Fix "dowloaded" typo

* Fix "Lifecyle" typo

* Fix "elments" typo

* Fix "confguration" typo

* Fix "curent" typo

* Fix "overriden" typo

* Fix "searchs" typo

* Fix "ot" typo

* Fix "oject" typo

* Add changelog files
2024-06-20 13:04:24 -07:00
Julia Amosova b49ce6903a
Update stable tag to 9.0.1 (#48696)
woorelease: Update stable tag to 9.0.1

Co-authored-by: Julia Amosova <juliaamosova@ultraw-mbp.mynetworksettings.com>
2024-06-20 14:53:05 -04:00
Damián Suárez 7be79ffcd4
Product Editor: set the Items Query consistently for all selects/actions (#48672)
* ensure to use the same Items query

* changelog
2024-06-20 17:08:17 +01:00
Thomas Roberts 23e7f6456c
Update shipping method modal copy if block-based local pickup is active (#48529)
* Update shipping method modal copy if block-based local pickup is active

* add changelog

* Import correct LocalPickupUtils class
2024-06-20 17:51:20 +02:00