Commit Graph

63544 Commits

Author SHA1 Message Date
Fernando Marichal 6fb00c4297
Fix linked product e2e tests (#46286)
* Fix linked product e2e tests

* Add changelog
2024-04-05 14:37:51 -03:00
siliconforks 0d368bfc53
Fix bug parsing memory_limit in product importer (#46051)
Previously, the code assumed that all memory_limit values used the "M"
suffix (for megabytes); values using "G" (for gigabytes), "K" (for
kilobytes), or no suffix (for bytes) were all parsed incorrectly.  Now,
all possible values should be handled correctly.

This bug has actually been fixed twice before in other locations:

Commit 538403306c (#30908)

Commit 4557108805 (#21557)
2024-04-05 17:11:38 +02:00
RJ b5b96bed04
add: lys launch store action (#46235)
* add: launch store action
2024-04-05 15:08:23 +00:00
Fernando Marichal 931aec84e8
[Linked products] - Change number of 'choose products for me' to 4 (#46094)
* Add limit to "choose products for me"

* Add changelog
2024-04-05 11:35:59 -03:00
Fernando Marichal 2c52b6ab7e
Add e2e tests for linked products (#46024)
* Add e2e tests for linked products

* Add changelog
2024-04-05 11:35:17 -03:00
Paulo Arromba afe19f2f08
Enhancement: Changing shopper feedback on payment response failure (#45961)
* Changing shopper feedback on payment response issues

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

* Disambiguated error log

* Prevent unexpected error response from outputting technical data to the user. Instead display an helpful message to prevent retries.

* Fix PHP linting.

* Changed error message and added translators comment

* Safeguarding against wc_checkout_params.i18n_checkout_error definition

* Added null check
2024-04-05 15:21:47 +01:00
Karol Manijak 0c1e4efc89
Rename the "other" location from `generic` to `site` (#46228)
* Rename the useGetLocation generic option to site

* Add changelog

* Adjust tests to change
2024-04-05 15:54:56 +02:00
Shani 3af1ff3f68
Adds testing readme to docs (#46249)
* Renames beta testing directory and adds readme

* Adds manifest.json

* Adds meta tags to readme

* Fixes linting issue

---------

Co-authored-by: Shani Banerjee <shanibanerjee@Shanis-MBP.lan>
2024-04-05 09:36:22 -04:00
github-actions[bot] cb27f36cad
Delete changelog files based on PR 45825 (#46267)
Delete changelog files for 45825

Co-authored-by: WooCommerce Bot <no-reply@woo.com>
2024-04-05 15:31:46 +02:00
Adrian Moldovan 6a183c2561
[e2e tests] Update default theme to twentytwentythree (#45937)
Co-authored-by: Luigi Teschio <gigitux@gmail.com>
Co-authored-by: github-actions <github-actions@github.com>
2024-04-05 10:13:57 -03:00
Karol Manijak 1c4b793f06
Product Collection: fix "Reset All" button in Editor filters (#46226)
* Add deselect callabck to attribute filter

* Add deselect callabck to created filter

* Add deselect callabck to featured filter

* Add deselect callabck to handpicked filter

* Cleanup deselect callabck to keyword filter

* Add deselect callabck to on salefilter

* Add deselect callabck to order by option

* Add deselect callabck to stock status filter

* Add deselect callabck to price range filter

* Add deselect callabck to price taxonomies filter

* Call all the reset filer callbacks on reset

* Add changelog

* Remove unused variable

* Replace hardcoded default filter values with the DEFAULT_FILTERS constant
2024-04-05 13:16:00 +02:00
Thomas Roberts 66ac06e9fc
Add default keys to local pickup settings to prevent PHP warning (#46182) 2024-04-05 11:08:54 +00:00
Barry Hughes d874575c86
Solve error when coupons are applied to orders that reference deleted products (#46251)
Solve error when coupons are applied to orders that reference deleted products.
2024-04-05 12:53:53 +02:00
Francesco 57b8fe8a84
refactor: `*_checkout_process_payment_error` to return 400 error code (#45979)
Co-authored-by: github-actions <github-actions@github.com>
2024-04-05 09:44:09 +00:00
Ron Rennick 97d71b25a2
update cot references in performance tests to hpos (#46245)
Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
2024-04-05 11:59:50 +03:00
Ron Rennick e9dff60e95
update labels in non-hpos daily workflow (#46246)
Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
2024-04-05 11:04:47 +03:00
Ilyas Foo 7e7be4f9d0
Add launch your store success screen (#46103)
* Initial commit with LYS components

* Update CustomerFeedbackSimple component to support emoji value props

* Add confetti package in woocommerce components

* Add confetti usage

* Remove unnecessary files

* Update pnpm lock

* Changelogs

* Lint and temporarily comment out tests

* Lint css and rename image

* Various fixes

* Rename transitional to congrats

* Add copy link functionaility from Moon's code and move whatsnext component

* Rename components

* Move and renames

* Fix ref type

* Add temporary dynamic actions

* Remove confetti background

* Add header

* Update xstate actions for launch success page

* Add temporary spinner

* Combine congrats data fetching to a single action and service

* Add functioning dynamic actions list

* Temporarily remove test

* Cleanups

* More cleanups

* Small lint

* add url listener for content param

* Update comment on confetti package

* Remove lodash and replace with reduce

* Fix Woo Express condition

---------

Co-authored-by: rjchow <me@rjchow.com>
2024-04-05 10:44:57 +08:00
Moon c551667646
Copy change for coming soon label in advanced setting (#46204)
* Copy change for coming soon setting

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-04-04 19:21:00 -07:00
Paul Sealock 04aab95452
[Launch Your Store] Dynamically create Coming Soon page content (#46101) 2024-04-05 14:56:39 +13:00
RJ 34b48892e0
fix: lys hub show only incompleted and recent tasks (#46190)
* fix: lys hub show only incompleted and recent tasks

* disable completed task items

* Update plugins/woocommerce-admin/client/launch-your-store/hub/sidebar/tasklist.tsx

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

* strikethrough font color

---------

Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
2024-04-05 09:54:30 +08:00
Chi-Hsuan Huang 3f601b3f45
LYS: Add coming soon page editor links (#46100)
* Add 'woocommerce_coming_soon_page_id' option to API options

* Add useComingSoonEditorLink hook to handle the coming soon editor link

* Add useComingSoonEditorLink hook and update styles

* Add changelog

* Move use-launch-your-store.js to ./hooks and update import path
2024-04-05 01:26:30 +00:00
Chi-Hsuan Huang 4c3d6ffa6b
Move the LYS feature flag check inside add_lys_default_values() (#46154)
* Move the feature flag check to add_lys_default_values method

* Add changelog

* Revert changes

* Fix bug in login functionality
2024-04-05 01:20:17 +00:00
Chi-Hsuan Huang 90c082aafb
Add feature flag options to `wc-live-branches.user.js` user script (#46152)
* Update WooCommerce Live Branches script version to 1.1 and add feature flags options

* Add changelog

* Update options

* Add encodeURIComponent
2024-04-05 01:10:21 +00:00
Chi-Hsuan Huang c3142773f5
Add missing `live-branches/install.php` require to API.php (#46159)
* Add live-branches/install.php to API

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-04-05 08:47:47 +08:00
Moon 1907016893
Track site visibility setting actions (#46078)
* Track site visibility actions

* Move private link text box to prevent accidental toggle

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

* Restirct site visibility settings to general tab

* Remove unnecessary site visibility render logic

* Lint fix

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-04-04 16:50:26 -07:00
Moon def3ac920d
Move site visibility settings to a new tab (#46140)
* Move site visibility settings to a new tab

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

* Update tab id to site-visibility and link to it from the homescreen badge

* Fix tests

* Remove unused code

* Lower case tab title

* Remove general from the slotfill id

* Remove typo

* Lint fix

* Lint fix

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-04-04 14:28:58 -07:00
Ron Rennick 674d7a01bf
fix the CI unit test path for legacy unit tests (#46247)
* fix the CI unit test path for legacy unit tests

* update the pattern in all the relevant CI jobs

* add the tests/unit-tests folder as well

---------

Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
2024-04-04 17:50:45 -03:00
Michael Pretty 6328ad01a5
Fix tests currently failing against HPOS environment setup (#46242)
* Fix tests currently failing against HPOS environment setup

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

* fix lint warning for print_r usage

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-04-04 11:19:22 -07:00
Shani d80086ef87
Beta testing doc addition (#46244)
* Adds beta testing directory and doc to docs directory

* Adds manifest.json

* Fixes typo

* Linter fix

---------

Co-authored-by: Shani Banerjee <shanibanerjee@Shanis-MacBook-Pro.local>
2024-04-04 17:56:50 +00:00
Shani 790373ba3b
Edit contributing docs readme (#46197)
* Directs devs to docs site where contributing to woo links are clearly laid out and defined

* Adds updated manifest.json

* Fixes typo

---------

Co-authored-by: Shani Banerjee <shanibanerjee@Shanis-MBP.lan>
2024-04-04 13:09:27 -04:00
louwie17 95311dc87c
Add e2e for analytics product segmentation (#46164)
* Add initial copy of new E2E analytics test

* Updated test to pass and filter by variation

* Add changelog
2024-04-04 10:01:05 -07:00
Ron Rennick bfb376abea
Sync stylelint, classnames, wp-prettier, sass-loader versions (#45597)
* bump husky, remove remnants from blocks

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

* add @playwright/test to syncpack

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

* update pnpm-lock.yaml

* add github-label-sync to syncpack

* add stylelint to syncpack

* add classnames to syncpack

* manually sync wp-prettier

* sync sass-loader version

---------

Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
Co-authored-by: github-actions <github-actions@github.com>
2024-04-04 09:48:54 -07:00
Ron Rennick 0849238776
add expected version to template warning (#46021)
* add expected version to template warning

* add changelog

* fix spacing for linting

* revert template change

---------

Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
2024-04-04 09:47:10 -07:00
Jorge A. Torres 3f74ef2009
UX improvements for HPOS CLI cleanup tool (#45322)
* When order is out of sync, suggest a fix

* Allow cleanup tool to remove data for placeholders even if order can’t be loaded from HPOS

* Prevent infinite loops in cleanup tool

* Add changelog

* Fix PHPCS violations

* Improve error messages

* Fix syntax error

* Minor fix
2024-04-04 17:18:01 +01:00
Luigi Teschio 51dfbb969f
CYS - color picker: fix CSS (#46227)
* CYS - color picker: fix CSS

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-04-04 15:28:15 +00:00
Alba Rincón 0a0730bad7
[CYS] Stop relying on snapshot for footer and header tests (#46221)
* Stop relying on snapshot for footer and header tests

* Remove only

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-04-04 17:13:06 +02:00
Alba Rincón f06ef8d8e2
[CYS] Fix color palette button colors (#46216)
* CYS: add debounce to improve performance

* Fix button colors

* Format

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

---------

Co-authored-by: Luigi Teschio <gigitux@gmail.com>
Co-authored-by: github-actions <github-actions@github.com>
2024-04-04 16:26:15 +02:00
Luigi Teschio 96c9180671
CYS: add debounce to improve performance (#46212)
* CYS: add debounce to improve performance

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-04-04 12:19:56 +02:00
Alba Rincón 5129811c85
Disable assembler header test temporarily (#46217)
* Disable assembler header test temporarily

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-04-04 10:07:01 +00:00
Sakri Koskimies c0da722a93
Improve formatting for SE, LV, CZ, SK postcodes + Update tests (#45478)
* Add data providers for WC_Formatting_Functions_Test tests

* Add tests for Denmark postcodes

* Add formatting for Sweden postcodes

* Add formatting for CZ, SK postcodes. Cleanup formatting for LV

* Group wc_format_postcode tests by country

* Add changefile

* Match digits only in LV, CZ, SK postcode formatting

* Update postcode validation for CZ, SK

* Minor adjustment to regex

---------

Co-authored-by: Jorge Torres <jorge.torres@automattic.com>
2024-04-04 10:06:38 +01:00
Alba Rincón 0d6b9770f4
Fix the overlay color of the "Featured Category Triple" pattern (#46170)
* Fix the overlay color of the "Featured Category Triple" pattern

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-04-04 09:58:54 +02:00
Alba Rincón 35ef588981
CYS - E2E tests: Add footer section e2e tests (#45984)
* Add e2e tests for the assembler footer section

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

* Renam var

* Rename pageObject

* Add test for the preview

* Improve the test by extracting the expected class from the selected footer

* Update snapshot

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-04-04 09:23:49 +02:00
Alba Rincón cb4d8a6f70
CYS - E2E tests: Add header section e2e tests (#46011)
* Add e2e tests for the assembler header section

* Rename var

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

* Add test to check the preview changes when selecting a header

* Add missing header classes and all preview test

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-04-04 09:23:37 +02:00
Vedanshu Jain 3d2b33ca09
Avoid reading items from DB of a order whose ID is zero (#46161)
* Add unit test simulating order mix up when order ID is zero.

* Better tests.

* Dont try reading from DB when order is zero to prevent mixups.

* PHPCS fixes and changelog.

* Syntax sugar

Co-authored-by: Corey McKrill <916023+coreymckrill@users.noreply.github.com>

---------

Co-authored-by: Corey McKrill <916023+coreymckrill@users.noreply.github.com>
2024-04-04 12:52:20 +05:30
Jonathan Lane 4bce1da492
Update workflow to close support issues as "won't fix/not planned" (#46202)
Co-authored-by: Jon Lane <jon.lane@automattic.com>
2024-04-04 09:31:53 +03:00
Jonathan Lane d3624dd7e0
Skip mini cart e2e test and a couple of minor fixes (#46199)
Co-authored-by: Jon Lane <jon.lane@automattic.com>
2024-04-04 09:23:43 +03:00
Sam Seay ff102c4921
Add vendor bundling of blocks frontend bundle to improve cart/checkout performance (#45859) 2024-04-04 15:31:02 +13:00
Alexandre Lara 90a9ef0392
Product Filter: Price block - Add E2E tests (#45855)
* Add E2E tests for Product Filter: Price block

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

* Use web first assertions

* Replace `toB` by `toHaveValue` in E2E tests

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-04-03 16:15:10 -03:00
Nima Karimi 1dc97f0801
[Woo AI] Add JSON response format (#46137)
* Add response_format to Woo AI package

* Add changelog

* Request JSON response format for product name generation

* Add changelog

* Add shared types
2024-04-03 21:37:39 +03:00
Luigi Teschio 92c62c4d96
skip color picker E2E tests (#46188)
* skip color picker E2E tests

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-04-03 11:09:51 -07:00