Commit Graph

54512 Commits

Author SHA1 Message Date
github-actions[bot] 65d2694602
Prep trunk for 8.4 cycle (#41009)
Prep trunk for 8.4 cycle with version bump to 8.4.0-dev

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-10-25 19:11:06 -05:00
github-actions[bot] cc7601203e
Release: Remove 8.3 change files (#41011)
Delete changelog files from 8.3 release

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-10-25 19:10:55 -05:00
Paulo Arromba 39ac95b84a
[Enhancement]: Make Cart and Checkout Blocks the default experience on WooCommerce installation (#40867)
* Make Cart and Checkout Blocks the default experience on WooCommerce installation.

* Corrected text domain for translations

* Added changelog entry

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

* Change significance to major on changelog

* Update tooltips for the Cart and Checkout pages

* Deprecated woocommerce_checkout_shortcode_tag and woocommerce_cart_shortcode_tag

* Convert Cart and Checkout pages to shortcodes during setup phase of E2E, API, and k6 perf tests. (#40960)

* Add utility function to set shortcode cart, checkout pages

* Stabilize login steps in global setup, teardown

* Add minor jsdoc

* Simplify function

* Remove unnecessary env var

* Stabilize 1 flaky test

* Add minor jsdoc

* Add util function to convert cart, checkout pages to shortcode in API tests

* Convert to cart, checkout shortcode in k6 perf tests

* Get auth state from PW config

* Rename function

* Separate setup function

* Revert create-simple-product e2e test file

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

* Deleted duplicated changelog entry

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

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: rodelgc <rodel.calasagsag@automattic.com>
2023-10-26 07:45:55 +08:00
Paulo Arromba f0acc763a6 yoda conditions 2023-10-26 00:25:23 +01:00
Chris Runnells b1f1145b7d Remove 'is_active' value since it's set later 2023-10-25 13:02:59 -10:00
Corey McKrill 35f2fda9a8
More phpcs cleanup 2023-10-25 15:57:36 -07:00
Paulo Arromba f855520336 Deleted duplicated changelog entry 2023-10-25 23:57:10 +01:00
github-actions 498ce0e987 Add changefile(s) from automation for the following project(s): woocommerce 2023-10-25 21:29:17 +00:00
nigeljamesstevenson d53e94968c
Remove the TestCheckout note (#40851)
Based on the description p1698260555732139/1698145891.281399-slack-C8X6Q7XQU - proceeding with merge
2023-10-25 21:42:51 +01:00
Nathan Silveira a8e4b27df2
Fix 'Hide in product catalog' being unchecked for variations (#41007)
* Don't touch status attribute in variations

* Add missing validate for variations
2023-10-25 16:52:23 -03:00
github-actions 531eaa029f Add changefile(s) from automation for the following project(s): woocommerce 2023-10-25 18:55:12 +00:00
Maikel David Pérez Gómez 5bce523443
wp-admin sidebar menu pushed down on wc-admin pages (#41001)
* Fix invalid left menu top space

* Add changelog files

* Fix linter errors
2023-10-25 15:16:08 -03:00
Saad Tarhi d267a6f531 Adding changelog 2023-10-25 18:25:37 +01:00
Saad Tarhi c2e179826a Remove the TestCheckout note 2023-10-25 18:25:37 +01:00
nigeljamesstevenson 3ee9c22380
Core profiler - Include tiktok-for-business (#40911) 2023-10-25 18:23:19 +01:00
nigeljamesstevenson 585fa841c0
Use a modified version of edit-site lock-unlock module to make it CYS… (#40884) 2023-10-25 18:22:37 +01:00
jonathansadowski 0d6dfb6d3d
Update the automatically generated changelog filename to include PR number (#41000) 2023-10-25 18:53:17 +02:00
Daniel Dudzic 30639a3878
Update WooCommerce Blocks package to 11.4.1 (#40999) 2023-10-25 18:32:10 +02:00
Corey McKrill 3e7b8d1eec
Update unit test to account for log files generated elsewhere in the test suite 2023-10-25 09:17:47 -07:00
Daniel Dudzic 6941e8c8d7 Revert changes to unrelated composer.lock files 2023-10-25 17:30:48 +02:00
Daniel Dudzic 7803e14b7e Update WooCommerce Blocks package to 11.4.1 2023-10-25 16:56:42 +02:00
Wacław Jacek 3d5b58b7d6
Remove dependency on Jetpack from Shipping and Tax task list items (#39992)
* Remove dependency on Jetpack from WCS&T's task list item

- Remove installing Jetpack-the-plugin from WooCommerce Shipping &
Tax WC Home task list and recommended extensions area.

- Update Jetpack auth link generation to use getJetpackAuthUrl().

- Remove references of Jetpack-the-plugin from WCS&T onboarding
as the extension will now use the Jetpack Connection package
for establishing a connection between WPCOM infrastructure
and a Woo site.

* Update WooCommerce Tax flow in WC Home task list

* Inline the agreementText variable

* Add missing pluginSlugs prop to <Plugins> instance for WC Tax

* Fix WC Tax extension name in API response

* Remove Jetpack from copy in Tax task header

* Fix MD034/no-bare-urls MD linting violation

* Fix experimental shipping recommendation tests

* Add changelogs requested by linter

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

* Remove mention of Jetpack from ExperimentalShippingRecommendation

* Fix text wrapping bug in WC Tax onboarding task

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

* Use isResolving() to detect pending auth URL fetch

* Replace unused hasErrors with ref to error

* Fix lint

* Jetpack auth URL prefetching

* Revert "Jetpack auth URL prefetching"

This reverts commit 2b79000e20.

* Add PrefetchJetpackAuthUrl component to remove Connect button load time

* Replace URL prefetching in component with useEffect

* Fix: Accept redirect URL as param instead of prop

* Fix lint

* Remove prefetching. Make Connect button always available

* Fix ExperimentalShippingRecommendation incompatibility with new Connect behavior

* Handle empty object errors in Connect

* Display TOS above WooCommerce Shipping & Tax installation buttons (#40863)

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-10-25 22:39:43 +08:00
And Finally 9e483cd5c4
Marketplace styling tweaks (#40995) 2023-10-25 15:26:34 +01:00
github-actions 225755a0d9 Add changefile(s) from automation for the following project(s): woocommerce 2023-10-25 14:26:36 +01:00
And Finally fe8e132cc4 Styling tweaks.
- Changed illustrations for extensions and themes no results.
- Added bottom border to theme images in product cards, as many themes have white backgrounds.
- Reduced font size and font weight of suggested products titles in no results.
2023-10-25 14:26:36 +01:00
And Finally 379e07a262
Marketplace: added top margin to improve rendering of WordPress notices (#40962) 2023-10-25 14:20:35 +01:00
louwie17 3f7eb0ce31
Invalidate variations upon generation and fix formatted name (#40905)
* Invalidate variations upon generation and fix formatted name

* Add aditional invalidates to keep cache up to date

* Update formatted name to always return attribute term name list
2023-10-25 08:45:58 -04:00
Dima 07db518e67 Adding changelog file 2023-10-25 15:01:58 +03:00
github-actions 7b4f695f91 Add changefile(s) from automation for the following project(s): woocommerce 2023-10-25 12:46:54 +01:00
And Finally ab34974470 Added top margin to `.woocommerce-store-alerts` to address https://github.com/Automattic/woocommerce.com/issues/18448. 2023-10-25 12:46:54 +01:00
And Finally be46ab25ed
Add improved tracking to the marketplace (#40951) 2023-10-25 12:44:02 +01:00
Dima 73c9e05e31 Remove changelog file 2023-10-25 14:01:54 +03:00
And Finally cc83ffd387
Removed `recordMarketplaceView` from `showSection` in `Products` component. We already record the view in the `useEffect` hook in the `Content` component, so we were getting a duplicate view.
Only setting default category `_all` for `search` view if `product_type` (i.e. `query.section`) is also set. The previous arrangement was setting the `_all` category on the initial search results, where category doesn't figure.

Removed `! props.view` from condition in `recordLegacyTabView`. It meant that the initial default marketplace view wasn't being recorded.

Solve issue with some default prop values

We were no longer sending through a property to determine the "view" or "section" (depending on which event version you're referring to) when loading the discover page.

This change ensures that there is always a fallback that resolves this.

Also fixed some linting issues and cleaned up redundant code.

Removed unused import.
2023-10-25 12:59:39 +02:00
Kyle Nel e76a88aa07
Fix some logic errors and tidy up empty properties
Removed default values from `marketplaceViewProps` – we are now handling this in the tracking function.

Changed `selectedTab` dependency of `useEffect` hook in content.tsx to `query?.tab`. The `selectedTab` state was being reset after (or at least not at the same time as) the change of the tab param in the query string. For this reason, we were recording two page views when you changed from Extensions tab and Shipping category to Themes tab. This doesn't seem to break anything! We are still setting the `selectedTab` based on the query string in the `Tabs` component, so they should still be in sync.

Removed the condition skipping marketplace page view when there was no `prop.view`. This meant that when you switched to the Discovery tab from another tab, we weren't recording the page view.

Also setting default category prop `_all` when no category is specified on extensions, themes and search tabs. This allows us to bundle the default views of those tabs with the views got by clicking on the "All" category link.

Addressing linter errors.
2023-10-25 12:56:54 +02:00
Dima a5d713c09f Adding changelog file 2023-10-25 12:24:25 +03:00
Dima 262ef316fe Adjusting code formatting. 2023-10-25 11:59:07 +03:00
Dima 7d0a49a15b Remove Creative Mail from woocommerce defaults. 2023-10-25 10:14:46 +03:00
nigeljamesstevenson e60737e1f5
Update order locators to allow for hpos and non hpos in test (#40961) 2023-10-25 08:49:40 +02:00
Moon 8687986e79
Customize your store - Link site icon to Woo Home (#40888)
* Link site icon to Woo Home

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-10-25 13:09:05 +08:00
Chi-Hsuan Huang 6503da23aa
Increase sidebar back button z-index to 2 (#40970) 2023-10-25 12:21:48 +08:00
Chi-Hsuan Huang 0f6fd01e65
[Customize your store] Fix footer logo size (#40963) 2023-10-25 12:20:42 +08:00
Chi-Hsuan Huang 64260d987d
Update thumbnail border radius to 4px in CYS assembler (#40967) 2023-10-25 12:20:23 +08:00
Moon bd1fda4891
Remove green/yellow color palette from pattern assembler (#40887)
* Remove green/yellow color palette from pattern assembler

* Remove Lemon Myrtle

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-10-25 11:34:55 +08:00
Nathan Silveira bc04234732
Fix checkbox not working when checkedValue is provided (#40979) 2023-10-25 00:29:53 -03:00
Corey McKrill 3444484126
Add file rotation number to sort sets 2023-10-24 17:15:17 -07:00
Corey McKrill 21a995bb50
Tweaks to page rendering methods 2023-10-24 17:02:18 -07:00
Corey McKrill 591c728ac3
Add unit tests for File class 2023-10-24 16:50:43 -07:00
Chris Runnells 5dc432382c Lint fixes. 2023-10-24 13:37:23 -10:00
Corey McKrill dcf4954fa8
Add unit tests for FileController 2023-10-24 16:00:52 -07:00
Chris Runnells f802def6e2 Add changelog. 2023-10-24 12:51:43 -10:00