Commit Graph

12061 Commits

Author SHA1 Message Date
WooCommerce Bot 4c38063c2b Delete changelog files for 41092 2023-11-02 17:30:58 +00:00
Chi-Hsuan Huang 493f4aaba3 Delete changelog files for 41152 2023-11-02 14:31:47 +08:00
Jonathan Lane 9572bf2a12
Fix e2e and api execution on daily runs (#41113)
* Increase a couple of timeouts

* Remove duplicate update to nightly

* Add changelog

* Install Playwright

* Handle Playwright setup

* Add in build name

* Add in check in e2e tests for daily run

* Reverse check

* Rookie mistake

* Use ternary operator instead

---------

Co-authored-by: Jon Lane <jon.lane@automattic.com>
2023-11-01 15:44:24 -07:00
Wacław Jacek 4423117dc9
Preload Jetpack data even without Jetpack plugin installed (#41092)
* Preload Jetpack data even without Jetpack plugin installed

Now that the Jetpack Connection package is a dependency
of WooCommerce, preload Jetpack data even when the Jetpack
plugin is not present.

Fixes #41070

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

* Fix lint issue

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Adrian Duffell <9312929+adrianduffell@users.noreply.github.com>
2023-11-01 13:18:51 -07:00
kevinbates ac76d8c4b8
Update readme.txt (#41167)
* Update readme.txt

Changed links from WooCommerce.com to Woo.com.

* Update reference to WooCommerce Marketplace.

* Swap `woocommerce.com` with `WooCommerce Marketplace`.

* Swap `WooCommerce.com`, replace with `Woo.com`.

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

---------

Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>
Co-authored-by: github-actions <github-actions@github.com>
2023-11-01 20:21:18 +01:00
Ron Rennick 36bb04c120
bump action/stale version, increase operations per run (#41139) 2023-11-01 14:32:13 -03:00
nigeljamesstevenson d61ff514c1
fix: core profiler email opt in validation (#41152) 2023-11-01 17:10:49 +00:00
Ilyas Foo 2a023910ef
Fix CYS transition screen iframe positioning (#41162)
* Fix iframe positioning

* Changelog

* Lint
2023-11-02 01:02:43 +08:00
Adrian Duffell 62a833e834
Update Pattern Thumbnail Shadow (#41157)
* Update pattern thumbnail shadow

* Remove whitespace

* Add changelog

* Remove specific container class

* Include new gutenberg class

* Add border for selected homepage option, lint

* Fix jumpy borders in pattern assembler menu items

---------

Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
2023-11-01 23:41:57 +08:00
Nathan Silveira 9850aef247
Change block default order to 10000 (#41100)
* Change block default order to 10000

* Update tests
2023-11-01 12:39:57 -03:00
Ron Rennick 408d6b7aee
Removed floating semi colon from info type setting control (#40839) 2023-11-01 10:27:11 -03:00
Brian Abelson cf141a63a3
Add `store_id` to WC_Tracker and Tracks (#40705)
* add store_id to WC_Tracker and Tracks; add blog_id to WC_Tracker

* update wc-install-test; add wc-tracks-test

* improved blog_id accessor and more tests

* attempt to mock

* spacing

* revert jetpack options changes

* linting fixes

* linting fixes

* rm blog_id test

* remove blog_id tests

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

* fixes after PR review

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

* update version

* fix linting error

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-11-01 08:51:21 -04:00
Mike Jolley d116b0a322
Update state definitions for Liechtenstein and Chile (#41068)
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Thomas Roberts <thomas.roberts@automattic.com>
2023-11-01 05:37:22 -07:00
Ilyas Foo 233bdfdec7
Fix cys remove scrollbar iframe in intro screen (#41156)
* Remove when viewing intro scrollbar

* Changelog
2023-11-01 20:16:22 +08:00
Chi-Hsuan Huang 3c839b04c0
Add SlotFill for custom buttons on Transitional Page (#41153)
* Enqueue scripts in translation page

* Add cys transitiona page secondary button slotfill

* Add changelog

* Fix slot

* Fix lint
2023-11-01 19:40:12 +08:00
Chi-Hsuan Huang f7012536cc
Fix CYS pattern thumbnail size (#41126)
* Fix pattern thumbnail size

* Add changelog and doc

* Remove unused import
2023-11-01 19:03:04 +08:00
Chi-Hsuan Huang 23e8324163
[CYS] Fix "Drag to resize" styling when spotlight tour is present (#41150)
* Add changelog

* Update "Drag to resize" styling when spotlight tour is present
2023-11-01 19:01:51 +08:00
Chi-Hsuan Huang 1ca93287ca
[CYS] Fix Spotlight Tour caret is not centered vertically (#41154)
* Fix CYS Spotlight Tour caret is not centered vertically

* Add changelog
2023-11-01 16:54:53 +08:00
Chi-Hsuan Huang 38d0081fab
[CYS] Add two more loading frames to loading sequence (#41148)
* Add more loaders

* Add changelog

* Change interval time
2023-11-01 15:42:36 +08:00
Moon 79138bf13c
CYS - Hide theme and default palettes (#41103)
* Hide theme and default palette

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

* Lint fix

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Adrian Duffell <9312929+adrianduffell@users.noreply.github.com>
2023-11-01 14:40:55 +08:00
rjchow 6ccef6d498 fix: stale error not cleared 2023-11-01 14:07:47 +08:00
Chi-Hsuan Huang 391aa15e79
[CYS] Remove disproportionate spacing above and below logo preview (#41151)
* Remove disproportionate spacing above and below logo

* Add changelog
2023-11-01 13:32:33 +08:00
rjchow 5468ce68b8 fix: core profiler email opt in validation 2023-11-01 12:42:16 +08:00
Chi-Hsuan Huang 75114728f0
[CYS] Reduce the logo preview to a maximum width of 250px (#41122)
* Reduce the logo preview to a maximum width of 60px

* Add changelog

* Set max height and width to 250px

60px was too small!

---------

Co-authored-by: Adrian Duffell <9312929+adrianduffell@users.noreply.github.com>
2023-11-01 12:34:54 +08:00
Chi-Hsuan Huang 2902cdee92
[CYS] Fix undefined query id warning (#41083)
* Fix Warning: Undefined array key "queryId"

* Add changelog

* Update trigger save button logo

* Update plugins/woocommerce-admin/client/customize-store/assembler-hub/sidebar/save-hub.tsx

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

---------

Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
2023-11-01 12:30:47 +08:00
Patricia Hillebrandt 1f625ca671
Store Customization > Replace the Just Arrived Full Hero pattern with the Hero Product Split pattern in the CYS flow (#41109)
* Use the Hero Product Split pattern as the initial one for all templates.

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

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Adrian Duffell <9312929+adrianduffell@users.noreply.github.com>
2023-11-01 08:41:30 +08:00
Ron Rennick fe582d6c97 bump action/stale version, increase operations per run 2023-10-31 14:36:20 -03:00
Maikel David Pérez Gómez 6b44a969d0
Add filters to Variation table (#40978)
* Create product variations filter component

* Add slug to the product and variation attributes
This is needed to be able to filter variations by specific attribute slugs

* Add support to filter variations by many attribute options

* Integrate attribute options filter in variations table

* Fix rebase conflicts

* Set initial filter values

* Improve intial filter values and cache invalidation

* Add changelog files

* Fix linter errors

* Fix unit tests

* Change the min amount of options to show the search input

* Fix invalid cache key generation for the datastore

* Fix unit tests

* Fix linter errors

* Fix js tests

* Add terms pagination for varition filters

* Load terms on demand plus pagination

* Show selected option names as the dropdown button toggle text

* Fix invalida state when reset and on close the popover

* Revert adding selected options as part of the dropdown toggle text

---------

Co-authored-by: Fernando Marichal <ultimoround@gmail.com>
2023-10-31 13:29:48 -04:00
Luigi Teschio 6fac8aeb50
Update WooCommerce Blocks to 11.4.3 (#41134) 2023-10-31 17:21:57 +01:00
nigeljamesstevenson 335284b31b
Delete changelog files based on PR 41050 (#41136) 2023-10-31 16:12:55 +00:00
Ilyas Foo 3d223040d1
Render site thumbnail in CYS intro screen (#41130)
* Try getting a site preview in the banner working.

* Change to use iframe instead

* Changelog

* Fix lint issues

---------

Co-authored-by: Chris Runnells <chris.runnells@automattic.com>
Co-authored-by: Adrian Duffell <9312929+adrianduffell@users.noreply.github.com>
2023-11-01 00:11:26 +08:00
WooCommerce Bot 1e98c8b2cc Delete changelog files for 41050 2023-10-31 16:06:49 +00:00
nigeljamesstevenson 430575d26e
Delete changelog files based on PR 40948 (#41039) 2023-10-31 15:44:47 +00:00
Chi-Hsuan Huang 1c4340608a
Fix intro page button styles (#41118)
* Fix intro page button style

* Add changelog
2023-10-31 22:05:18 +08:00
Chi-Hsuan Huang ef2fb598c4
[Customize your store] Fix default width for logo (#41080)
* Set default logo width when updating the template

* Set current logo width to the inserting patterns

* Add changelog

* Fix tests

* Apply logo width in use-patterns
2023-10-31 21:44:09 +08:00
Matt Sherman dabc34ed43
Template API: Add block template lifecycle documentation (#40980) 2023-10-31 09:41:44 -04:00
Chi-Hsuan Huang b9b45469b3
Update CYS AI loading screen (#41123)
* Update the CYS Design with AI loading iframes

* Add changelog
2023-10-31 21:09:21 +08:00
Moon 7ed46ad2fe
Add flags to control visibility of Header, StoreAlerts, Notices, and PluginsArea from a page (#41014)
* Disable header and footer on cys pages

* Support showNotices and showStoreAlerts to control Notices and StoreAlerts from the layout

* Disable Notices and StoreAlerts from CYS

* Support showPluginArea -- setting this value to false disables plugins

* Disable plugin area in cys

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-10-31 15:49:21 +08:00
Leif Singer 7e55cbd1d7
Fix legacy order data PHP 8 compatibility issue (#41094)
* add a failing test for setting shipping total to empty string (fails on PHP 8.x)

* make the WC_Tests_Order_Item_Product::test_get_item_shipping_total test pass

* add changelog file

* add some more explicit conversions to float where we add values and can't be sure it's not a string

* appease the linter

* set array_reduce's initial value to 0.0
2023-10-31 00:07:44 +01:00
jonathansadowski d27c3941ea
Allow print_r in beta tester logger (#41101) 2023-10-30 12:35:54 -05:00
jonathansadowski c0eed18c8d
Prepare Beta Tester 2.2.5 Release (#41099) 2023-10-30 11:57:35 -05:00
Chi-Hsuan Huang 6ecf096d1c
Fix intro warning modal copy and button spacing (#41082)
* Fix intro warning modal copy and button spacing

* Add changelog
2023-10-30 18:05:17 +08:00
Ilyas Foo 1070d02e6f
Fix CYS iframe not firing pushstate events (#41079)
* Call original pushstate from iframe

* Changelog
2023-10-30 15:53:06 +08:00
Dmytro 4601f0d259
Remove Creative Mail from WooCommerce defaults. (#40991) 2023-10-29 15:19:29 +02:00
github-actions debe7dc3ec Add changefile(s) from automation for the following project(s): woocommerce 2023-10-27 13:35:11 +00:00
Ilyas Foo 6805e5c5e6
Add fullscreen class to body when CYS component is shown (#41056)
* Add fullscreen class to body when CYS component is shown

* Changelog

* Update import and lint
2023-10-27 17:06:13 +08:00
Barry Hughes 9570483f2e
Legacy shortcodes: block editor compatibility (#40648)
* Load standard includes and template functions in REST API and some admin contexts.

This is primarily needed to support the use of legacy shortcodes within the block editor, as pre-rendering means the shortcodes will be invoked (and therefore any frontend/template functions the shortcode handler might call need to be available).

* Check session is available before accessing its methods from within shortcodes.

* Changelog.

* Coding standards (no assignment inside a conditional).

* Whitespace.

* Support testing if the request is of type 'rest-api'.

This preserves the accuracy of the 'frontend' definition. Additionally, having tightened that up, we explicitly include REST API requests as a condition in which we should load frontend includes (needed, to support quirks in terms of how the block editor does things—such as creating FE previews of blocks).

* `rest-api` is not used, and this is a private method so it is essentially dead-code.

* Return type clean-up for `wc_print_notices()`.
2023-10-27 08:30:31 +02:00
Moon d562fbdc5c
Fix CYS JS conflict error latest Gutenberg version (#41052)
* dequeue wpcom.editor on cys pages

* Add gutenberg_version to wcSettings.admin

* Use the new consent string for Gutenberg 16.9 and above

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

* Revert "dequeue wpcom.editor on cys pages"

This reverts commit 85c039c7dc.

* Update changelog

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

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

This reverts commit 4554626fde.

* Fix lint issues

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Adrian Duffell <9312929+adrianduffell@users.noreply.github.com>
2023-10-27 14:09:05 +08:00
Corey McKrill c305680792
Logging: Add a list table to browse log files (#40662)
Adds a new file browsing view for Logs and sets the stage for other UI improvements described in #40644. In this view, the list of log files can be sorted by several different parameters and also filtered by the log's "source" (which is essentially the prefix on the log's filename). It has the standard list table feature of being able to select multiple rows at once and perform a bulk action. In this case, the only bulk action is currently to delete files. Clicking on one of the files brings you to the single file view, which at this point is just the old log file view.

Fixes #40915
2023-10-26 18:04:36 -07:00
Corey McKrill 94ea31522f
Add an artful diagram about log file structure 2023-10-26 17:11:58 -07:00