Commit Graph

64029 Commits

Author SHA1 Message Date
Jonathan Lane e8e1391fa0
Add annotation for test PR e2e test run results (#48029)
* Add annotation for test results

* Minor change to trigger e2e tests

* Fix command, add emoji

* Update emoji

* Add changelog

* Update from PR feedback

* Revert "Add changelog"

This reverts commit 03656848eb.

* Revert "Minor change to trigger e2e tests"

This reverts commit 64e3a87b2d.

---------

Co-authored-by: Jon Lane <jon.lane@automattic.com>
2024-06-04 13:03:38 -07:00
Fernando Marichal f0feb62837
Override product name height and font-size (#47979)
* Override name field height and font

* Add changelog

* Update packages/js/product-editor/src/blocks/product-fields/name/editor.scss

Co-authored-by: Maikel Perez <maikel.perez@automattic.com>

* Fix styles

---------

Co-authored-by: Maikel Perez <maikel.perez@automattic.com>
2024-06-04 16:40:03 -03:00
Damián Suárez 6fed682db8
WooCommerce: introduce `product-editor-template-system` feature flag (#48136)
* register product-editor-template-system flag

* changelog
2024-06-04 18:49:31 +01:00
Jorge A. Torres db815b628e
Add CLI tool to toggle HPOS compatibility mode (#48117)
* Add changelog

* Add CLI tools to enable/disable compat mode

* Appease linter

* Rename command
2024-06-04 10:19:54 -07:00
Ivan Stojadinov dd5c69b46b
Update stable tag to 8.9.2 (#48160)
woorelease: Update stable tag to 8.9.2
2024-06-04 19:01:31 +02:00
Vedanshu Jain 67d0348cbe
Move the tracker init under defensive check (#48056)
* Move the tracker init under defensive check to prevent accidental miuse in future.

* Add changelog.
2024-06-04 11:35:12 -05:00
Albert Juhé Lluveras 4ce5b6274f
Add 'template_name' labels to Product post type and Product Category and Product Tag taxonomies (#48106)
* Add 'template_name' labels to Product post type and Product Category and Product Tag taxonomies

* Add changelog file

* Remove Single Product template name
2024-06-04 16:16:32 +02:00
github-actions[bot] 7dbb910c29
Delete changelog files based on PR 48109 (#48145)
Delete changelog files for 48109

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2024-06-04 22:07:38 +08:00
Luigi Teschio 2698eabcbf
CYS: Ensure that toolbar appears only when the homepage sidebar is open (#48115)
* CYS: Ensure that toolbar appears only when the homepage sidebar is open

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

* CYS: Ensure that toolbar appears only when the homepage sidebar is open

* use usequery hook instead of navigation API

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-06-04 14:11:10 +02:00
Sam Seay 296d5535f4
Add summaries to the details sections in the PR template (#48123)
Add summaries to the details sections to make them more obvious in their intent.
2024-06-04 23:52:24 +12:00
Vlad Olaru 54a2466f32
Fix WooPayments incentives allowed promo notes logic (#48105)
* Fix WCPay incentive allowed promo notes logic

The WCPay promo notes need to be added to the allowed
list regardless if WCPay is installed and active.
We will respect marketplace suggestions and promo
dismissal settings.

* Added changelog entry
2024-06-04 13:34:11 +03:00
Karol Manijak 7d3309dc6c
Related Products: hide unusable options from Inspector Controls (#47845)
* Hide unusable options from Related Products block

* Add changelog

* Fix the dscription of Single Product template compatibility layer tests

* Add E2E test

* Replace editorUtils with editor in E2E tests

* Fix typo

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

* Fix typo

---------

Co-authored-by: Bart Kalisz <bartlomiej.kalisz@gmail.com>
2024-06-04 11:51:27 +02:00
Damián Suárez 63a2788527
Product Block Editor: improve a11y when creating a new Shipping class (#47995)
* focus description when generating slug

* focus the name once the modal renders

* changelog

* do not focus on description field

* isSecondary is depcreated. use "variant" prop

* move changelog file
2024-06-04 10:12:08 +01:00
Albert Juhé Lluveras 017b01acf7
Minor improvements to BlockTemplatesController instantiation (#48107)
* Fix wrong comment in BlockTemplatesController class docs

* Remove unused function parameters

* Code style

* Add changelog file
2024-06-04 09:23:23 +02:00
Sam Seay 8696a2f17c
Fix an e2e test that was merged incorrectly in #47526 (#48122) 2024-06-04 18:14:31 +12:00
Ilyas Foo c53e0282a3
Fix missing "discover more" url in LYS tour (#48109)
* Add URL to discover more link

* Changelog
2024-06-04 10:33:39 +08:00
Adrian Moldovan 9b251ce318
[testing workflows] Add test environments and deprecate the daily e2e workflow (#48101)
* Deprecate pr-smoke-test.yml

* Add configs for each environment

* Add scripts

* Add arguments to playwright command

* Update pnpm scripts and existing e2e projects

* Fix shellcheck warning

* Update test env start for Gutenberg stable run

* Add changelog

* Remove unused var

* Set the USE_WP_ENV var

* Configure daily e2e jobs

* Rename some steps
2024-06-03 14:12:45 -07:00
Jonathan Lane 2a912b50ae
Test to initiate connection to WooCommerce.com (#48028)
Test to connect to wc.com

Co-authored-by: Jon Lane <jon.lane@automattic.com>
2024-06-03 13:25:07 -07:00
Alexandre Lara b702fb1288
[Experimental] Product Filters Redesign: Hide individual filter blocks from the Block Inserter (#47526)
* Hide individual filter blocks from the inserter

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

* Adjust E2E tests to check for hidden filters

* Fix file conflict

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: roykho <roykho77@gmail.com>
2024-06-03 12:26:21 -07:00
Lucio Giannotta 45cbc41f65
Move registration of block categories on the server side (#47836)
Previously, we registered block categories on the client-side, leading to them not
being available until client initialization. This meant, for example, that hooking
external blocks to our categories would result in a warning.

With this change, we register the categories server-side, and only update them
on the client-side to attach the SVG icon. This is the recommended approach
in the Gutenberg docs, to make sure we use the SVG primitive, which affords some
accessibility features.
2024-06-03 20:34:41 +02:00
Thomas Roberts b0db3aeab4
Update payment method integration links for improved a11y and not to point to WC Blocks repo (#47936) 2024-06-03 11:29:11 -07:00
Thomas Roberts bb92392d9f
Apply spacing improvements to the Checkout block (#47565) 2024-06-03 11:18:42 -07:00
Adrian Moldovan d4a4590ed6
[php tests] Skip test_order_updated_webhook_delivered_once (#48064) 2024-06-03 10:04:18 -07:00
Matt Sherman 1386fa2df2
Product Editor: Remove Add Sizes and Add Colors buttons from Variations tab (#48114)
* Temporarily remove Add Sizes and Add Colors buttons until they are fixed

* Changelog
2024-06-03 12:23:01 -04:00
Veljko V 3d3945652e
Fix flakiness in e2e checkout block and launch your store tests (#48016)
Co-authored-by: Adrian Moldovan <3854374+adimoldovan@users.noreply.github.com>
2024-06-03 17:08:10 +03:00
Roy Ho f7ef2ca91b
Add a higher priority z-index to coming soon banner (#48082)
* Add a higher priority z-index to coming soon banner

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-06-03 06:05:54 -07:00
Niels Lange 93214eeb2b
[Enhancement]: Block-based checkout input fields style updates (#46362)
* Adjust border and box-shadow color for textual inputs

* WIP: Style checkboxes

* Vertically center checkmark

* Adjust focus outline width

* Adjust selected checkbox background in light mode

* Adjust background color of selected radio button

* Add chevron icon to dropdown fields

* Add changelog

* Fix CSS lint issues

* Adjust outline width

* Revert checkbox styles

* Adjust input field height and label size

* Revert box-shadow styles

* Add spacing between coupon title and coupon code

* Simplify onFocus and onBlur

* Fix outline width when focusing combobox

* Ensure chevron points down after selecting value

* Adjust outline color of focused delivery option

* POC: Use currentColor for focus states
2024-06-03 18:46:08 +07:00
github-actions[bot] 9fb0aacc25
Delete changelog files based on PR 48077 (#48093)
Delete changelog files for 48077

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2024-06-03 16:31:27 +08:00
Bart Kalisz 44efb7ffac
Blocks E2E: Use layout-based selectors in Thumbnails block tests (#47904)
* Use layout-based selectors in Thumbnails block tests

* improve test readability

* add changelog entry
2024-06-03 10:26:27 +02:00
Seghir Nadir b4efa72b07
Revert "Add phone number to my account shipping address. (#47062)" (#48077)
* Revert "Add phone number to my account shipping address. (#47062)"

This reverts commit 4840af874a.

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-06-03 09:11:02 +02:00
Adrian Moldovan d2bde1368a
Tweak the changes configuration for e2e and api tests (#48067) 2024-05-31 07:49:49 -07:00
Maikel Perez a0f9d159e5
New image empty state for variations (#47909)
* Fix the variations image block placeholder to show only one image

* Add changelog file
2024-05-31 11:14:33 -03:00
Sam Seay b04c8bb9ec
Add path ignore to assess bundle action to reduce how often it runs (#48058) 2024-06-01 00:46:44 +12:00
Roy Ho b85e1aa402
Use correct AND expression (#48011)
* Use correct AND expression

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-05-31 05:23:57 -07:00
Barry Hughes 9403cc46ba
Do not update the `last_access` field of API keys unnecessarily. #47912) 2024-05-31 12:44:01 +02:00
github-actions[bot] c44af56029
Delete changelog files based on PR 47994 (#48043)
Delete changelog files for 47994

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2024-05-31 16:51:34 +08:00
github-actions[bot] be89612237
Delete changelog files based on PR 47004 (#48041)
Delete changelog files for 47004

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2024-05-31 16:36:47 +08:00
Luigi Teschio 0712c6037b
Add To Cart Form: Improve the default style and add the `Stepper` style (#47664)
* Add To Cart Form: Improve the default style and add the Stepper style

* fix height button when no variation is selected

* not allow the user to set 0 as value of the input

* format css

* fix padding

* format css

* fix CSS

* unset margin to align with the button
2024-05-31 10:25:04 +02:00
github-actions[bot] 2b319684e2
Delete changelog files based on PR 47798 (#47982)
Delete changelog files for 47798

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2024-05-31 16:20:35 +08:00
Chi-Hsuan Huang 8cbf2356ff
Update LYS survey completion track prop names (#47985)
* Update survey completion track in Congrats component

* Add changelog

* Update prop name

* Fix survey score
2024-05-31 15:06:45 +08:00
Chi-Hsuan Huang c49960df74
Fix coming soon footer banner doesn't display properly on tablet and mobile (#47980)
* Fix coming soon footer banner doesn't display properly on tablet and mobile

* Add changelog

* Fix test

* Revert button text change

* Revert test change
2024-05-31 15:05:59 +08:00
github-actions[bot] 239d33d70e
Delete changelog files based on PR 47871 (#47946)
Delete changelog files for 47871

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2024-05-31 15:03:19 +08:00
Karol Manijak fe30778293
Increase product excerpt default length in Single Product template and block (#47651)
* Increase the length of Product Summary block (core/post-excerpt variation)

* Add changelog

* Bring back the Product Summary variation to original length

* Increase the Product Summary length to max 100 words in Single Product template and block

* Increase the Product Summary length to max 100 words in Single Product block

* Update tests

* Change the attribute type froms tring to niumber as expected
2024-05-31 08:19:06 +02:00
Patricia Hillebrandt 5dd7713346
[Performance]: Replace `classnames` usage with `clsx` (#47760)
* Replace classnames with clsx within woocommerce-blocks.

* Undo unnecessary change to getClassnames const.

* Replace classnames with clsx within woocommerce-admin.

* Add changelog.

* Update the pnpm lock file

* Address lint.

* Address lint errors for the block-library.
2024-05-31 05:49:36 +02:00
Chi-Hsuan Huang 38dbde4ba8
Clean up tasklist progression headercard experiment (#47983)
* Clean up tasklist progression headercard experiment

* Add changelog
2024-05-31 11:45:12 +08:00
Manzur Ahammed a7ade5d2dc
Show notice for expired and expiring subscriptions in settings and in-app extensions page (#47004)
* show notice on WC core about subs expired

* add notice in wc core my subscription page

* dismiss subscription notice

* add rest api for dismiss subscription notioce

* dismiss notice permanently

* code refactor

* fix issue in expired subs

* not showing expiring subs notice if expired sub notice render

not showing expiring subs notice if expired sub notice render

* fix lint

* added changelog

* update comment

* fix js lint

* update response

* added new endpoint for notice

* update the endpoint URL

* update the endpoint URL

* show notice after one month

* add css class for refactor

* fix lint

* Add missing callback after the merge

* check plugin is installed on current site

* add comments, and fix missing price

* fix lint

* remove unnecessary duplicate asset load

* fix notice so that it only trigger dismiss API on notices close

* localize the renew product price

* track events in the wc settings page

* Use the correct field product_regular_price instead of product_price

* Add missing period in the notice message

* add nonce to the dismiss notice API

* extract dismiss notice API call to different code

* extract expired and expiring component to 1 component

* add track events for tsx components

* fix nonce checking

* fix lint

* fix lint

* enrich the button and hyperlink url to contains the product_id of expiring / expired subscription

* fix lint

* fix lint

---------

Co-authored-by: Akeda Bagus <akeda.bagus@automattic.com>
Co-authored-by: prahesa.setia <prahesa.kusuma.setia@automattic.com>
2024-05-31 08:34:36 +07:00
Moon 04a5e67d88
LYS - Delete WooPay test orders on launch (#47832)
* Add woopayments/test-orders-count endpoint

* Load test order count

* Call deleteTestOrders

* Remove test code

* Use wc_get_orders to retrive test orders

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

* typecast deleteTestOrders

* Type removeTestOrders input

* Remove woopayment activation check -- do not need as we are using wc_get_orders

* Add tests for test order count and delete endpoints

* Delete test class

* Add tests for test order count and delete endpoints

* Lint fixes

* Lint fixes

* Lint fixes

* Remove unused import

* Fix timing issue with counting test orders

* Add hasWooPayments guard

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: rjchow <me@rjchow.com>
2024-05-30 16:19:30 -07:00
Barry Hughes 3bf01a50d3
Fix the permissions check for customer downloads REST API endpoints. (#47854)
Ensures the customer ID is actually retrieved during a permissions check.

Fixes #27109
2024-05-30 16:04:20 -07:00
Brent MacKinnon 64281612aa
docs: Adding Performance category and best practices (#48027) 2024-05-30 17:01:28 -04:00
Brent MacKinnon 50396961b0
Adding tutorials for Extensible Product Type Onboarding and Tour Guide (#48024) 2024-05-30 15:22:39 -04:00