Commit Graph

63364 Commits

Author SHA1 Message Date
Peter Fabian 3b2cb26631
[WP6.5] Added woocommerce requirement to Woo AI's header. (#45871)
* Added plugin requirement.
2024-03-26 13:24:41 +01:00
Chi-Hsuan Huang 2481778b2c
Update Launch Your Store task action URL (#45932)
* Add get_action_url method to LaunchYourStore task

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-03-26 19:51:56 +08:00
Jonathan Lane 859191f241
Improve tests for the marketing overview page (#45814)
Co-authored-by: Jon Lane <jon.lane@automattic.com>
Co-authored-by: Adrian Moldovan <3854374+adimoldovan@users.noreply.github.com>
2024-03-26 13:36:55 +02:00
Alba Rincón 217a70a31a
[CYS] Add transitional page e2e tests (#45894)
* Add transitional page tests

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-03-26 09:55:36 +01:00
Alba Rincón 91dda90ab3
[CYS] Add spacing between the title and the rest of the pattern (#45830)
* Add spacing between the title and the rest of the pattern

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

* Remove duplicated blockgap

* Add spacing

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-03-26 09:54:08 +01:00
Tom Cafferkey 0cb3b4a9ad
Block Hooks API: Add CustomerAccount block to header (#43267)
Co-authored-by: github-actions <github-actions@github.com>
2024-03-26 08:38:06 +00:00
Ron Rennick f8f94fa13a
skip PR live build on non-plugin changes (#45891)
Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
2024-03-26 10:35:22 +02:00
Niels Lange 142b7d69d9
Allow to disable shipping independent of Local Pickup settings (#45828)
* Ensure that shipping can be disabled independent of Local Pickup

* Fix PHPCS issues

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-03-26 12:02:34 +07:00
RJ 6c12f8b6d4
add: lys xstate url handling (#45803)
* add: lys xstate url handling

* added: tests and fixes and changelog
2024-03-26 10:29:16 +08:00
RJ d063452139
dev: added xstate v5 inspector (#45879)
* dev: added xstate v5 inspector

* pnpm lock
2024-03-26 10:28:51 +08:00
Shani ed296e5b93
Update developer resources tools docs (#45567)
* Removes dev resources file, edits dev tools, adds new contribution file

* Adds meta tags

* Adds updated manifest.json

* Fixes typo

* Update contributing-to-core-and-marketplace.md

---------

Co-authored-by: Shani Banerjee <shanibanerjee@Shanis-MBP.lan>
Co-authored-by: Jacklyn Biggin <hi@jacklyn.dev>
2024-03-25 21:19:54 +00:00
Ron Rennick eee8643c53
assign blocks PHP PR reviews to blocks teams (#45849)
Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
2024-03-25 15:31:19 -03:00
Ron Rennick 1a03a64248
Sync husky, @playwright/test, github-label-sync (#45551)
* bump husky, remove remnants from blocks

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

* add @playwright/test to syncpack

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

* update pnpm-lock.yaml

* add github-label-sync to syncpack

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

---------

Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
Co-authored-by: github-actions <github-actions@github.com>
2024-03-25 15:05:09 -03:00
github-actions[bot] f325727a7f
Prep trunk for 8.9 cycle (#45817)
Prep trunk for 8.9 cycle with version bump to 8.9.0-dev

Co-authored-by: WooCommerce Bot <no-reply@woo.com>
2024-03-25 17:19:35 +01:00
github-actions[bot] 5bc944f394
Release: Remove 8.8 change files (#45818)
Delete changelog files from 8.8 release

Co-authored-by: WooCommerce Bot <no-reply@woo.com>
2024-03-25 17:17:17 +01:00
Rodrigue b3a1d8c922
Add a filter for the items to apply coupons array. (#45791)
* Add a filter for the items to apply coupons array.

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

* Add filter docbloc.

* Add since tag in filter docbloc.

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-03-25 17:23:47 +02:00
Adrian Moldovan 2403baca01
[e2e tests] Update customer-payment-page spec to be theme agnostic (#45888) 2024-03-25 12:03:30 -03:00
Adrian Moldovan c5c68f5b68
[e2e tests] Fix can create a simple product tests (#45884)
* Update category check in frontend

* Add changelog

* Removed describe block

* Test with single shard

* Add the 5 shards back

* Add the 5 shards back
2024-03-25 11:49:12 -03:00
dependabot[bot] 0a7fcb8324
Bump composer/composer from 2.6.5 to 2.7.0 in /packages/php/monorepo-plugin (#44460)
Bump composer/composer in /packages/php/monorepo-plugin

Bumps [composer/composer](https://github.com/composer/composer) from 2.6.5 to 2.7.0.
- [Release notes](https://github.com/composer/composer/releases)
- [Changelog](https://github.com/composer/composer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/composer/composer/compare/2.6.5...2.7.0)

---
updated-dependencies:
- dependency-name: composer/composer
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-25 11:08:22 -03:00
Alexandre Lara 207a5b43d2
Single Product Block: Add missing allowed inner blocks to fix nesting placement restrictions (#45530)
* Add missing allowed inner blocks to Single Product block

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

* Remove unnecessary attribute from Single Product block template

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-03-25 10:59:57 -03:00
Marco Almeida 39ecfece30
Fix "add_action" accepted args (#45862)
* Fix "add_action" accepted args

Fixing the "add_action" accepted args on the examples

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-03-25 12:13:44 +00:00
And Finally 8fe1c4005e
In-app marketplace: remove extension update count bubble from menu item if we're showing a promotional bubble (#45832)
* Strip out extension update count bubble from menu item if we are showing a promotional bubble.

* Changelog.
2024-03-25 11:41:32 +00:00
Adrian Moldovan e117bc6457
[e2e tests workflows] Fix merge reports depends on unknown job in HPOS disabled workflow (#45823) 2024-03-25 11:07:25 +00:00
Thomas Roberts c1d644dc16
Try fixing additional checkout fields E2E test (#45789)
Co-authored-by: Karol Manijak <20098064+kmanijak@users.noreply.github.com>
2024-03-25 03:56:55 -07:00
Alba Rincón 4f2ed8d262
[CYS - Core] E2E tests: add coverage for the Intro page (#45356)
* Add test for the offline intro banner

* WIP

* WIP

* Add more tests

* Remove unnecessary code

* Remove consoles

* Remove console

* Update strings

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

* Remove unnecessary code

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-03-25 10:28:02 +01:00
Bart Kalisz 080538ad2f
Apply upstream performance improvement to `_get_templates_paths` (#45619)
Co-authored-by: Tom Cafferkey <tjcafferkey@gmail.com>
2024-03-25 09:18:02 +00:00
Moon 12c53d9264
Add `coming soon` page and setting (#45773)
* Add 'coming-soon' page

* Add coming soon page when user hits the core profiler page.

* Added coming soon page selector under Page setup

* Move coming soon page logic to launch your store feature class

* Conditionally add coming soon select

* Move coming soon page creation logic to WooCommerce Home

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

* Fix tests


---------

Co-authored-by: github-actions <github-actions@github.com>
2024-03-22 15:33:20 -07:00
Paweł Nguyen e610b5048c
Fix homepage link in create-woo-extension package.json (#45811)
* Fix homepage link in package.json

* Add changefile(s) from automation for the following project(s): @woocommerce/create-woo-extension

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-03-22 17:09:27 -03:00
Matt Sherman 37e58a982a
Product Editor: Show correct Publish/Schedule button label when timezone is behind UTC (UTC-1, UTC-4, UTC-9, etc.) (#45848)
* Use useProductScheduled to determine button label

* Changelog
2024-03-22 14:18:32 -04:00
Moon 5352c705b5
Fix Shipping Task input visual issue on Firefox (#45778)
* Fix layout issue -- add align-items for flex items

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-03-22 10:52:47 -07:00
Leif Singer a45e5eda4f
Add a test for the `woocommerce_specific_allowed_countries` option (#45810)
* add a test for the `woocommerce_specific_allowed_countries` option

* add changelog file
2024-03-22 10:47:25 -07:00
Nathan Silveira ff79576cd3
Fix word break inside columns in product editor (#45687) 2024-03-22 14:42:15 -03:00
Maikel Perez 54476cb7f3
After Variations are created, disable the fields that don’t do anything (#45838)
* Disable woocommerce/product-regular-price-field when product type is variable

* Disable woocommerce/product-sale-price-field when product type is variable

* Disable woocommerce/product-sku-field when product type is variable

* Disable Track stock quantity toggle when product type is variable

* Disable woocommerce/product-radio-field when product type is variable

* Disable woocommerce/product-shipping-class-field when product type is variable

* Disable woocommerce/product-shipping-dimensions-fields when product type is variable

* Add changelog files

* Fix php linter
2024-03-22 13:52:42 -03:00
Damián Suárez 27124828e9
[Product Block Editor]: register `metadata` attribute for all blocks (#45657)
* register the `metadata` attribute for all blocks

* bind value attribute with the nane product entity

* changelog

* add a ToDo note

* rename edit component fn to NameBlockEdit

* changelog

* restore @ts-export line

* fix eslint issue

* fix eslint issue
2024-03-22 12:23:38 -04:00
Adrian Moldovan e9777de4aa
Update concurrency group for pr label workflow (#45793) 2024-03-22 12:51:28 -03:00
Veljko V 1ba4bcef58
Update existing test to include scenarios for adjusting shipping and payment options (#45755)
* Add test for shipping methods but as commented

* Update comment with issue number
2024-03-22 12:44:14 -03:00
Fernando Marichal 3842611975
Update copy of inventory management fields (#45801)
* Update copy of inventory management fields

* Add changelog

* Add changelog
2024-03-22 11:49:54 -03:00
Fernando Marichal 4a0d7f5822
Enable 'Publish' button when product status is draft (#45812)
* Enable publish button when draft

* Add changelog
2024-03-22 11:49:22 -03:00
Fernando Marichal dd550ddca4
Add an image to multiple variations using Quick updates (#45774)
* Add component

* Add utils

* Add styles

* Use utils in images block

* Add changelog

* Add tracks event

* Add mode upload by default

* Fix js tests

* Fix variation-actions-menus tests
2024-03-22 11:49:11 -03:00
Seghir Nadir 401737994f
Use state name in Checkout block address card (#45799)
* Use state name in address card

* fix linting issue

* remove extra check for checkout endpoint

* address review feedback
2024-03-22 15:14:14 +01:00
Adrian Moldovan 88834ff469
[e2e tests] Disable focused test (#45825) 2024-03-22 12:45:04 +00:00
Seghir Nadir 7d944cd259
Add Shipping phone number to the order preview panel (#45788)
* Add Shipping phone number to the order preview panel

* Update plugins/woocommerce/src/Internal/Admin/Orders/ListTable.php

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

* Update plugins/woocommerce/src/Internal/Admin/Orders/ListTable.php

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

* Update plugins/woocommerce/src/Internal/Admin/Orders/ListTable.php

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

* Update plugins/woocommerce/src/Internal/Admin/Orders/ListTable.php

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

---------

Co-authored-by: Paulo Arromba <17236129+wavvves@users.noreply.github.com>
2024-03-22 13:08:53 +01:00
Jonathan Lane 4c4a581b71
[E2E] Initiate a woo.com connection (#45813)
Co-authored-by: Jon Lane <jon.lane@automattic.com>
2024-03-22 11:53:47 +02:00
Manish Menaria ca7aed0a95
Product Collection: Don't show publicly non-queryable taxonomies (#45781)
* Don't show publicly non-queryable taxonomies

The main enhancement involves adding a visibility filter to the taxonomies query. Now, the query considers the `publicly_queryable` property of each taxonomy. Only taxonomies marked as publicly queryable are included in the final list returned by the `useTaxonomies` hook. This change ensures that the Product Collection block's taxonomy controls only display taxonomies relevant and accessible to the public, enhancing both the usability for content creators and the relevance of taxonomy selections for site visitors.

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-03-22 15:01:58 +05:30
Luigi Teschio c2a3abae51
[CYS - E2E tests] Add E2E tests for the loading screen (#45804)
* CYS: initial E2E tests loading page

* add more cases

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-03-22 10:07:33 +01:00
Christopher Allford b8bd480faf
Ensure Product Collection Block's `queryId` Uniqueness (#44522)
Since we don't need it to be _perfectly_ stable,
we can just set the `queryId` to the instance ID
on every component mounting. This is fine and
won't mark the attribute as dirty unless a
collection block is added, deleted, or moved
in just the right way. The exception to this
is collection blocks in sync patterns.
In this case the ID cannot change
because it can cause update loops in some
cases that freeze the browser.
2024-03-22 01:40:15 -07:00
Christopher Allford 5002b62d00
Reset Product Collection Pagination When Filtering (#45693)
Since we can't be sure that a page exists once the filters have been
changed we should reset the page when they do.
2024-03-21 14:03:13 -07:00
Maikel Perez a5943ab0ef
Advanced settings > Features: remove Navigation setting when store isn't using it (#45800)
* Remove Navigation setting when store isn't using it

* Add changelog file

* Fix api core test
2024-03-21 16:09:30 -03:00
Patricia Hillebrandt b790f155d0
[CYS on Core] Update the copy for the fonts opt-in modal (#45805)
* Update the copy for the fonts opt-in modal

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-03-21 19:49:37 +01:00
Jorge A. Torres db34a15116
Handle posts > HPOS redirect more gracefully when backup post is missing (#45605)
* Attempt to determine order type from HPOS side too in `PostsRedirectionController`

* Add changelog

* Simplify redirect logic

* Linter hates short ternaries
2024-03-21 18:33:59 +00:00