Commit Graph

64642 Commits

Author SHA1 Message Date
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
Prahesa Kusuma Setia c2bcb0b386
utm params for add payment method notice (#49621)
* add utm params for add payment method notice

* extract missing payment method notice data to different function

* rename utm params

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

* fix lint issue

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-07-19 12:44:39 +07:00
Alexandre Lara 12b701d35c
[Experimental] Product Filters Redesign: Move icons to @woocommerce/icons package (#49646)
* Move icons to @woocommerce/icons package

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-07-18 15:53:39 -03:00
Roy Ho 038ef3d751
[Experimental] Add Product filters overlay settings (#48732)
* Add overlay settings

* Tweak icon size slider

* Add overlay template part link

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

* Fix scss linting

* Fix php linting

* Remove preview

* Rename setting props to be more clear

* Remove unused import

* Update plugins/woocommerce-blocks/assets/js/blocks/product-filters/editor.scss

Co-authored-by: Tung Du <dinhtungdu@gmail.com>

* Update plugins/woocommerce-blocks/assets/js/blocks/product-filters/edit.tsx

Co-authored-by: Tung Du <dinhtungdu@gmail.com>

* Update plugins/woocommerce-blocks/assets/js/blocks/product-filters/types.ts

Co-authored-by: Tung Du <dinhtungdu@gmail.com>

* Update plugins/woocommerce-blocks/assets/js/blocks/product-filters/edit.tsx

Co-authored-by: Tung Du <dinhtungdu@gmail.com>

* Move experimental controls to last of list

* Improve typescript code

* Remove unneeded constructor code

* Extract icons into own component

* Moved overlay template part link to the bottom

* Add apply button

* Hide overlay settings when in always mode

* Remove overlay template part from list and put into general area

* Update api version to 3

* Update plugins/woocommerce-blocks/assets/js/icons/library/filter.tsx

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

* Update plugins/woocommerce-blocks/assets/js/icons/library/filter-three-lines.tsx

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

* Fix overlay button link style and clickable

* Remove edit overlay link from never mode

* Add e2e tests for the filters overlay settings

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Tung Du <dinhtungdu@gmail.com>
Co-authored-by: Alexandre Lara <allexandrelara@gmail.com>
2024-07-18 11:33:25 -07:00
Jorge A. Torres 0a651c41e6
Improve rendering of order list table on mobile (#49592)
* Include date/status in order number column for use on smaller screens

* Rework responsiveness of order list a bit

* Add changelog

* Adjust related E2E tests

---------

Co-authored-by: Naman Malhotra <naman03malhotra@gmail.com>
2024-07-18 19:19:01 +01:00
Gabriel Manussakis 49db63ab3f
[Accessibility] Replace simple CSS red with an accessible red color (#48742)
* Replace red color with $red sass variable

* Add chegelog file

* Use CSS red variable instead of the SASS one
2024-07-18 18:18:10 +02:00
Luigi Teschio de4a8ffdd4
CYS: show default TT4 fonts pair (#49675)
* CYS: show default TT4 fonts pair

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-07-18 14:41:52 +00:00
Luigi Teschio bbed30ccdb
CYS: Fix no block placeholder style (#49673)
* CYS: Fix no block placeholder style

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-07-18 14:31:19 +00:00
Alba Rincón e067a11c5f
CYS - Fix spacing in patterns (#49669)
* CYS - Fix the column spacing for the "Four Image Grid Content Left" pattern

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

* Remove the dash in the testimonials single name

* Add spacing to the testimonial 3 col patterns

* Add spacers to pattern titles

* Remove symbol before customer names

* Fix chessboard spacing

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-07-18 16:17:33 +02:00
Bart Kalisz 720c1de6bf
Blocks E2E: Refactor Product Collection vs classic template test for stability (#49638) 2024-07-18 15:50:25 +02:00
Alba Rincón 7f797c041c
Replace the customer account line logo (#49666)
* Replace the customer account line logo

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-07-18 15:47:07 +02:00
Nathan Silveira f7153daa61
Prevent adding global_unique_id to old schema versions (#49472)
* Update changelog from PR that added new field to product lookup table

* Update db_version variable and use it to prevent adding global_unique_id when the lookup table was not yet updated

* Add woocommerce_schema_version to get_default_option_permissions

* Add changelog

* Remove schema version from default_option_permissions
2024-07-18 19:11:33 +05:30
Moon 5736b7a056
Add refresh & delete notification tools (#48961)
* Add Remote inbox notifications tools

* Add sanitize_text_field

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

* Update plugins/woocommerce/src/Admin/RemoteInboxNotifications/RemoteInboxNotificationsEngine.php

Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
2024-07-18 11:01:21 +02:00
Luigi Teschio 824bf8e218
CYS: fix drag to resize bar (#49657)
* CYS: fix drag to resize bar

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-07-18 10:57:17 +02:00