Commit Graph

64329 Commits

Author SHA1 Message Date
Veljko V 8c7950b0c6
Fix flaky mini-cart and create-checkout-block e2e tests (#48916)
Fix flaky Gutenberg and Services tests
2024-06-28 10:49:29 +01:00
Luigi Teschio 6b366c2390
CYS: fix flickering effect (#48767)
* CYS: fix flickering effect

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

* not use hook

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-06-28 11:38:27 +02:00
Veljko V 9a58378fec
Fix merchant settings general e2e test (#48907) 2024-06-28 10:10:33 +01:00
Wacław Jacek 9cc937d1f9
Don't recommend WCS&T on Edit Order page with WCShip/WCTax active (#48704) 2024-06-28 11:09:01 +02:00
Luigi Teschio 026e93916a
CYS: when the footer/header is clicked, the border color is blue (#48765)
* CYS: when the footer/header is clicked, the border color is blue

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

* improve CSS

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-06-28 08:40:01 +00:00
Damián Suárez 93e148d921
E2E: update how to detect when global attributes are loaded. (#48915)
* rename helper file name

* detect attributes loaded at data-layer level

* changelog
2024-06-28 08:39:11 +00:00
Tung Du 185a3d579c
[Experimental] Product Filters Overlay Navigation block (#48677)
* add: block scaffold

* add: block settings and editor preview

* chore: discard change to pnpm lock file

* add navigation block to the template part

* test: add basic E2E tests

* chore: changelog

* fix: no full width button

* test: remove layout check

* tweak: dynamically fetch button styles

* try: fontsizepicker

* remove: FontSizePicker dute to lack of ability to change label

* fix: use correct icon from the design

* address review feedback

* update class to follow naming convention. use explicit value to better indicate the navigation style

* fix: remove unnecessary style that breaks the global style

* fix: remove unnecessary style
2024-06-28 08:16:21 +00:00
Damián Suárez ebd95f8187
Product Editor: document WooProductMoreMenuItem slotFill component (#48759)
* first version of the WooProductMoreMenuItem doc page

* changelog

* fix md issue

* move doc file to the proper location
2024-06-28 09:06:54 +01:00
Niels Lange 545ec78185
Make proceed to order button non sticky when zoom level is bigger than 100% (#48391)
* Make proceed to order button non sticky when zoom level is bigger than 100%

* Define sticky container based on media query

* Revert previous inline comment

* Update display logic

* Adjust threshold to stabilise visibility toggling

* Improve readability
2024-06-28 10:05:49 +02:00
Damián Suárez 38390ab6e8
Product Editor: improve E2E tests. Test the `+3 More` item label in the Organization tab (#48891)
* introduce attributes fixture

* expose the tabs from the new data/ folder

* introduce confirmGlobalAttributesLoaded helper

* reuse confirmGlobalAttributesLoaded helper

* reuse attributes fixture

* check the `+3 More` item label

* changelog

* not only this test

* rename to waitForGlobalAttributesLoaded
2024-06-28 07:58:22 +01:00
Vladimir Reznichenko 66ae029f70
CI: lint strict types directive for new files (#48779)
Tooling: extend php-files linting (require strict types directive)
2024-06-28 08:09:40 +02:00
Manish Menaria b0ef3886c0
Product Collection: Fix Preview badge border-radius and alignment (#48856)
* Fix Preview badge border-radius and alignment

The Preview badge's bottom left and right corners now have border-radius set to 0px to ensure they smoothly morph into the block's stroke. The badge is visually aligned with the furthest edge of the block's right border.

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

* Fix Lint errors

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-06-28 11:14:59 +05:30
Paul Sealock 28ce50fefe
Store Alerts: Update widths to match main body (#48487) 2024-06-28 08:37:25 +12:00
Fernando Marichal 5811655e1a
Revert "Set stock quantity value to 0 by default (#48448)" (#48863)
* Revert "Set value to stock quantity"

This reverts commit 4350f497fd.

* Revert "Undo set_stock_quantity"

This reverts commit 19affd841b.

* Add changelog

* Fix lint

* Fix lint

* Fix lint warning

* Undo set_stock_quantity
2024-06-27 13:23:56 -03:00
Wacław Jacek c7fcc8eaac
Don't recommend WCS&T in default extension recommendations if WCShip or WCTax is active (#48705) 2024-06-27 17:17:50 +02:00
Ilyas Foo 6d1de12aa9
Fix shipping zones add zone button flinching (#48869)
* Fix add zone button flinching and vertical centering

* Changelog
2024-06-27 23:06:46 +08:00
Veljko V 4077d36ceb
Fix Core with Gutenberg e2e tests (#48896)
* Fix Core Gutenberg e2e tests

* Fix merchant create checkout block test
2024-06-27 16:33:26 +02:00
Wacław Jacek f257baa4e5
Don't recommend WCS&T on shipping settings page if WCShip or WCTax is active (#48701) 2024-06-27 15:36:00 +02:00
Wacław Jacek f0b9a9147f
Don't display WCS&T help in tasks if WCShip or WCTax is active (#48703) 2024-06-27 15:35:18 +02:00
Ilyas Foo 4eba3cb09a
Exclude coming soon patterns from block inserter (#48821)
* Exclude coming soon patterns from block inserter

* Changelog

* Remove coming soon block from inserter
2024-06-27 19:17:06 +08:00
Luigi Teschio bfe65d61d1
CYS: Update sidebar homepage copy (#48882)
* CYS: Update sidebar homepage copy

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

* fix lint error

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-06-27 09:50:45 +00:00
Damián Suárez ce81de95a9
Product Editor: fix issue when trying to create same terms with different cases (#48627)
* prevent creating duplicated items with different cases

* changelog

* allow terms with same name for local attributes

* fix wrong const name to identy local attributes

* use more complext terms for E2E test

* encode URL to pass E2E test

* split E2E when creating new terms

* introduce `slug` property to TokenItem

* rename terms with globalAttributeTerms

* jsdoc

* minor test name change

* changelog
2024-06-27 09:50:27 +01:00
Luigi Teschio c119a1b64f
CYS: Improve Block Toolbar logic (#48799)
* CYS: Improve Block Toolbar logic

* disable animation

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-06-27 08:22:32 +00:00
Damián Suárez 84353a8987
Product Editor: restore Product (local) Attributes E2E test (#48871)
* minor test re-organization. test.only for dev

* update test when creating local attrs with terms

* udpate checking the attribute terms

* fix checking terms in the frontend

* attribute value is not used. clean

* improve jsdoc

* run not only this test

* changelog

* minor doc improvement
2024-06-27 08:05:29 +00:00
Albert Juhé Lluveras e13ce86036
Add back revert template e2e tests (#48805)
* Add back revert template e2e tests

* Add changelog file
2024-06-26 15:15:38 +02:00
Luigi Teschio e601afb351
CYS: Remove not necessary patterns (#48750)
* remove not necessary patterns

* use always template1 for AI flow

* show default patterns homepage

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

* remove not used images

* restore changes

* fix e2e test

* fix e2e test

* restore necessary patterns

* add necessary patterns

* restore necessary patterns

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-06-26 12:55:35 +00:00
Jonathan Lane 6fb9131728
Update coupon test for retries (#48734)
Co-authored-by: Jon Lane <jon.lane@automattic.com>
2024-06-26 14:06:20 +03:00
Jonathan Lane 745964d048
Fix variations saving with UI check (#48737)
Co-authored-by: Jon Lane <jon.lane@automattic.com>
2024-06-26 13:59:46 +03:00
Albert Juhé Lluveras 0205513556
Fix Classic Template block registration on WP 6.6 (#48730)
* Fix Classic Template block registration on WP 6.6

* Update Compatibility Layer docs

* Add changelog file

* Remove unused function

* Simplify logic
2024-06-26 12:20:22 +02:00
Ilyas Foo d9e837a8ca
Add coming soon example code documentation (#48748)
* Add coming soon docs

* Update manifest

* Add new example and fix writing

* Update docs/extension-development/integrating-coming-soon-mode.md

Co-authored-by: Adrian Duffell <9312929+adrianduffell@users.noreply.github.com>

* Add example for a single page exclusion

* Add example for 2-way sync and fix trigger from woocommerce example to use update_option action

* Lint

* Update docs according to style guide

* Better structure for custom exclusions filter

* Update manifest

---------

Co-authored-by: Adrian Duffell <9312929+adrianduffell@users.noreply.github.com>
2024-06-26 17:07:06 +08:00
Néstor Soriano cacb10065e
Improvements in the handling of feature compatibility for plugins (#48169)
- In the plugins list only features that are currently enabled
  will be considered for the list of features that are incompatible
  with a given plugin.

- A per-feature flag named "plugins_are_incompatible_by_default"
  is used. Defaulting to false, when it's true for a given feature
  it means that plugins not declaring compatibility with a the
  feature are to be considered incompatible with the feature.
  The flag is set for the HPOS feature only.

- A new 'woocommerce_plugins_are_incompatible_with_feature_by_default'
  filter is added, which allows to alter the flag for a given feature.

- The "plugins incompatible with feature" page will display all the
  incompatible/uncertain plugins, even if the feature is disabled.
  The "plugins incompatible with ALL features" page still shows
  only plugins that are incompatible/uncertain with enabled features.

- Add a --ignore-plugin-compatibility switch to the "wc hpos enable"
  command, to allow enabling even if there are incompatible plugins.

- Add a new "wc hpos compatibility-info" command, which lists 
  the plugins that are compatible/incompatible/uncertain with HPOS.
2024-06-26 08:45:43 +02:00
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