Commit Graph

63477 Commits

Author SHA1 Message Date
Adrian Moldovan bed3124b8d
[testing workflows] Fix the plugins setup for daily e2e runs (#46511)
* Move daily site check workflow to deprecated

* Add install-plugin script

* Install plugins script

* Fix the script path, it was moved.

* Set env on job level

* Update working-directory

* Add changelog

* Use the right WC_SUBSCRIPTIONS_REPO variable

* Add a test channel id

* Update smoke-test-daily.yml

* Remove WC Subscriptions

* Update smoke-test-daily.yml

* Switch back the channel ID and remove pull_request trigger
2024-04-13 10:12:48 -07:00
Adrian Moldovan 188d46f095
[e2e tests] Fix command palette tests failing with Gutenberg installed (#46407) 2024-04-12 15:39:52 -03:00
Ron Rennick 4fa2e3822c
Update the monorepo to node v20 (#45148)
* test bumping node to v18

* remove community contributor condition from review assignment

* Add changefile(s) from automation for the following project(s): @woocommerce/tracks, @woocommerce/onboarding, @woocommerce/number, @woocommerce/notices, @woocommerce/navigation, @woocommerce/internal-js-tests, @woocommerce/extend-cart-checkout-block, @woocommerce/expression-evaluation, @woocommerce/explat, @woocommerce/experimental, @woocommerce/eslint-plugin, @woocommerce/dependency-extraction-webpack-plugin, @woocommerce/date, @woocommerce/data, @woocommerce/customer-effort-score, @woocommerce/currency, @woocommerce/csv-export, @woocommerce/create-woo-extension, @woocommerce/create-product-editor-block, @woocommerce/components, @woocommerce/api, @woocommerce/admin-e2e-tests, woocommerce-blocks, woocommerce-beta-tester, woocommerce, woo-ai

* bump node to v20

* Add changefile(s) from automation for the following project(s): @woocommerce/tracks, @woocommerce/onboarding, @woocommerce/number, @woocommerce/notices, @woocommerce/navigation, @woocommerce/internal-js-tests, @woocommerce/extend-cart-checkout-block, @woocommerce/expression-evaluation, @woocommerce/explat, @woocommerce/experimental, @woocommerce/eslint-plugin, @woocommerce/dependency-extraction-webpack-plugin, @woocommerce/date, @woocommerce/data, @woocommerce/customer-effort-score, @woocommerce/currency, @woocommerce/csv-export, @woocommerce/create-woo-extension, @woocommerce/create-product-editor-block, @woocommerce/components, @woocommerce/api, @woocommerce/admin-e2e-tests, packages/php/remote-specs-validation, woocommerce-blocks, woocommerce-beta-tester, woocommerce, woo-ai

* Add changefile(s) from automation for the following project(s): @woocommerce/tracks, @woocommerce/onboarding, @woocommerce/number, @woocommerce/notices, @woocommerce/navigation, @woocommerce/internal-js-tests, @woocommerce/extend-cart-checkout-block, @woocommerce/expression-evaluation, @woocommerce/explat, @woocommerce/experimental, @woocommerce/eslint-plugin, @woocommerce/dependency-extraction-webpack-plugin, @woocommerce/date, @woocommerce/data, @woocommerce/customer-effort-score, @woocommerce/currency, @woocommerce/csv-export, @woocommerce/create-woo-extension, @woocommerce/create-product-editor-block, @woocommerce/components, @woocommerce/api, @woocommerce/admin-e2e-tests, woocommerce-blocks, woocommerce-beta-tester, woocommerce, woo-ai

* add blocks eslint-plugin-woocommerce to project workspace

* add e2e-environment as a peer to e2e-utils

* restore version on @woocommerce/api

* update lock file

* move e2e-environment to devDependencies

* add undefined location check to admin js test

---------

Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
Co-authored-by: github-actions <github-actions@github.com>
2024-04-12 13:49:55 -03:00
Nathan Silveira 5e3d372e5f
Prepare @woocommerce/product-editor for release 1.5 (#46543) 2024-04-12 12:03:37 -03:00
Adrian Moldovan 1fee0439d3
[testing workflows] Move metrics job to ci.yml (#46471)
* Move deprecated workflows to deprecated folder

* Configure new test job for metrics

* Add changelog

* Update start command

* Update start command

* Archive metrics results

* Fix script path

* Fix name in archive results condition

* Add the actual run command for pull_request event

* Run with pnpm --filter

* Test run for push event

* Revert test conditions

* Add WP_ARTIFACTS_PATH env variable

* Update path to readme.txt

* Revert github event conditions

* Add CODEVITALS_PROJECT_TOKEN env

* Set WP_ARTIFACTS_PATH on job level

* Add blocks templates in the changes list
2024-04-12 11:46:01 -03:00
Ilyas Foo 395a70756a
Fix K6 performance tests with LYS feature turned on (#46539)
* Set woocommerce_coming_soon option to no when setting up performance E2E

* Changelog
2024-04-12 15:14:48 +01:00
Oleksandr Aratovskyi 5bcbb52a9b
Remove BNPL (Klarna) apm and fix icons on wcpay welcome page (#46523)
* Update payment method icons

* Use latest payment methods icons on wcpay weclome page

* Style payment icons on wcpay welcome page similarly to connect page

* Remove BNPL from wcpay welcome page additional payment methods

* Add changefile(s) from automation for the following project(s): @woocommerce/onboarding, woocommerce

* Fix warnings on CB payment method

* Fix lint error

* Change discover icon to new

---------

Co-authored-by: oaratovskyi <oleksandr.aratovskyi@automattic.com>
Co-authored-by: github-actions <github-actions@github.com>
2024-04-12 17:07:12 +03:00
Nathan Silveira 027f83f1fa
Remove Media Library menu item from Downloads section (#46490)
* Remove MediaLibraryMenuItem from downloads

* Add changelog
2024-04-12 11:03:10 -03:00
Nathan Silveira 0b69d4d6f7
Prepare @woocommerce/admin-layout and block-templates for release (#46538)
* Prepare @woocommerce/block-templates for release

* Prepare @woocommerce/admin-layout for release

* Revert mistake
2024-04-12 13:52:36 +00:00
Fernando Marichal d8037dd154
Add menu item to Publish button with copy to draft (#46294)
* Add duplicate product store

* Add copyToDraft method

* Add copy to draft button

* Modify success notice

* Add changelogs

* Update name before saving product

* Add comment to code
2024-04-12 10:19:12 -03:00
Nathan Silveira 450b06a1e1
Always use productTemplateId when available and use editedRecord in useEntityRecord hooks (#46395)
* Use editedRecord instead of record

* Always use productTemplateId when available

* Change private methods to protected in ProductVariationTemplate

* Use editedRecord in hook useEntityRecord

* Update changelogs

* Restore attribute renamed by mistake

* Change useProductTemplate unit test
2024-04-12 10:16:35 -03:00
Adrian Moldovan d8ffca8d40
Revert "Update phpcs to squizlabs/php_codesniffer" (#46524)
* Revert "Update phpcs to squizlabs/php_codesniffer (#46350)"

This reverts commit 01f9880387.

* php file test change

* Revert test php file change
2024-04-12 10:12:35 -03:00
rodelgc b73de2ae4a
k6 perf tests: Add assertions for the "Shop" page title and product headers. (#46469) 2024-04-12 15:04:45 +03:00
rodelgc 522c8893a5
Add checks for page title and footer (#46485) 2024-04-12 15:01:39 +03:00
Luigi Teschio 8653d4c4fe
Blocks - E2E: Fix visibility store (#46521)
* Blocks - E2E: Fix visibility store

* add changelog
2024-04-12 11:26:12 +00:00
RJ 2bd388057f
add: lys hub tracks (#46462)
* add: lys hub tracks

* moved tasks object up
2024-04-12 18:36:56 +08:00
Damián Suárez 5db25ea616
[Product Block Editor]: expose __experimentalSectionActions component (#46515)
* add basic Readme.md file

* expose __experimentalSectionActions component

* changelog

* update readme example
2024-04-12 05:48:40 -04:00
Job 28e78fd655
Default to docs and forums (#46520)
* Update triage-replies.yml

we want to default towards docs and forums

* Update 1-bug-report.yml
2024-04-12 09:24:35 +00:00
Adrian Duffell 41b6310e3d
Remove Launch Your Store Feature Flag (#46510)
* Enable launch-your-store feature flag

* Add changelog
2024-04-12 16:13:42 +08:00
Jonathan Lane 2d1ba5f7c4
A number of fixes for some of the top flaky e2e tests (#46494)
Co-authored-by: Jon Lane <jon.lane@automattic.com>
2024-04-12 08:53:21 +03:00
Adrian Moldovan 349f09151a
Add JS lint scripts for woocommerce plugin (#46214) 2024-04-12 07:30:17 +03:00
And Finally 63443b502d
Add clause to `CustomMetaDataStore::get_meta_keys` query to exclude empty order meta keys (#46476)
* Add clause to query in `CustomMetaDataStore::get_meta_keys` to exclude metas where the key is ''.

* Addressing linter error. Removed unnecessary prepare.
2024-04-11 17:24:35 +01:00
Ron Rennick c6048b5c49
Add glob, rimraf, and uuid to Syncpack (#46278)
* add uuid to syncpack

* add rimraf to syncpack

* add glob to syncpack

* Add changefile(s) from automation for the following project(s): @woocommerce/tracks, @woocommerce/product-editor, @woocommerce/onboarding, @woocommerce/number, @woocommerce/notices, @woocommerce/navigation, @woocommerce/internal-js-tests, @woocommerce/integrate-plugin, @woocommerce/expression-evaluation, @woocommerce/explat, @woocommerce/experimental, @woocommerce/eslint-plugin, @woocommerce/dependency-extraction-webpack-plugin, @woocommerce/date, @woocommerce/data, @woocommerce/customer-effort-score, @woocommerce/currency, @woocommerce/csv-export, @woocommerce/components, @woocommerce/block-templates, @woocommerce/ai, @woocommerce/admin-layout, @woocommerce/admin-e2e-tests, woocommerce

---------

Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
Co-authored-by: github-actions <github-actions@github.com>
2024-04-11 12:52:49 -03:00
Ron Rennick 01f9880387
Update phpcs to squizlabs/php_codesniffer (#46350)
Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
2024-04-11 12:52:26 -03:00
Paul Sealock b9a1f97420
[LYS] Coming Soon template layout changes (#46403)
* Update template tweaks

* Blockify the gaps

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

* Update banner styles

* vertical center

* 500 weight on login

* Update login/logout button font-weight

* Revert "Update login/logout button font-weight"

This reverts commit b985d2a0f6.

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-04-11 20:01:56 +08:00
Matt Sherman 4ba72b2258
Product Editor API: Add tooltip attribute to woocommerce/product-select-field block (#46447) 2024-04-11 07:20:57 -04:00
github-actions[bot] ea2becadaf
Delete changelog files based on PR 46429 (#46474)
Delete changelog files for 46429

Co-authored-by: WooCommerce Bot <no-reply@woo.com>
2024-04-11 19:20:03 +08:00
Chi-Hsuan Huang 7e759905e3
Tweak LYS sidebar styles (#46449)
* Tweak LYS sidebar styles

* Fix styles

* Remove setting link from lys hub description

* Fix lint
2024-04-11 09:32:31 +00:00
Karol Manijak de54195c3a
Enable Classic Template Products by Tag test (#46428)
* Enable Product Tag template test

* Add changelog
2024-04-11 08:58:01 +02:00
Jonathan Lane 084d10c0ba
Check shop page after page deletion (#46448)
Co-authored-by: Jon Lane <jon.lane@automattic.com>
2024-04-11 09:52:45 +03:00
Karol Manijak 7efd3d4652
Product Collection: break taxonomies filter into multiple menu items per each taxonomy (#46160)
* Split taxonomies filter into seperate filter per taxonomy

* Add changelog

* Improve onDeselect function

* Update tests

* Fix lint

* Satisfy TS by returning single React element rather than array of elements

* Remove unused variable
2024-04-11 08:13:42 +02:00
RJ 09b002cb50
add: lys prefetch congrats data (#46406) 2024-04-11 12:48:40 +08:00
Chi-Hsuan Huang 5a57525bd6
Make LYS preview frame resizable (#46327)
* Make LYS preview frame resizable

* Add changelog

* Refactor site-preview.scss: Remove components-resizable-box__container styles

* Set z-index to 2 to preview container to fix resizing handler on max size

* Make room for the handle on the left side
2024-04-11 11:06:00 +08:00
Adrian Duffell 2751023836
Display the coming soon page on front-end requests (#46223)
* Add coming soon helpers

* Add coming soon request handler

* Add coming soon init

* Remove empty file

* Add cache invalidator

* Add service provider inline docs

* Add changelog

* Add handling when woocommerce_coming_soon is deleted

* Add helper to get url from WP instance

* Typo fix

* Use the helper to get url

* Handle scenario where coming soon page is unavailable

* Skip admin exclusion test

* Update plugins/woocommerce/src/Internal/ComingSoon/ComingSoonRequestHandler.php

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

---------

Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
2024-04-10 23:17:43 +00:00
Paul Sealock ef4ecd286a
[LYS] Coming Soon template tweaks (#46402)
* Update social link urls

* Align wide

* hide banner on Coming soon page

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-04-11 10:37:24 +12:00
Ron Rennick b308132799
add template deleted notice to template linting (#46347)
add template deleted notice

Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
2024-04-10 15:35:12 -05:00
Ron Rennick d94ed1a843
update makepot command to use include vs exclude (#46287)
* update makepot command to use include vs exclude

* add the changelog

---------

Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
2024-04-10 14:59:47 -05:00
Fernando Marichal 618221e321
Remove periods at the end of section descriptions (#46346)
* Remove period after question mark

# Conflicts:
#	plugins/woocommerce/src/Internal/Features/ProductBlockEditor/ProductTemplates/ProductVariationTemplate.php
#	plugins/woocommerce/src/Internal/Features/ProductBlockEditor/ProductTemplates/SimpleProductTemplate.php

* Remove useless periods

# Conflicts:
#	plugins/woocommerce/src/Internal/Features/ProductBlockEditor/ProductTemplates/SimpleProductTemplate.php

* Fix comments

* Add changelog

* Fix comment

* Modify comment

* Fix comments
2024-04-10 16:04:30 -03:00
Nathan Silveira 3fb744313b
Add isSelectableByUser attribute to product templates (#46394)
* Add selectable attribute in product template to allow creation of product templates that do not appear on the "Change product type" UI

* Always use productTemplateId when available, otherwise fallback to standard-product-template

* Rename attribute

* Use editedRecord in hook useEntityRecord

* Revert "Always use productTemplateId when available, otherwise fallback to standard-product-template"

This reverts commit 2960fcd520.

* Revert "Use editedRecord in hook useEntityRecord"

This reverts commit c28e005e7b.

* Add changelogs

* Fix unit tests

* Increment changelog
2024-04-10 17:57:42 +00:00
Albert Juhé Lluveras 76bbd95db5
Fix wrong Shop title shown in classic themes after deleting the page (#46429)
* Fix wrong Shop title shown in classic themes after deleting the page

* Add changelog file

* Add explanatory comment
2024-04-10 19:45:34 +02:00
Alexandre Lara 87f31f8ed0
Bump eslint-import-resolver-typescript from 3.2.4 to 3.6.1 (#45910)
* Bump eslint-import-resolver-typescript from 3.2.4 to 3.6.1

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-04-10 13:54:12 -03:00
Alexandre Lara 060befe8e8
Bump dataloader from 2.1.0 to 2.2.2 (#45906)
* Bump dataloader from 2.1.0 to 2.2.2

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-04-10 12:14:04 -03:00
Alex Florisca 485bc76587
Update CONTRIBUTING.md (#46425)
Removed the paragraph saying WooCommerce Blocks lives in a different repository
2024-04-10 16:11:13 +01:00
Roy Ho deef144a43
Add translation context to ambiguous words (#46382)
* Add translation context to ambiguous words

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-04-10 06:17:14 -07:00
Chi-Hsuan Huang 95b36650d7
Fix Launch Your Store task item should not be clickable once completed (#46361)
* Fix Launch Your Store task item should not be clickable once completed

* Add changefile(s) from automation for the following project(s): @woocommerce/experimental, woocommerce

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-04-10 20:32:15 +08:00
Chi-Hsuan Huang 0387404d7f
[LYS] Tweak site visibility settings page (#46365) 2024-04-10 18:56:03 +08:00
Thomas Roberts 255a45911c
Update shipping and payment radio controls to use borders on selected items (#46150) 2024-04-10 02:54:05 -07:00
Bart Kalisz b8df34659c
Blocks E2E: Ensure legacy template slugs are supported (#46269) 2024-04-10 10:38:55 +02:00
Adrian Moldovan 9df545046a
[test reporting] Include list of failed tests in Slack notifications (#46360) 2024-04-10 10:10:08 +03:00
Jonathan Lane c7de30b773
[DOCS] Update core critical flows with update e2e tests (#46400)
* Update core critical flows with update e2e tests

* Updated docs manifest

---------

Co-authored-by: Jon Lane <jon.lane@automattic.com>
2024-04-09 19:14:20 -04:00