Commit Graph

64705 Commits

Author SHA1 Message Date
Thilina Pituwala 158930ef4d
Add tracking for enable auto renew links (#49710)
* Add tracking for enable auto renew link.

* Add UTM parameters to in-app enable auto-renew notice.

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-07-23 17:40:23 +02:00
Thomas Roberts ad7a49df4c
Prevent error on Cart Shipping Calculator when using Additional Checkout Fields API (#49685) 2024-07-23 16:38:54 +01:00
Mike Jolley e8d899b6f3
Block Checkout: Fix default shipping selection on toggle pickup (#49718)
* Default selection is blank so it can be selected on mount

* Prevent notice displaying until rate selections are complete

* changelog
2024-07-23 16:25:35 +01:00
Daniel W. Robert bbdb289c84
CYS: Add Tracking for Fiverr Logo Maker CTA (#49783)
* Add tracking for new  event.

* Correct the naming convention for tracking event.

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-07-23 15:12:44 +00:00
Paulo Arromba 1ba24e1937
Fix/Fix new order triggers when creating/moving orders into draft or from draft to valid statuses (#49098)
* Prevent new order hook if moving or creating order status into a non-triggering status (drafts&failed refunded etc) when using CPT for orders.

* Removed rogue error_log()

* Lint

* Prevent new order hook if moving or creating order status into a non-triggering status (drafts&failed refunded etc) when using HPOS for orders.

* Added changelog

* Fixed wrong if simplification

* Unit tests for update methods

* Renamed var

* Renamed vars to snake_case.

* Introduced remove_status_prefix() utility function.

* Added default 'new' status to an Order that doesn't exist yet in the database for the update method in HPOS

* Added default 'new' status to an Order that doesn't exist yet in the database for the update method in CPT

* Linting.

* Missing class import.

* Added a new test for updating new processing Orders.

* Linting.

* Tests fix.

* Tests fix.

* Removed statuses from triggering the new order hook.

* tweak

* Test tweak

* Test tweak

* Test tweak

* Test tweak

* Test tweak

* Tweak to rule out db querying failure.
2024-07-23 20:38:53 +05:30
Paulo Arromba 3d148e2577
Added Firefox support for making Order Summary sticky when not longer than view (#49744)
* Added getComputedStyle for Firefox support

* Added changelog

* Reverted pnpm-lock.yaml
2024-07-23 15:38:12 +01:00
Adrian Duffell 7e13bbcbf4
Update the footer section in "Add products" task (#49782)
* Update printful feature flag

* Remove footer

* Add upload icon

* Add importCSVItem constant

* Add footer stack

* Delete footer test

* Remove redundant printful inclusion

* fixed types

* Update CSS

* Changelog

* Lint

* Fix test

* Fix test again

* Fix SVG to use theme color

---------

Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
Co-authored-by: rjchow <me@rjchow.com>
2024-07-23 21:31:46 +08:00
louwie17 726e5fb0d8
Revert "Fix terms counts in wcadmin_product_add_publish Tracks event" (#49797)
* Revert "Fix terms counts in wcadmin_product_add_publish Tracks event (#48194)"

This reverts commit 7d5b3a81a2.

* Add changelog

* Add comment back in to fix linter
2024-07-23 13:08:07 +00:00
Vladimir Reznichenko 7500365057
Monorepo: internal packages manifest update to consolidate jobs naming. (#49784) 2024-07-23 14:27:14 +02:00
Vladimir Reznichenko 81cf40e8b3
Monorepo: speedup 'Check Asset Sizes' job. (#49793)
In this PR, we are improving the job execution time by leveraging available cached resources, refining the build artifacts cleaning approach between calculating asset sizes.
2024-07-23 14:21:05 +02:00
Chi-Hsuan Huang 572b497ec7
Move remote logger to `./src` and enhance `fetch_latest_woocommerce_version()` logic (#49639)
* Move remote logger to ./src

* Change fetch_latest_woocommerce_version transient expiration to a week

* Add changelog

* Add retry timeout to prevent repeated attempts to connect to the API when it errors

* Fix Remote_Logger

* Remove class_wc_remote_logger.php

* Update changelog

* Rename remote logger directory

* Move to internel

* Move to internel

* Update plugins/woocommerce/src/Internal/Loggers/RemoteLogger.php

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

* Rename folder/namespace Logger -> Logging

---------

Co-authored-by: Adrian Duffell <9312929+adrianduffell@users.noreply.github.com>
2024-07-23 11:57:20 +00:00
Tom Cafferkey 8906783e80
Pattern: Update content on pattern "Content right with image left" (#49792)
Update content
2024-07-23 11:18:18 +01:00
Tom Cafferkey c29d70f3c3
Pattern: Update text to be vertically aligned like image (#49791)
* Update text column to be vertically aligned

* Changelog
2024-07-23 11:18:06 +01:00
Luigi Teschio 859fd9f001
CYS: Hide shuffle button when only one pattern is available (#49790)
* CYS: Hide shuffle button when only one pattern is available

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-07-23 09:43:01 +00:00
Alba Rincón 7f390a3663
CSY - Fix intro banner copy for existing themes (#49787)
* Fix intro banner copy for existing themes

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

* Fix linting errors

* Fix tests

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-07-23 11:13:20 +02:00
Luigi Teschio 440442f0fd
CYS: fix selected header/footer pattern (#49788)
* CYS: fix selected header/footer pattern

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-07-23 10:59:08 +02:00
Manish Menaria 7e54c5a589
Fix tip block syntax in register-product-collection.md (#49785)
* Fix tip block syntax in register-product-collection.md

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

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-07-23 13:58:42 +05:30
Luigi Teschio b586a28436
CYS: Remove margin last pattern preview (#49767)
* CYS: Remove margin last pattern preview

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-07-23 09:57:28 +02:00
Karol Manijak d85acc7e09
Product Collection: allow custom collections hiding each of the filters (#49713)
* Allow hiding all of the filter controls in PC block

* Add new test

* Add changelog

* Update documentation with information about hideControls values
2024-07-23 09:03:27 +02:00
Akeda Bagus 5fdc8fa520
Fixes issue where expired and expiring notice displayed incorrectly (#49717)
Fixes issue where expired and expiring notice displayed incorrectly

Consider connected (to the current site) product when checking expired
and expiring notice.

* Cache site subscriptions instead of just site_id
* Add helper method get_installed_subscriptions
* Bail out of installed subscriptions are empty
* Return early for invalid site ID
2024-07-23 13:46:02 +07:00
Chi-Hsuan Huang 7f23702018
Fix broken coming soon template in dataview (#49749)
* Set coming soon preview body aspect ratio to 1/1 to fix borken template

* Add changelog

* Update plugins/woocommerce/changelog/fix-broken-coming-soon-template

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

---------

Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
2024-07-23 14:11:32 +08:00
Elio Rivero 1c23c5f2b4
Core profiler: set default for props to avoid crashes (#49519)
* fix(core-profiler): set default for props to avoid crashes. Fixes #49512

This fix solves an issue where if some of the onboarding profile properties from the context are undefined, it will prevent the user from proceeding with the core profiler. 

Related issue #49512 has a description of the issue.

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

* feat(core-profiler): improve onboarding profile assignment logic

This commit improves the logic for assigning the onboarding profile in the core profiler. It now checks if the output of the event is an object before assigning it to the context. If the output is not an object, it keeps the existing context. This prevents crashes and allows the user to proceed with the core profiler.

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
2024-07-23 10:45:58 +08:00
Jorge A. Torres d53744187f
Prevent type error in `BatchProcessingController` (#49728)
This PR introduces some type checking around the value of options involved in batch processing, particularly the one controlling which processors are enqueued.

* Add changelog

* Make BatchProcessingController's handling of internal options more robust

* Remove queue if invalid

* Implement suggestion
2024-07-22 10:34:41 -07:00
Daniel W. Robert 8c82d8dff3
CYS: Add Tracking String to Fiverr CTA Link (#49745)
* Update Fiverr LP link to add proper tracking string (per internal request).

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-07-22 11:33:44 -04:00
Miguel Pérez Pellicer dd8f9686fb
Rename Google Listings and Ads with Google for WooCommerce (#47614)
* Rename Google Listings and Ads with Google for WooCommerce

* Revert change regarding changelog

* Add changelogs

* Add changefile(s) from automation for the following project(s): @woocommerce/data, packages/php/remote-specs-validation, woocommerce

* Lint

* Lint

* Lint

* Rename Google Listings and Ads with Google for WooCommerce

* Lint

* Lint

* Tweak updated tests

* Add changefile(s) from automation for the following project(s): @woocommerce/data, packages/php/remote-specs-validation, woocommerce

* Lint

* Fix flaky tests

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-07-22 18:59:43 +04:00
Alex Florisca ab8517fa08
Render an aria-label for the initial mini cart html (#48329)
* Render an aria-label for the initial mini cart html

* Add changelog

* add changelog

* delete duplicate changelog entry

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

* Delete plugins/woocommerce/changelog/48329-fix-42289-mini-cart-aira-label

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-07-22 15:34:37 +01:00
Vladimir Reznichenko b28ee008c6
CI: improve flacky test reporting job execution time (#49665)
In this PR we use pre-build version of flaky jobs reporter, in order to speed up the job.
2024-07-22 16:33:31 +02:00
Luigi Teschio 2e54b88c26
CYS: Fix border width pattern preview (#49753)
* CYS: Fix border width pattern preview

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

* format CSS

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-07-22 15:46:11 +02:00
Ivan Stojadinov 182380943a
[e2e] Run full e2e suite against external hosts (#49597)
Co-authored-by: github-actions <github-actions@github.com>
2024-07-22 16:00:51 +03:00
Veljko V. 406a6c07f7
Fix failing tests in Gutenberg stable and nightly tests (#49548) 2024-07-22 15:52:21 +03:00
louwie17 f6035610a6
Address React 18 race condition issue and `setCategories` console error (#49642)
* Add missing script handle dependency

* Only register/unregister blocks if product page is being mounted/unmounted

* Set hasResolved to the product object

* Create new refresh action for product when generating variations

* Add changelog

* Revert changes around product update
2024-07-22 09:22:35 -03:00
Niels Lange 0c9e33bb7c
Adjust input field height and input label text size (#49636)
* Field height and label text size adjustments

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

* Kepe initial height of child element

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-07-22 12:53:59 +02:00
Vedanshu Jain 7b2a972405
Update Jetpack new SSO classes and methods to prevent deprecation notices (#49752)
Update Jetpack new SSO classes and methods to prevent deprecation notice.
2024-07-22 10:55:21 +02:00
Mike Jolley 79e89f6d44
Fix lost password page visibility when logged in (#49670)
* Split logged in/logged out views in my account rendering

* Redirect to edit account when using lost password when logged in

* changelog

* logout before running test

* esc_url_raw
2024-07-19 16:18:20 +01:00
Luigi Teschio fd5362218a
CYS: Fix tooltip overlap with pattern (#49700)
* CYS: Fix tooltip overlap with pattern

* 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-07-19 12:52:26 +00:00
Luigi Teschio 8313050d37
CYS: Remove not necessary placeholder on homepage sidebar (#49705)
* CYS: Remove not necessary placeholder on homepage sidebar

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-07-19 12:26:24 +00:00
Vladimir Reznichenko c4584bd6df
Monorepo: zips build script update (frozen lock files) (#49640) 2024-07-19 13:07:48 +02:00
Vladimir Reznichenko 83e7730f95
Tests: skip a flaky test (test_get_reports_with_orphaned_refund). (#49711) 2024-07-19 13:04:11 +02:00
Niels Lange 2baa82b750
Spacing adjustments for coupon code in the Cart and Checkout blocks (#49603)
* Spacing adjustments for coupon code

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-07-19 12:47:17 +02:00
Vladimir Reznichenko 419a538901
CI: fixes for handling workflow cancellation. (#49709) 2024-07-19 12:32:10 +02:00
Luigi Teschio 86ec35c599
CYS: Fix button background on Featured Category Cover image (#49659)
* CYS: Fix button background on Featured Category Cover image

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

* improve logic to handle multiple patterns

* improve implementation

* fix color on WordPress 6.5

* remove not used import£

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-07-19 10:15:10 +00:00
Bart Kalisz 800cf7e9ed
Blocks E2E: Fix DB snapshot removal step in setup script (#49677) 2024-07-19 12:02:56 +02:00
Chris Lilitsas 67d360a4ae
[Product Collection] Flatten query telemetry data to JSON-encoded string for proper data handling (#49680)
* flatten filters

* Add changelog
2024-07-19 11:58:48 +03:00
Adrian Moldovan a5a5c0503f
[testing workflows] Add new workflow to trigger any jobs in ci.yml on demand (#49674) 2024-07-19 10:14:12 +02:00
Adrian Moldovan 4534829ecd
[e2e tests] Fix tests for WP 6.6 (#49634) 2024-07-19 08:12:02 +00:00
Jorge M 0240a50ec0
Fix Tax Report Pagination (#49562)
* Parse limits and offsets

* Remove unsused variable

* Add tests for pagination

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

* Add missing doc

* Use get_sql_clause limit

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-07-19 10:08:02 +02:00
Luigi Teschio 1a7619a4fa
CYS: show logo when the header is updated (#49681)
* CYS: show logo when the header is updated

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-07-19 10:03:56 +02:00
Thilina Pituwala d0bd9f193a
Add UTM parameters to links in subscription renewal notices (#49645)
* Fix typo.

* Update UTM parameters of the PU renewal link on settings page and in-app my subscriptions tab.

* Update the UTM parameters of the PU renewal link on plugins page.

* Update link with UTM params when multiple subscriptions are expiring.

* Fix campaign name.

* Add UTM params to WC Settings PU renewal links.

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

* Fix campaign name.

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-07-19 09:52:42 +02:00
Vladimir Reznichenko 46f952eeb5
Monorepo: enable babel-loader and Jest caching (inc. CI) (#49656)
In this PR, we are consolidating babel-loader caching and adding Jest caching, improving build/testing times locally and in CI. The improvement comes from cache covering transpile steps in the mentioned processes.
2024-07-19 09:40:01 +02:00
Alba Rincón e865e1e4f2
Product rating - Inherit the color of the star when no ratings (#49678)
* Inherit the color of the star

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-07-19 09:23:24 +02:00