Commit Graph

54320 Commits

Author SHA1 Message Date
Ilyas Foo b108e19a93
Try using iframe for loading assembler hub behind the scenes (#40936)
* Try using iframe for loading assembler behind the scenes

* Add css

* Lint

* Changelog

* Update plugins/woocommerce-admin/client/customize-store/design-with-ai/actions.ts

* Handle navigations around CYS if we're using iframe

* Add better loading handler

* Increase loader screen intervals

* Fix navigation

* Increase loader timeout to 30 seconds

* Much better loading detect from editor hook as suggested by Chi

* Unused import

* Lint css
2023-10-26 16:46:50 +08:00
nigeljamesstevenson 822e4cf227
System Status compatibility with the classic-shortcode block (#40948) 2023-10-26 08:21:42 +01:00
Chi-Hsuan Huang 7142f80534
Update CYS color palettes and fonts based on the new Dotcom release (#40989)
* Update font pairings

* Remove font loader check

* Update default fonts

* Update color palette choices

* Add changelog

* Add default color styles config

* Add comment

* Fix tests

* Fix test
2023-10-26 14:15:53 +08:00
Chi-Hsuan Huang cfc44be57b
Reduce CYS intro screen loading time (#41017)
* Redirect to customize your store task without a full-reload

* Add changelog
2023-10-26 14:13:18 +08:00
Fernando Marichal 898eb30f7e
[Single Variation] Add missing tracks events (#40996)
* Add note prop

* Add note for single variation

* Add event recording for generic toggle

* Add changelog

* Add parent_id to toggle event

* move logic inside recordProductEvent

* Modify postType
2023-10-26 00:45:53 -03:00
Chris Runnells 2639aba8a9
Update get_recommended_themes() to check filtered response for active themes (#40981) 2023-10-25 15:22:11 -10:00
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
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
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
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
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
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
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
Chris Runnells 5dc432382c Lint fixes. 2023-10-24 13:37:23 -10:00
Chris Runnells f802def6e2 Add changelog. 2023-10-24 12:51:43 -10:00
Chris Runnells 1c956e7ebc Update get_recommended_themes() to check filtered response for active themes 2023-10-24 12:21:35 -10:00
github-actions 947fd7cf90 Add changefile(s) from automation for the following project(s): woocommerce 2023-10-24 17:04:35 +00:00
Fernando Marichal abc476a005
Change variable product experiment name (#40769)
* Change experiment name

* Add changelog
2023-10-24 13:29:01 -03:00
RJ e01e6f8b2a
add: core profiler email marketing opt in (#40869)
* add: core profiler email marketing opt in

* tests

* changed mailchimp feature flag

* fix: made experiment name static

* lint
2023-10-24 17:07:26 +02:00
Néstor Soriano eafc87b453
Save the session data before proceeding with order payment (#40964)
* Save the session early before proceeding with order payment.

As part of the checkout process an order is created and the order id
is stored in a session variable right before requesting payment
processing to the appropriate payment gateway. Thus if the payment
fails and the user submits the order again, the order id will be
picked from the session so the existing order can be retrieved and
updated.

However if the payment process hangs (instead of returning an error)
and the request never finishes the session data will never actually
be sorted, and the next time the user submits the order a duplicate
of the first order will be created.

This commit simply does WC()->session->save_data() after the
WC()->session->set that stores the order id, so that the session is
effectively updated even if the request hangs.

* Add changelog file
2023-10-24 16:38:39 +02:00
github-actions e411ea9b41 Add changefile(s) from automation for the following project(s): woocommerce 2023-10-24 11:32:36 +00:00