Commit Graph

20994 Commits

Author SHA1 Message Date
Gerhard Potgieter 5b06493a5c
Fix tax table ajax save (#48201)
* Ensure onsubmit event that triggers ajax save on tax table is bind to the correct button
Unblock the button busy state after saving

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

* Update changelog

* Update changelog entry

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: André Kallehauge <3846700+kallehauge@users.noreply.github.com>
2024-06-10 15:45:35 +02:00
Karol Manijak 9b3879f7cf
Add "(Experimental)" suffix to experimental blocks (#48071)
* Add (Experimental) suffix to experimental blocks

* Add comments reminding to update feature flags doc

* Update feature flag doc

* Add changelog

* Provide links to all feature flags

* Add JS flag for Product Filter: Rating (Experimental)

* Bring back linting in PHP file

* Update block references

* Update variation names

* Update tests

* Update test

* Add notification that block is not available in inserter to block references doc

* Add missing feature flag

* Remove information about block not being exposed in inserter from block references

* Update block references
2024-06-10 15:12:10 +02:00
Alba Rincón 1fdba93d9f
Add a step to install patterns when during the CYS flow (#48274)
* Add a step to install patterns when during the CYS flow

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

* Add feature flag to the install patterns function

* Fix changelog

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-06-10 15:00:33 +02:00
Alba Rincón 9d114c6d2d
[CYS - Full Composability] Select the next block after deleting the selected one (#48316)
* Select the next block after deleting one

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

* Fix lint error

* Check if next block client is defined

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-06-10 14:33:32 +02:00
Jonathan Lane ccbb811d7d
Update order URLs for HPOS in e2e tests (#46397)
Co-authored-by: Jon Lane <jon.lane@automattic.com>
Co-authored-by: Adrian Moldovan <3854374+adimoldovan@users.noreply.github.com>
2024-06-10 12:35:28 +03:00
Bart Kalisz d3142a8941
Move archive product title update logic outside BlockTemplatesController (#48255)
Co-authored-by: Albert Juhé Lluveras <contact@albertjuhe.com>
2024-06-10 11:26:15 +02:00
79mplus Admin acec2f6903
Scroll to view the templates section on the status page. (#48125) 2024-06-10 10:20:43 +02:00
Chi-Hsuan Huang 04ffcd1ab0
Remove unused `woocommerce_task_list_prompt_shown` option (#48304)
* Remove unused woocommerce_task_list_prompt_shown option

* Add changelog

* Fix lint
2024-06-10 07:46:42 +00:00
Chi-Hsuan Huang 7cc360fa09
Fix untranslated strings on CYS and marketplace (#48127)
* Fix untranslated "Give feedback" text

* Add is_free property to theme API and fix untranslated price texts

* Fix prices

* Add changelog

* Capitalize Free

* Remove default price value
2024-06-10 07:30:46 +00:00
Maikel Perez 3d0b9993be
Product template not updating in the UI when it is changed (#48288)
* Fix Product template not updating in the UI when it is changed

* Add changelog file
2024-06-07 20:00:15 +00:00
Nathan Silveira 442adcc395
Determine _product_template_id from WP filter (#47762)
* Remove template matching from front-end

* Create 'woocommerce_rest_get_product' filter to allow extensions to change the product when it's fetched through the REST API

* Stop defaulting to 'standard-product-template' product template and handle defaults only in getLayoutTemplateId function

* Use created hook to determine and persist the product template ID when it's not defined.

Also introduce 'match_fn' in ProductTemplate to allow extensions to provide robust ways of matching the template

* Add changelog

* Fix tests

* Remove outdated tests

* Fix issue in filter because $product can be false and move API change to v3

* Add comments to continue statements

* Small refactor

* Only send layout template id to useLayoutTemplate after product is loaded

* Revert front-end changes

* Remove match_fn and create filter to allow extensions to determine the product template id

* Avoid loading layout template before product is loaded

* Create woocommerce_product_editor_determine_product_template filter and use it

* Update changelogs and remove unused code

* Remove _product_template_id for products that were created with the new product editor.

* Use only id to find productTemplate

* Turn hook into experimental

* Remove deprecated tests

* Rename filter

* Add more typings to useEntityRecord

* Use hasResolved boolean to check whether product has been resolved

* Add changelog

* Add 'variation' to ProductType

* Don't default to the standard-product-template for variations

* Update changelog

* Accept null in getLayoutTemplateId

* Fix edit variable product test

* Rename hook

* Revert changed logic to avoid regressions

* Increment useProductTemplate logic

* Default to standard-product-template instead of undefined when no matches

* Re-import Features class

---------

Co-authored-by: Jon Lane <jon.lane@automattic.com>
2024-06-07 19:48:20 +00:00
Corey McKrill 7c2b171b36
Ensure attribute slugs are properly handled in the Products REST API controller (#48198)
* Ensure attribute slugs are properly sanitized when setting

* Update approach to avoid breaking functionality in WP Admin UI

* Add changelog file

* Add unit test
2024-06-07 14:14:46 -05:00
Veljko V 31e8b6cc6b
Fix flaky filling product price in merchant/products/block-editor/create-variable-product-block-editor.spec.js (#48276)
* Fix flaky filling product price

* Add changelog
2024-06-07 09:18:27 -07:00
Tom Cafferkey 5bc915e811
Product Gallery: Prevent block from being registered on the post editor (#48228)
* Prevent ProductGallery block from being registered on the post or page editor

* Add product gallery to widget blacklist

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

* Update changelog

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-06-07 13:51:04 +00:00
Damián Suárez b019aa2700
PFT: introduce controller and initialize it (#48221)
* introduce super super base  product form template

* introduce ProductFormsController controller

* initialize PFT (product form template)

* changelog

* do not use clas prop to store controller

* show temporarely the Product Form CPT in the UI

* migrate also when plugin is installed

* eslinting

* minor code refactoring

* check $hook_extra param is defined

* introduce $product_form_templates private prop

* eslinting

* bump simple template version

* rename class method

* pick the action when plugin action
2024-06-07 14:37:21 +01:00
rodelgc 40c7cc1db6
Delete changelog files for 48231 (#48279) 2024-06-07 21:26:32 +08:00
Thomas Roberts 89bcbc7915
Apply lint fixes to payment method integration documentation (#48226) 2024-06-07 04:26:09 -07:00
github-actions[bot] 6b44e366f1
Delete changelog files based on PR 48235 (#48259)
Delete changelog files for 48235

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2024-06-07 19:11:46 +08:00
Alba Rincón bff253d6dc
CYS Patterns: exclude testimonial patterns using jetpack (#48233)
* CYS Patters: exclude testimonial patterns using jetpack

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-06-07 11:45:09 +02:00
Alba Rincón 3a28c8ce7b
CYS > Ensure that after installing fonts or patterns the user lands back in the same CYS section (#48227)
* Fix crash when currentTemplate is null

* Redirect to the proper section after installing fonts or patterns

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-06-07 11:38:46 +02:00
Karol Manijak 5151546159
Update test adding blocks (#48211)
* Simplify the list of blocks to test and order them alphabetically

* Add missing blocks in test checking if they can be inserted

* Remove Coming Soon that's not available yet

* Add changelog

* Improve specificity of the Reviews by Product test

* Get better selector for Reviews by Product placeholder

* Exclude Product Gallery (Beta) - not intended to be used in post

* Fix alphabetical order
2024-06-07 10:04:15 +02:00
Hsing-yu Flowers 9032c9d954
Add error class to checkout endpoint response (#47489)
* Add error class to checkout endpoint response

* Check if previous exist before using it

* Remove assigned empty array to the additional data

* Create initial additional data state

* Fix exception not escaped linting error

* Get Exception class when WP_DEBUG is defined and true

* Add hook docblock comment

* Add phpcs disable missing since comment

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-06-07 13:20:33 +05:30
Jorge A. Torres 7f75aa7487
Add `original_post_status` to HPOS order edit screen (#48196)
* Include "original_post_status" with prefixed order status on HPOS edit screen

* Add changelog

* Fix PHPCS issue
2024-06-07 13:19:05 +05:30
Ilyas Foo 60ca86e31c
Add unit tests for 4 wcadmin tracks (#47876)
* Add unit test for pageview on non-embedded layout component

* Add tracks test for payments welcome page

* Add test for task completion track

* Update completion track to use get_json instead for more accurate coverage

* Changelog

* Lint

* Add test for tasklist item click

* Change test name
2024-06-07 15:14:26 +08:00
RJ 52e2e9f864
dev: core profiler xstate v5 migration (#48135)
* updated core profiler to xstate v5
2024-06-07 15:06:40 +08:00
Adrian Duffell 2583289197
Enable Launch Your Store feature flag in 9.1 (#48244)
* Revert "Disable Launch Your Store feature flag in 9.0 (#48231)"

This reverts commit 76d2b205e5.

* Re-add the previous changelog

* Update version number in db update

* Add changelog
2024-06-07 13:49:55 +08:00
Jonathan Lane 8efb1d3c3d
Add a skipped tests custom reporter for e2e tests (#48195)
Co-authored-by: Jon Lane <jon.lane@automattic.com>
2024-06-06 23:48:20 +03:00
Matt Sherman 17b73ad463
Product Editor: Move variation pricing fields to General tab (#48155) 2024-06-06 16:44:27 -04:00
Adrian Duffell 76d2b205e5
Disable Launch Your Store feature flag in 9.0 (#48231)
* update: lys feature flag off (#46852)

* Revert db update

---------

Co-authored-by: RJ <27843274+rjchow@users.noreply.github.com>
2024-06-06 13:11:31 -07:00
Adrian Moldovan 8fc6970b90
[ci] Merge test jobs into a single generic job (#48175) 2024-06-06 21:50:52 +03:00
Fernando Marichal 15b9805704
Revert customer-effort-score-tracks feature flag removal (#48235)
* Revert "Remove customer-effort-score-tracks"

This reverts commit 079d1fc6b6.

* Add  changelog
2024-06-06 15:27:10 -03:00
Veljko V afdd6e1cd5
Improve editor util for inserting blocks via shortcut in e2e test suite (#48225)
* Improve inserting blocks via shortcut and update relevant tests

* Add changelog

* Update util function

* Switch fill to pressing to avoid flakiness
2024-06-06 09:04:26 -07:00
Tom Cafferkey 794562dd39
Product Rating: Hide rating stars and counter from the inserter (#48229)
* Hide rating stars and counter from the inserter

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-06-06 16:01:53 +00:00
Veljko V 469dede5b1
Fix flaky merchant product attribute e2e test (#48230)
* Fix flaky merchant product attribute e2e test

* Add changelog
2024-06-06 08:56:27 -07:00
Calvin Rodrigues 562e791978
Fix minicart icon cursor on hover in site navbar (#46996)
* Fix minicart icon cursor on hover in site navbar

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-06-06 16:54:48 +02:00
Luigi Teschio 5e6c7e1e67
CYS: Fix Loading Screen E2E flaky test (#48214)
* CYS: Fix Loading Screen E2E flaky test

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-06-06 15:40:20 +02:00
github-actions[bot] 9b179cf498
Delete changelog files based on PR 48163 (#48218)
Delete changelog files for 48163

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2024-06-06 18:44:42 +08:00
Jorge A. Torres f35a7945a4
Make `BatchProcessingController` a bit more robust (#48078)
Adds a "retry" mechanism to our batch processing system and also logging for failures.
2024-06-06 12:43:21 +02:00
Barry Hughes 5911304fd7
Remove the potential for product attribute updates to unintentionally reset various values to their defaults. (#48120) 2024-06-06 12:37:36 +02:00
Luigi Teschio 621800d583
CYS: Fix crash homepage (#48205)
* CYS: Fix crash homepage

* 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>
2024-06-06 09:30:37 +00:00
Joey Kudish 506dac269e
Replace truthy check with isset when setting default checkout field value (#48031)
Co-authored-by: Thomas Roberts <5656702+opr@users.noreply.github.com>
2024-06-06 01:55:34 -07:00
Alba Rincón d2046b1573
Update copy for the CYS intro tour (#48202)
* Update copy for the CYS intro tour

* Add changelog
2024-06-06 09:29:26 +02:00
Luigi Teschio 84c12e1501
CYS: Add the Delete button to the Block Toolbar (#48143)
* CYS: Show popover when the user clicks on the pattern

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

* fix errors

* add documentation

* fix calculation

* improve performance

* remove not necessary else branch

* restore pnpm-lock

* improve function naming

* fix label

* improve logic

* remove dispatch

* remove console.log

* fix setLogoBlockIds

* CYS - BlockToolbar: Add Delete button

* fix import

* no show toolbar

* fix build

* not allow click on no blocks placeholder

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

* remove not necessary comment

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-06-06 09:25:07 +02:00
Moon d86a90ba9e
Only accept return_url when do_update_woocommerce is present (#48163)
* Accept return_url only when do_update_woocommerce exist

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

* Update 48163-fix-db-update-redirect-issue

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

* Update plugins/woocommerce/changelog/48163-fix-db-update-redirect-issue

Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>

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

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
2024-06-06 14:50:43 +08:00
Manzur Ahammed 22309f0484
Render notice about payment method (#47141)
* fetch notice from woocom for connected store

* show payment mehtod notice on setting page

* Combine missing payment method and expiring notice

* Shorter TTL for notices transient

---------

Co-authored-by: Akeda Bagus <akeda.bagus@automattic.com>
2024-06-06 10:23:03 +07:00
Chi-Hsuan Huang 391ab0f81a
Optimize text wrapping prevent orphans (#48131) 2024-06-06 09:42:06 +08:00
Vedanshu Jain 9b8b79e755
Add DISTINCT to query in `wc_customer_bought_product` for smaller response. (#48139)
* Add distinct for smaller response from DB.

* Add changelog.
2024-06-05 16:35:21 -05:00
Damián Suárez 4acb036cfd
PFT: create a new `product_form` CPT (#48073)
* register product_form CPT

* changelog

* change icon

* register `product_form` only when flag is enabled

* doc `woocommerce_register_post_type_product_form`

* eslinting
2024-06-05 21:10:10 +01:00
Adrian Moldovan 7fb40ffc0b
[testing workflows] Migrate release checks to ci.yml (#48113)
* 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

* Add release checks jobs and deprecate  smoke-test-release.yml

* Deprecate  smoke-test-release.yml

* Add tests-release-checks.yml to trigger ci.yml on push to tags

* Add the pull_request trigger to test the workflow

* Remove the pull_request trigger to test the workflow

* Add the pull_request trigger to test the workflow

* Add the tag input in ci.yml

* Remove import and use core reference

* Only build if build-plugin is true

* Use release-artifact instead

* Split setup-monorepo step

* Use tag: 'nightly' to test

* Use inputs.tag directly in the wp-env setup step

* Add script to override the wp-env config

* Run the env config script in ci

* Set the artifact name

* Fix workflow syntax

* Add changelog

* Validate RELEASE_TAG and ARTIFACT_NAME

* Use real ref type and name

* Use real ref type and name

* Use real ref type and name

* Use github context instead

* Test with 9.0.0-beta.2

* Add push to tags trigger directly in ci.yml

* Configure one job to run with nightly-checks

* Remove empty lines

* Format events array one element per line

* Format events array one element per line
2024-06-05 13:02:54 -03:00
Alba Rincón 88cbceb6fa
[CYS] Update the intro page (#46916)
* Change the modal condition to check if the theme is a block theme

* Only switch to TT4 if the theme is not a block theme

* Remove unnecessary code

* Add new Intro cards when the theme is customized

* Redirect to the customizer if the active theme is a classic one

* Update the "Start designing" link depending on the type of theme

* Fix lint errors

* Fix more lint errors

* Fix tests

* Remove only

* Add tests for the customize button

* Update copy

* Fix lint errors

* Try to fix tests

* Fix tests

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

* Remove commented out css code

* Fix tests

* Remove unused

* Add margin to the cards

* Change active theme has mods by customize task completed

* Add events to the new intro page

* Fix color palette tests

* Remove unused 'fetchActiveThemeHasMods' function

This fixes the "select( 'core' ).getCurrentThemeGlobalStylesRevisions() is deprecated since version 6.5.0" warning

* Revert allowing any block theme in the assembler

* Prevent other block themes to go to the assembler

* Fix linting errors, restore test

* Remove only from test

Co-authored-by: Luigi Teschio <gigitux@gmail.com>

* Fix lint error

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Luigi Teschio <gigitux@gmail.com>
2024-06-05 16:54:29 +02:00
Manish Menaria 307d893549
WooCommerce Blocks: Added a GitHub Action to create issues for flaky E2E tests (#47758)
* Add flaky test reporting and issue creation for Blocks

This commit introduces the functionality for identifying and reporting flaky tests within our CI workflow.
- The reporter captures flaky test results and saves them to `flaky-tests` directory.
- If a test fails initially but passes upon retries, it is marked as flaky and a corresponding report is generated.
- The workflow creates GitHub issues for flaky tests, aiding in better visibility and tracking of these intermittent issues.

1. **Workflow Changes**:
   - **Archive flaky test reports**: Adds a step to archive flaky test reports generated during the test runs.
   - **Merge flaky test reports**: Introduces a new step to merge all flaky test reports from different shards.
   - **Create GitHub issues for flaky tests**: Implements a job that uses the `@wordpress/report-flaky-tests` package to create GitHub issues for detected flaky tests when a PR is not in draft state and flaky test reports are present.

2. **New Flaky Test Reporter**:
   - Adds `flaky-tests-reporter.ts` that defines a custom Playwright reporter for identifying and recording flaky tests.

3. **Playwright Configuration**:
   - Updates `playwright.config.ts` to include the new flaky tests reporter in the list of reporters when running in CI.

4. **Demo Tests**:
   - Adds `demo.spec.ts` containing sample tests to validate the flaky test reporting functionality.

Implementing this feature will help us track and address flaky tests more efficiently, ensuring more stable and reliable test suites.

* Remove draft condition for testing

* 'Merge failures artifacts' job shouldn't touch flaky test artifacts

* Try fixing if condition

* Add required permissions

* Let's try providing all the permissions

* Let's try providing all the permissions

* Create flaky tests issues when PR is merged with trunk

* Update if condition

* Run action for specific paths only

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

* Remove Demo file

* Remove Demo file

* Use commit hash to use exact version of the script

* Replace label with team: Kirigami & Origami

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-06-05 19:49:28 +05:30
Alba Rincón 7a3cbcded3
CYS > Patterns Migration: Ensure a message is displayed if the user did not allow fetching patterns via API and/or they are unavailable (#48095)
* Add the `Want more patterns` opt in message when tracking is not allowed

* Add notice for offline user

* Add new internal endpoint to fetch patterns

* Introduce a new step in the state machine to synchronously fetch patterns in the flow

* Remove unnecessary initialization

* Add new endpoint to check the patterns PTK availability

* Add `isPTKPatternsAPIAvailable` to context

* Add patterns opt in tracking message to homepage section

* Add tests

* Fix linting errors

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

* Fix typo

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-06-05 15:09:35 +02:00
Luigi Teschio 50b29d20f7
[Experimental] [CYS - Full Composability]: Add tooltip when user clicks on pattern (#47583)
* CYS: Show popover when the user clicks on the pattern

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

* fix errors

* add documentation

* fix calculation

* improve performance

* remove not necessary else branch

* restore pnpm-lock

* improve function naming

* fix label

* improve logic

* remove dispatch

* remove console.log

* fix setLogoBlockIds

* fix build

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-06-05 12:27:35 +00:00
Veljko V 1f736a0a22
Fix flaky e2e publishing created pages and posts (#48162) 2024-06-05 12:26:44 +03:00
Albert Juhé Lluveras f9281ae895
Only load 'productCount' and 'experimentalBlocksEnabled' settings in admin (#48152)
* Only load 'productCount' setting in admin

* Only load 'experimentalBlocksEnabled' setting in admin

* Add changelog file

* Update WcBlocksConfig types
2024-06-05 11:20:35 +02:00
Tom Cafferkey 5fbfe25f58
FlexSlider: Trigger custom manual event (#48137)
* Check watchedEvent is part of the allowed eventTypes

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

* Trigger custom event

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-06-05 10:00:14 +01:00
Sam Seay 2d4295469d
Remove all usage of WOOCOMMERCE_BLOCKS_PHASE and introduce BUNDLE_EXPERIMENTAL_BLOCKS (#47807) 2024-06-05 20:14:16 +12: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
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
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
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
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
Manish Menaria 4bee1547b7
Fix: "On Sale" collection isn't displaying on Editor side (#47994)
* Fix the issue

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

* Add E2E test to cover this regression

* Fix: On sale collection should be visible after refresh in Post

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-05-30 21:55:49 +05:30
github-actions[bot] 8519e621e4
Delete changelog files based on PR 47987 (#48006)
Delete changelog files for 47987

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2024-05-30 23:08:13 +08:00
github-actions[bot] c90b1af1b3
Delete changelog files based on PR 47938 (#48004)
Delete changelog files for 47938

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2024-05-30 22:58:56 +08:00
Jorge A. Torres 9766816b80
Handle `screen-reader-text` on e-mails (#47738)
* Add changelog

* Remove 'screen-reader-text' elements from e-mails using XPath

* Undo screen-reader-text removal via XPath

* Add screen-reader-text CSS to e-mail styles

* Remove screen-reader-text from e-mail CSS template

* Introduce "must use" styles for e-mails

* Document filter
2024-05-30 14:16:00 +00:00
Patricia Hillebrandt 1d593e3d89
Update pnpm lock file with react 18 (#47993)
* Update the pnpm lock file

* add changelog
2024-05-30 13:24:39 +02:00
Damián Suárez ac6fe9f933
Product Block Editor: populate shipping class slug automatically (#47896)
* extend shipping_classses with '/suggest-slug' endpoint

* generate slug automatically

* changelog

* jsdoc

* polish setting and pulling the slug

* replace checkbox by button

* reword slug inout label with "Slug"

* add slug help

* use prefix input property

* isPrimary is deprecated. Use "variant" instead

* fixing typo. props to @mdperez86
2024-05-30 12:05:34 +01:00
louwie17 b0a1787304
Revert some changes around class loading (#47987)
* Revert some changes around class loading

* Add changelog
2024-05-30 07:22:59 -03:00
Albert Juhé Lluveras 712ffa3381
Add zoom and flex slider functionatility gallery images for variable products with missing Product Image (#47714)
* Add zoom functionatility to Single Product gallery images when main Product Image is missing

* Alternative approach

* Add changelog file

* Still add placeholder class for extra backwards compatibility

* Bump template version

* Remove unnecessary class name change

* Fix wrong type
2024-05-30 10:41:05 +02:00
Néstor Soriano c6424c09d1
Make the plugin autoinstall process more robust (#47798)
* Fix PluginInstaller::install_plugin_core so it works on Windows

* Wrap the autoinstall of the Legacy REST API plugin in try-catch block
and log any exception thrown

* Make sure that the wc_installing transient is deleted even if install fails
2024-05-30 09:01:47 +02:00
Ilyas Foo c9752f1eaf
Fix analytics chart previous year data when date range includes 29 Feb (#45874)
* Temp commit

* Clean up unused codes and streamline logic

* More cleanups and add comment

* Better naming and fix logic

* Rename and comment

* Changelog

* Changelog

* Lint

* Moved leap year utils to date package, added tests

* Moved functions to utils, add tests

* Add more test

* Fix changelog
2024-05-30 12:54:00 +08:00
Ilyas Foo 98b32b5ecc
Fix getPreviousDate default behaviour to compare previous year (#47951)
* Add default compare previous_year and add tests

* Changelogs
2024-05-30 11:31:10 +08:00
Paul Sealock a39ca21df5
[LYS] Add woocommerce_coming_soon_exclude hook (#47787) 2024-05-30 10:58:14 +12:00
Toby Herbert 0f21660277
Prevent the possibility of unpublished coupons from being available (#47739)
* Clean up the cache when a coupon is updated

When the coupon’s status transitions from publish to future, the ‘coupon_id_from_code’ cache entry needs to be deleted otherwise the coupon will remain available for use.

* Remove coupon cache entries when not published

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

---------

Co-authored-by: Toby Herbert <tobyherbert@nialtoservices.co.uk>
Co-authored-by: github-actions <github-actions@github.com>
2024-05-29 17:31:02 -05:00
Jonathan Lane 2f4c9ecf57
Update pnpm lock file with react 18 (#47973)
* Update pnpm-lock file with new react

* Changelog

---------

Co-authored-by: Jon Lane <jon.lane@automattic.com>
2024-05-29 17:03:48 -03:00
Moon 8cdd549038
Use LYS API endpoint for woocommerce_admin_launch_your_store_survey_completed option (#47915)
* Add status-completed endpoint

* Use new status-completed endpoint

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

* Revert back unwanted changes

* Cache /wc-admin/launch-your-store/survey-completed call

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-05-29 11:14:20 -07:00
louwie17 494e65f77b
Fix tracking files being loaded on the front end (#47938)
* Only init WC Site Tracking if in admin or a rest request

* Add changelog

* Refactor tracks logic

* Create helper function store store api requests and make use of this

* Move conditionals back to woocommerce class

* Remove use of is_rest_api_request within is_store_api_request

* Fix lint errors

* Add check to see if WC_Tracks exist

* Also include tracking in CLI

* Make use of wc_admin_record_tracks_event instead of WC_Tracks directly
2024-05-29 14:06:42 -03:00
Jorge A. Torres e0455f86ed
Add `woocommerce_order_note_deleted` hook (redux) (#47916)
* Add `woocommerce_order_note_deleted` hook for a successful order note delete

* Update plugins/woocommerce/includes/wc-order-functions.php

Co-authored-by: Jorge A. Torres <jorge@0xbad.com>

* Include `order_id` in order note object

* Introduce `woocommerce_order_note_deleted` hook

* Appease linter

* Adjust unit test

* Add changelog

---------

Co-authored-by: EVOKE <evoke.lektrique@gmail.com>
2024-05-29 09:42:48 -07:00
Sam Seay 82f5b84a80
Remove isFeaturePlugin and flag code from FeatureGating class (#47866) 2024-05-30 02:50:09 +12:00
Fernando Marichal 88970a72a9
Fix product tracks when importing (#47857)
* Fix product tracks when importing

* Add changelog

* Fix lint

* Fix lint

* Fix source value
2024-05-29 10:54:07 -03:00
Manish Menaria bb3f38a3d8
Fix: Product Collection block does not display when editing template/post (#47871)
* Fix issue where Product Collection wasn't showing anything

- Moved queryId logic to a new `useQueryId` custom hook to encapsulate the logic.
- Simplified attribute setting in `useEffect` by using a default attributes value.
- Utilized `fastDeepEqual` to check for attribute equality

These changes fix the issue where the Product Collection block did not display properly in the template editor, ensuring consistent rendering of products.

* Add comment

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

* Remove leftover comment

* Add e2e tests for Product Collection block visibility after refresh

Added end-to-end tests to verify the visibility of the Product Collection block after page refresh in both Product Archive and Post contexts.

- Added tests to ensure the Product Collection block remains visible after refreshing the template or post editor.
- Updated existing tests to use `BLOCK_LABELS` for better readability and maintainability.

* Improve E2E tests

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-05-29 16:35:36 +05:30
Jonathan Lane 938c7d97dc
Fix flaky core profiler e2e test (#47917)
Co-authored-by: Jon Lane <jon.lane@automattic.com>
2024-05-29 13:27:55 +03:00
Alba Rincón 02fdd916d3
[CYS] Patterns Migration: Performance - ensure the initial request to fetch patterns from the PTK is async (#47551)
* Add PatternsToolkit class to fetch patterns from PTK

* Pass the new PatternsToolkit class to the BlockPatterns constructor

* Extract the pattern registration code to the 'register_block_pattern' function

* Extract the file patterns registration to `register_block_patterns_from_files`

* Registers patterns from ptk

* Add ids of excluded patterns (because they have jetpack deps)

* Add PTK client tests

* Filter out patterns with post_type diff than "wp_block"

* Add missing excluded pattern

* Add error log and improve error messages from the PTK client

* Extract function to register patterns to PatternRegistry class

* Extract function to register patterns from PTK

* Rename PatternsToolkitClient to PTKClient

* Extract AI related code to the AIPatterns class

* Rename test to match class name

* Add missing package dep in BlockPatterns

* Cache and register PTK patterns

* Add feature flag

* Fix linting errors

* Add tests for the PatternRegistry

* Add tests for the PTKPatternsStore

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

* Check pattern ID exists to filter

* Check title is set when registering the pattern

* Remove unnecessary code from test

* Add more patterns to the excluded list

* Add actions to reset the patterns transient on plugin deactivation and tracking option updates

* Schedule fetching pattern async when updating or activating the plugin and on allowing tracking

* Fetch patterns always async

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

* Only schedule the fetch_patterns actions if it's not pending

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

* Remove unnecessary import

* Fix tests

* Return empty array instead of error

* Fix imports and comments

* Remove unused function

* Fix lint errors

* Fix log

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-05-29 11:46:56 +02:00
Naman Malhotra bbeaac4892
Accessibility enhancement for the whole shop accounts section (#47144)
* Script to test Unique product sku

* Accessibility enhancement for the whole shop accounts section

* self Review changes

* added jQuery for compat - TBD

* self Review changes

* Added changelog

* Updated templae version

* Updated templae version

* Self review - Fix failing e2e

* review changes

* review changes

* review changes

* review changes

* review changes

* Added comment for more context about setTimeout
2024-05-28 16:11:19 -05:00
Jorge A. Torres 2c6a6bf1c4
Honor blank "additional content" in e-mails (vs using default text) (#47809)
* Add changelog

* Only include default 'additional content' in e-mails when it hasn't been configured

* Remove (now) unnecessary code from new order e-mail

* Simplify logic in `get_additional_content()`
2024-05-28 13:11:52 -07:00
Barry Hughes 8f7a9ced04
Add action `woocommerce_rest_delete_shipping_zone_method` (#47862)
Add action `woocommerce_rest_delete_shipping_zone_method` and remove inappropriate product review action.
2024-05-28 14:14:22 -05:00
Veljko V 0fdc4ddd7c
Fix skipped e2e tests Merchant product block editor create variable & flaky Marketing Overview (#47859)
* Improve test and unskip tests

* Add changelog

* Update tests

* Get rid of intro popup

* Update marketing overview test

* Add closing tour popup
2024-05-28 11:27:08 -07:00
Corey McKrill 3f38877a70
REST API: Update schema for rate_id property (#47779)
This changes the item schemas for Orders and Order Refunds API
endpoints to correctly specify that the rate_id property in a tax_line
object is an integer, not a string.

Fixes #32037
2024-05-28 11:13:52 -07:00
Maikel Perez 189476fcdf
Fix accessibility issues when using the keyboard to navigate/select tabs in the new product editor (#47860)
* Focus tab shows focus style

* Tabbing when inside the tabs takes you to the first focusable element inside the current tab's tab panel

* Users can press the left and right arrow keys to move between tabs

* When a tab is focused and the Home key is pressed the first tab in the list should be focused. When the End key is pressed the last tab should be focused

* Add changelog file

* Fix e2e tests

* Add changelog file

* Get last tab by index

* Fix linter errors
2024-05-28 17:44:21 +00:00
Bart Kalisz df7bb8d7b9
Blocks E2E: Clean up eslint comments after rules update (#47875) 2024-05-28 15:44:06 +00:00
github-actions[bot] b67ffdecad
Delete changelog files based on PR 47867 (#47903)
Delete changelog files for 47867

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2024-05-28 23:14:42 +08:00
Bart Kalisz c5e1639dc8
Blocks E2E: Streamline the usage of WP CLI (#47869) 2024-05-28 17:09:28 +02:00
github-actions[bot] 552195ee2e
Delete changelog files based on PR 47838 (#47898)
Delete changelog files for 47838

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2024-05-28 22:00:33 +08:00
github-actions[bot] e51dd0bb66
Delete changelog files based on PR 47589 (#47894)
Delete changelog files for 47589

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2024-05-28 21:40:38 +08:00
Alba Rincón 9075bf19a7
[CYS] Patterns Migration: Update the registration of patterns within WooCommerce, ensuring they are fetched from the relevant PTK categories (#47306)
* Add PatternsToolkit class to fetch patterns from PTK

* Pass the new PatternsToolkit class to the BlockPatterns constructor

* Extract the pattern registration code to the 'register_block_pattern' function

* Extract the file patterns registration to `register_block_patterns_from_files`

* Registers patterns from ptk

* Add ids of excluded patterns (because they have jetpack deps)

* Add PTK client tests

* Filter out patterns with post_type diff than "wp_block"

* Add missing excluded pattern

* Add error log and improve error messages from the PTK client

* Extract function to register patterns to PatternRegistry class

* Extract function to register patterns from PTK

* Rename PatternsToolkitClient to PTKClient

* Extract AI related code to the AIPatterns class

* Rename test to match class name

* Add missing package dep in BlockPatterns

* Cache and register PTK patterns

* Add feature flag

* Fix linting errors

* Add tests for the PatternRegistry

* Add tests for the PTKPatternsStore

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

* Check pattern ID exists to filter

* Check title is set when registering the pattern

* Remove unnecessary code from test

* Add more patterns to the excluded list

* Add actions to reset the patterns transient on plugin deactivation and tracking option updates

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-05-28 14:42:53 +02:00
github-actions[bot] 7e643ff409
Delete changelog files based on PR 46857 (#47879)
Delete changelog files for 46857

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2024-05-28 20:15:27 +08:00
github-actions[bot] e639607d65
Delete changelog files based on PR 47749 (#47874)
Delete changelog files for 47749

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2024-05-28 19:43:29 +08:00
github-actions[bot] d0c7d75763
Release: Remove 9.0 change files (#47741)
Delete changelog files from 9.0 release

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2024-05-28 19:34:27 +08:00
github-actions[bot] e343069708
Prep trunk for 9.1 cycle (#47740)
Prep trunk for 9.1 cycle with version bump to 9.1.0-dev

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2024-05-28 19:34:10 +08:00
Niels Lange dec873926d
Partially revert #45767 (#47867)
* Partially revert #45767

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

* Add test for description on checkout order summary block

* Add another test back in for order summary description

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Alex Florisca <alex.florisca@automattic.com>
2024-05-28 18:25:34 +07:00
Luigi Teschio 72d7a8b929
[CYS Full Composability] Ensure that the assembler doesn't crash when the feature flag is enabled, but the site doesn't have the latest version of Gutenberg. (#47546)
* CYS: allow to the user to move the pattern

* add feature flag

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

* CYS: Add shuffle button

* CYS - add shuffle feature

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

* use WooCommerce feature flag approach

* fix lint error

* Highlight the pattern when the user hovers it

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

* CYS - Assembler: improve feature flag check

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

* improve logic

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-05-28 08:40:16 +00:00
Luigi Teschio 8c1173c94b
Highlight main block at hover (#47415)
* CYS: allow to the user to move the pattern

* add feature flag

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

* CYS: Add shuffle button

* CYS - add shuffle feature

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

* use WooCommerce feature flag approach

* fix lint error

* Highlight the pattern when the user hovers it

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-05-28 08:16:25 +00:00
Luigi Teschio abbcb94709
CYS - add shuffle feature (#47356)
* CYS: allow to the user to move the pattern

* add feature flag

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

* CYS: Add shuffle button

* CYS - add shuffle feature

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

* use WooCommerce feature flag approach

* fix lint error

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-05-28 07:32:26 +00:00
Luigi Teschio f12d6e4726
CYS: allow to the user to move the pattern (#47322)
* CYS: allow to the user to move the pattern

* add feature flag

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

* use WooCommerce feature flag approach

* hide scrollbar on the body

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-05-28 08:55:14 +02:00
Paul Sealock 1c11d5a693
[LYS] Add Homescreen and Settings e2e tests (#47341) 2024-05-28 16:19:06 +12:00
Fernando Marichal 721da06b28
Fix some issues in performance tests (#47735)
* Close tour when it is open

* Use different matrix

* Fix performance include

* Add changelog

* Fix lint

* Add metrics to editor tests
2024-05-27 16:11:49 -03:00
Maikel Perez fccff3e562
Add product id to product_edit_view track in classic product edit screen (#47853)
* Add product id to product_edit_view track in classic product edit screen

* Add changelog file
2024-05-27 14:42:15 -03:00
Albert Juhé Lluveras fae960c7bf
Fix typo in some tests and comments: 'blockbased' > 'block-based' (#47851)
* Fix typo in some tests and comments: 'blockbased' > 'block-based'

* Add changelog file

* Add JSDocs types

* Replace 'block based' with 'block-based' in stock-reservation.md
2024-05-27 19:21:10 +02:00
Bart Kalisz 460d73eee0
Blocks E2E: Streamline E2E utils implementation (#47660) 2024-05-27 14:54:06 +00:00
Ilyas Foo 012f0d3418
Fix redundant confetti on LYS task congrats page (#47838)
* Add useRef to ensure confetti is only trigerred once

* Changelog
2024-05-27 21:01:40 +08:00
Luigi Teschio 977f8289af
Remove checkstyle.xml file (#47844)
* Remove checkstyle.xml file

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-05-27 12:16:52 +00:00
Barry Hughes 86c3f28c12
Defensive check to reduce error/warning noise when regenerating images. (#47785)
* Defensive check to reduce error/warning noise when regenerating images.

* Coding standards, remove trailing whitespace.
2024-05-27 10:35:08 +00:00
Atanas Penchev 02a0bba3f4
Slide animations always use CSS3 transitions instead of .animate() (#46564)
* Slide animations always use CSS3 transitions instead of .animate()

* Update plugins/woocommerce/client/legacy/js/flexslider/jquery.flexslider.js

Fix typo

Co-authored-by: Alexandre Lara <allexandrelara@gmail.com>

* Changelog

* Newline

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

* Delete manual changelog

---------

Co-authored-by: Alexandre Lara <allexandrelara@gmail.com>
Co-authored-by: github-actions <github-actions@github.com>
2024-05-27 11:25:23 +02:00
Albert Juhé Lluveras ee656e1f0f
Fix two products being added to cart when Geolocate (with page caching support) was enabled and AJAX add to cart buttons disabled (#47761)
* Fix an issue that caused two products to be added to cart when Geolocate (with page caching support) was enabled and AJAX add to cart buttons disabled

* Add e2e test

* Add changelog file

* Move test to its own file

* Fix wrong default value in test reset
2024-05-27 09:54:22 +02:00
Karol Manijak 92fec889f7
Specify Product Price ancestor and simplify Product Elements ancestors (#47802)
* Extend product elements sharedConfig ancestor with Product Collection and Products (Beta)

* Utilise sharedConfig ancestor in Image block

* Utilise sharedConfig ancestor in Price block

* Utilise sharedConfig ancestor in Rating block

* Utilise sharedConfig ancestor in Sale Badge block

* Utilise sharedConfig ancestor in SKU block

* Utilise sharedConfig ancestor in Stock Indicator block

* Add changelog

* Bring back original ancestors for Summary and Title blocks

* Remove Product Price from a test as it's no longer available in global context
2024-05-27 09:15:32 +02:00
Chi-Hsuan Huang c70a09a57e
Fix core profiler extension installation track to use plugin track key for extension name (#47786)
* Update plugin installation error logger to use plugin track key for extension name

* Add changelog
2024-05-27 11:51:45 +08:00
Maikel Perez 55aafb9fc6
Remove the new old experience (#47814)
* Remove ProductTitle component

* Remove ProductSettings component

* Remove ProductMoreMenu component

* Remove ProductFormHeader component

* Remove ProductVariationFormHeader component

* Remove ProductFormFooter component

* Remove ProductFormLayout component

* Remove ProductForm component

* Remove ProductTourContainer component

* Remove AddProductPage component

* Remove ProductVariationForm component

* Remove EditProductPage component

* Remove ProductFormTab component

* Remove SingleImageField component

* Remove ProductVariationDetailsSection component

* Remove ProductVariationsSection component

* Remove DetailsSectionFills component

* Remove ImagesSectionFills component

* Remove ShippingSectionFills component

* Remove AttributesSectionFills component

* Remove PricingSectionFills component

* Remove InventorySectionFills component

* Remove product-form-fills file

* Remove product-form-variation-fills file

* Remove product-form-api-fills file

* Remove ClassicEditorIcon component

* Remove HiddenIcon component

* Remove VisibleIcon component

* Remove drag-and-drop.svg file

* Remove ProductSectionLayout component

* Remove products/constants.tsx file

* Remove new-product-management-experience feature flag

* Fix linter errors

* Add changelog files
2024-05-24 18:00:22 +00:00
Maikel Perez 4ddfd43864
Enhancement editor loading speed (#47425)
* Lazy load the PluginArea and the ModalEditor

* Remove repeated product request when editing a specific product

* Fix linter errors

* Add changelog files

* Fix linter errors

* Refactor the block editor to remove some extra rerenders

* Defer the publish button processing

* Defer the tab content render 500ms to reduce the total blocking time

* Fix linter errors

* Fix unit test and tabs unexpected rerender

* Fix linter errors

* Reduce the defered time to 300ms

* Fix get product url when the product has been duplicated since the new copy does not have permalink

* Fix the invalid unregistration of wc-admin-more-menu in the product page

* Fix compilation errors
2024-05-24 08:39:53 -04:00
Sam Seay 756bb8ccfa
Allow experimental blocks to be enabled WC Admin Features as part of removing WC_BLOCKS_PHASE (#47701) 2024-05-25 00:13:24 +12:00
79mplus Admin 4d44a6e891
Fixed shipping flat price change to free shipping when shipping cost represented using decimal separators and thousands separators (#46857)
* Fixed shipping flat price change to free shipping when shipping cost represented using decimal separators and thousands separators

* added the changelog file

---------

Co-authored-by: Saiful Islam <anandacsebd@gmail.com>
2024-05-24 13:59:56 +02:00
Paulo Arromba 86bc377977
Deprecated WC_Cart->is_coupon_emails_allowed in favour of static DiscountsUtil::is_coupon_emails_allowed (#47589)
* Deprecated WC_Cart->is_coupon_emails_allowed in favour of WC_Discounts->is_coupon_emails_allowed

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

* Created new DiscountsUtil class and moved is_coupon_emails_allowed()

* Refactored tests.

* Updated internal WC_Cart::is_coupon_emails_allowed calls and added a doing it wrong warning for 3rd party tracking.

* Linting.

* Refactored and added new asserts to DiscountsUtilTest.

* Linting.

* Linting and updated test.

* Added translation to wc_doing_it_wrong() as sugested.

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

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>
2024-05-24 10:40:56 +01:00
Eason 11cb0dcf8f
Fix the issue that the React-powered admin routing page added after initialization could not be displayed (#47696)
* Fix the issue that the React-powered admin routing page added after initialization could not be displayed.

* Delay showing admin `NoMatch` to reduce the chance of flashing error message when route page is added after initialization.

* Add JS tests for the `NoMatch` page in the admin.

* Add changelog
2024-05-24 17:17:19 +08:00
Jonathan Lane 363757cbf1
Un-skip store search and core profiler tests (#47772)
Co-authored-by: Jon Lane <jon.lane@automattic.com>
2024-05-24 11:48:15 +03:00
Vishnu Gopal 7ca056051e
Fix activation limit for single license subscriptions on woocommerce.com (#47643)
* Fix activation limit for single license subscriptions on woocommerce.com

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

* Update plugins/woocommerce/includes/admin/helper/class-wc-helper.php

Add some defensive coding.

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

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>
2024-05-23 20:24:10 -07:00
Chi-Hsuan Huang 433a0e19b2
Update coming soon banner text to use translation function (#47742)
* Update coming soon banner text to use translation function

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-05-24 02:51:07 +00:00
Jorge A. Torres 36fa4f82ed
Address responsiveness issues with order list table in admin (#47684)
Improve (HPOS) order admin list's responsiveness.
2024-05-23 13:24:03 -07:00
Veljko V d9bcf83bf0
Fix E2E shopper mini cart test (#47756)
Fix mini cart e2e test
2024-05-23 11:49:44 -07:00
Adrian Moldovan 48a2fccef0
[e2e tests] Configure snapshotPathTemplate (#47773) 2024-05-23 11:42:55 -07:00
Alexandre Lara 5d645d94e6
Product Gallery block: Fix error on revisiting template without reloading the page (#47636)
* Detect template ID from URL

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

* Add E2E test to check if block is displayed after revisiting Single Product template

* Fix E2E tests

* Fix E2E tests

* Fix lint error

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-05-23 13:39:31 -03:00
Adrian Moldovan 835625c329
Fix reporting step for daily e2e runs (#47764)
* Add condition on github.event_name for lint jobs

* Update a file to trigger a lint job

* Update condition to run only on pull_request

* Revert test change

* Always run the Slack notification step

* Add pull_request test trigger

* Update report step

* Remove branch filter

* Try with push event and branch filter

* Pass secrets to ci.yml

* Update testIgnore pattern for Gutenberg project

* Add changelog

* Remove the test push trigger

* One more test run

* Removed push test trigger
2024-05-23 09:12:10 -07:00
Karol Manijak c318bf50f8
Fix incompability of Query Pagination block with Product Collection (#47749)
* Amend Query Pagination parent OR ancestor array and include product collection

* Rename the function and amend comment

* Add changelog

* Remove some leftovers

* Tets if it's possible to insert multiple Pagination blocks in Product Collection

* Add awaits to expects

* Update plugins/woocommerce-blocks/assets/js/blocks/product-collection/utils.tsx

Co-authored-by: Manish Menaria <the.manish.menaria@gmail.com>

* Add comment explaining the condition

---------

Co-authored-by: Manish Menaria <the.manish.menaria@gmail.com>
2024-05-23 13:01:57 +02:00
Seghir Nadir 34f8c65f53
only make order summary sticky when it's not longer than view (#47680)
* only sticky summary when it's not longer than view

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

* fix tests

* correctly check for height

* switch how to get top

* remove from editor

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-05-22 22:09:50 +00:00
Adrian Duffell 501272c51b
Add a catch-all return to LYS hub after user exits essential task (#47606)
* Add redirect to LYS on homescreen when lysTaskOpen is present

* Typos

* Fix lint issues

* Fix lint issues

* Add changelog

* Fix lint issues

* Fix lint issues

* Use isDashboardShown in effect

This required adding a check to ensure query is not an empty object

* Imporve the jankiness by moving catch-all logic to layout

* use an effect to set the session value to no

* lint

* lint

* Fix tests

* Try preventing redirects from WP menu click

* Revert "Try preventing redirects from WP menu click"

This reverts commit 8ef6dcf4dd.
2024-05-22 22:05:01 +00:00
Seghir Nadir 6c136e4e1a
normalize IDs for form fields in Checkout (#47650)
* normalize IDs for form fields and fix types

* update docs as well

* update rest of docs

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

* fix linting for document

* also align classnames

* revert to correct classname

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-05-22 22:54:03 +02:00
Fernando Marichal 0dc86cea9a
Fix width of the button to set the variation prices (#47682)
* Fix set variations price button width

* Add changelog

* Fix rebase deletion
2024-05-22 17:15:33 -03:00
Thomas Roberts e6bd07d465
Loop through each package to check if the chosen rate for it is valid (#47716)
* Loop through each package to check if the chosen rate for it is valid

* Add changelog
2024-05-22 21:55:31 +02:00
Veljko V b32b7049c7
Fix flaky E2E admin marketing and loading screen tests (#47665)
* Fix flaky admin marketing test

* Fix flaky loading screen test
2024-05-22 11:06:52 -07:00
Adrian Moldovan 13ab9007f6
[testing workflows] Add workflow_call trigger in CI workflow - support daily and other types of runs (#47612)
* Add workflow_call event

* Add tests-daily-run.yml

* Remove workflow version

* Update input value

* Remove secrets from caller workflow

* Rename job

* Check context

* Check context

* Check workflow_call inputs

* Override github.event_name with inputs.trigger

* Fix input name

* Add config for daily e2e tests with Gutenberg

* Update env commands for Gutenberg run

* Add disableHpos env variable in ci-utils

* Revert the trigger to push

* Revert the env variable setting in ci-jobs

* Revert the env variable setting in ci-jobs

* Rebuild utils

* Update test env start command

* Define the Gutenberg Playwright project

* Use path relative to workspace root

* Update events for test projects

* Update events for test projects

* Add changelogs

* Remove the e2e tests with Gutenberg tests from daily runs

* Set the schedule and workflow_dispatch triggers

* Add --project default flag to only run the default tests in CI

* Renamed snapshots to match the new Playwright project name
2024-05-22 11:04:44 -07:00
Seghir Nadir d2ac6ff953
Correctly attribute focus back when opening the mini cart several times (#47683)
* allow focusedOnMount element to be reset

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-05-22 17:03:22 +02:00
Ilyas Foo 8140a1d9c7
Fix payment task track only shown gateways (#47713)
* Fix to track only shown payment options

* Remove offline gateways and changelog
2024-05-22 22:36:12 +08:00
Thomas Roberts b7643b9b7a
Change Checkout form step numbering so it can only be toggled for all blocks, not individually per-step (#47479) 2024-05-22 07:03:48 -07:00
Thomas Roberts 845bdae5bd
Prevent Additional Checkout Fields values being shown on shortcode order confirmation (#47333) 2024-05-22 06:07:16 -07:00
Adrian Duffell da57287c56
Fix broken db update button on homescreen (#47608)
* Add handling of return url

* Use base admin URL and redirect to current page

* Update plugins/woocommerce/includes/admin/notes/class-wc-notes-run-db-update.php

Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>

* Update plugins/woocommerce/includes/class-wc-install.php

Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>

* Changelog

---------

Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
2024-05-22 20:09:47 +08:00
Justin Palmer 544c843b67
Add order attribution GA4 UTM parameters (#47639) 2024-05-22 13:59:50 +02:00
Chi-Hsuan Huang ee6f69a14e
Wrap private link exclusion logic in `woocommerce_private_link` option check (#47690) 2024-05-22 19:15:37 +08:00
Karol Manijak f55e25b009
Filter by Attribute: fix potential reading property of undefined error (#47699)
* Fix reading from undefined error in attribute-filter

* Add changelog
2024-05-22 11:57:53 +02:00
Ilyas Foo 04c8941099
Add global coming soon property tracks (#47644)
* Use woocommerce_tracks_event_properties filter to append coming_soon property to tracks

* Changelog

* Remove feature check

* Remove unnecessary line
2024-05-22 17:56:31 +08:00
Chi-Hsuan Huang 90432c612e
Fix "Live Branches" item not shown in the WooCommerce menu (#47691)
* Fix live branch menu not show up

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-05-22 09:56:23 +00:00
Karol Manijak 313ab0eb74
Rename classic template blocks to avoid confusion (#44931)
* Rename  blocks to  to distinguish them from new blocks

* Add changelog

* Change the naming convention to XYZ (Classic)

* Update classic templates descriptions

* Fix package.json lint error
2024-05-22 10:53:43 +02:00
Vedanshu Jain 38bf02b9d3
Add support for insert_or_update and use it for concurrency. (#47610) 2024-05-22 14:19:14 +05:30
Barry Hughes bbff627d2f
Reduce number of plugin readme tags, to avoid warnings. (#47688) 2024-05-22 14:14:48 +05:30
Yan Sern 169baa2929
Entrepreneur Signup: Add Skip button to Design With AI steps. (#47667)
* Add Skip button to Design With AI steps.

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

* Use window.location.href to redirect instead.

* fix css linter errors

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Luigi Teschio <gigitux@gmail.com>
2024-05-22 08:40:31 +00:00
Paul Sealock 01bfab0527
[LYS] - Make sure LYS options are available for WooPayments (#47685)
* add viz options on wcpay screens

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

* cleanup

* lint

* wp_unslash lint errors

* disable

* linter

* more linting

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-05-22 16:16:35 +08:00
Chi-Hsuan Huang fb2b79f502
Fix wrong LYS site icon size (#47689)
* Fix LYS site icon size

* Add changelog
2024-05-22 16:04:15 +08:00
Ilyas Foo 7794a7ac24
Add `is-busy` animation to save changes button in settings (#47626)
* Add save button loading animation

* Changelog

* Lint

* Fix loading for shipping button

* Fix Safari UI bug

* Revert "Fix Safari UI bug"

This reverts commit 3ac72422d1.
2024-05-22 14:50:48 +08:00
Adrian Moldovan cf6e01d0d6
[ci-jobs] Add disableHpos test environment variable (#47619)
* Add disableHpos test env variable

* Update events for HPOS disabled tests

* Add pull_request event to test the env

* Remove the pull_request event

* Add changelog

* Make the disableHpos var a boolean

* Also set the env in ci.yml

* Remove console log statement

* Print woocommerce_custom_orders_table_enabled

* Run test setup script again to check output

* Capture env setup output and print it

* Get woocommerce_custom_orders_table_enabled value in test env script

* Get more details on HPOS setting

* Remove the DISABLE_HPOS logic from test env setup script

* Use DISABLE_HPOS instead of ENABLE_HPOS everywhere

* Turn off no-console and jest/no-standalone-expect eslint rules for api core tests

* Test API tests with HPOS disabled

* Fix eslint error

* Clean up debug statements

* Remove pull_request test trigger
2024-05-21 18:33:43 -03:00
Adrian Moldovan 3edf17bf22
[testing workflows] Move PHP tests with WP nighly back into ci.yml (#47568)
* Move the PHP WP: nightly tests back into ci.yml

* Add changelog
2024-05-21 18:23:38 -03:00
Maikel Perez 4c0399991a
Replace copy: List Price to Regular Price (#47658)
* Replace copy: List Price to Regular Price

* Add changelog files

* Fix md-docs linter errors and update the manifest
2024-05-21 16:28:01 -04:00
Fernando Marichal c4e1cebe84
Add Playwright performance tests to Product editor (#47590)
* Add product editor tests

* Fix post editor lint

* Add changelog

* Fix lint error

* Fix Typing test

* Add log to resultsFiles

* Fix comment

* Remove PerfUtils
2024-05-21 17:24:40 -03:00
Moon 363d761eae
Run wc_update_900_add_launch_your_store_tour_option on WC 9.0 update (#47634)
* Run wc_update_900_add_launch_your_store_tour_option on WC 9.0 update

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

* Use add_option

* Lint fixes

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-05-21 12:15:33 -07:00
nigeljamesstevenson 660138df8e
Update stable tag to 8.9.1 (#47681)
woorelease: Update stable tag to 8.9.1
2024-05-21 18:07:53 +01:00
Yan Sern 9a1f987381
Entrepreneur Signup: Simplify final step in CYS when entering from Entrepreneur signup flow. (#47578)
* Simplify final step in CYS when entering from Entrepreneur Signup.

* Add changelog.

* Update plugins/woocommerce-admin/client/customize-store/transitional/index.tsx

Co-authored-by: Ivan Ottinger <ivan.ottinger@automattic.com>

* Show My Home button as primary button only on Entrepreneur flow.

* Use 	'customize_your_store_entrepreneur_home_click' tracks event instead.

---------

Co-authored-by: Ivan Ottinger <ivan.ottinger@automattic.com>
2024-05-21 13:56:26 +00:00
RJ 2b69d28ecb
add: return to lys from cys (#47654)
* add: return to lys from cys

* types

* lint

* lint

* fixed task id
2024-05-21 21:45:38 +08:00