Commit Graph

12604 Commits

Author SHA1 Message Date
Leif Singer 6ef64d5328 add back in woocommerce.com as a soon-to-be legacy check for the plugin URL 2023-11-10 15:49:08 +01:00
Leif Singer 96717cc3dc remove superfluous "here"
Co-authored-by: Corey McKrill <916023+coreymckrill@users.noreply.github.com>
2023-11-10 15:49:08 +01:00
Leif Singer 1c4215fd07 capitalize Woo.com when used in a sentence
Co-authored-by: Corey McKrill <916023+coreymckrill@users.noreply.github.com>
2023-11-10 15:49:08 +01:00
Leif Singer e4cae54e5a capitalize Woo.com when used in a sentence
Co-authored-by: Corey McKrill <916023+coreymckrill@users.noreply.github.com>
2023-11-10 15:49:08 +01:00
Leif Singer 8f901fa0e0 capitalize Woo.com when used in a sentence
Co-authored-by: Corey McKrill <916023+coreymckrill@users.noreply.github.com>
2023-11-10 15:49:08 +01:00
Leif Singer 1d052f2761 capitalize Woo.com when used in a sentence
Co-authored-by: Corey McKrill <916023+coreymckrill@users.noreply.github.com>
2023-11-10 15:49:08 +01:00
Leif Singer c788c8f9fa bump all edited templates to @version 8.4.0 2023-11-10 15:49:08 +01:00
Leif Singer 2ec041c9a0 bump template versions 2023-11-10 15:49:08 +01:00
Leif Singer 682ee2eba7 appease the linter 2023-11-10 15:49:08 +01:00
Leif Singer 0d344bf5d6 skip a test that is waiting for a fix from WooCommerce Blocks 2023-11-10 15:49:08 +01:00
Leif Singer caedd5ce91 fix linter findings in woocommerce 2023-11-10 15:49:08 +01:00
Leif Singer ab94bf8550 fix linter findings in woocommerce-admin 2023-11-10 15:49:08 +01:00
Leif Singer fb4da57966 more linter work 2023-11-10 15:49:08 +01:00
Leif Singer 075a520952 undo changes to test fixtures 2023-11-10 15:49:08 +01:00
Leif Singer 351d7f458b fix typo in test_wc_rest_urlencode_rfc3986 2023-11-10 15:49:08 +01:00
Leif Singer eb5a8a65f8 add changelog files 2023-11-10 15:49:08 +01:00
Leif Singer 9edad5270d appease the linter 2023-11-10 15:49:08 +01:00
Leif Singer 0d7a833056 exclude `woocommerce.com/wp-json` 2023-11-10 15:49:08 +01:00
Leif Singer 808a0fc54f update references to woocommerce.com to now reference woo.com 2023-11-10 15:49:08 +01:00
Almir Santos 17f6bd7df5 feature/39598: Remove blank space 2023-11-10 10:06:05 -03:00
Almir Santos 29b3d05cdf feature/39598: Update the filter hook, description and changelog 2023-11-10 10:05:13 -03:00
And Finally b7b6a78063 Merge branch 'trunk' into feature/marketplace-subscriptions 2023-11-10 10:12:31 +00:00
github-actions[bot] 67fc1ea195
Delete changelog files based on PR 41344 (#41357)
Delete changelog files for 41344

Co-authored-by: WooCommerce Bot <no-reply@woo.com>
2023-11-10 10:18:19 +01:00
github-actions[bot] d9cc02fade
Delete changelog files based on PR 41281 (#41355)
Delete changelog files for 41281

Co-authored-by: WooCommerce Bot <no-reply@woo.com>
2023-11-10 09:36:08 +01:00
Chi-Hsuan Huang 73692a3b9b
[CYS] Hide feedback button when survey has already been completed (#41352)
* Fix cys feedback button should not appear if it has already been completed

* Add changelog
2023-11-10 16:35:46 +08:00
Chi-Hsuan Huang 6af471d248
[CYS] Add more Tracks (#41321)
* Add more tracks for cys

* Add changelog

* Update track events
2023-11-10 14:51:00 +08:00
berislav grgičak 785b630dca
Fix subscription grouping (#41288)
* Hide install if not installable

* Refactor local data generation

* Add subscription installed flag

* Add connect support to not in use items

* Remove debug code

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

* Linter fixes

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

* Update plugins/woocommerce/includes/admin/helper/class-wc-helper.php

Co-authored-by: And Finally <andfinally@users.noreply.github.com>

* Update plugins/woocommerce/includes/admin/helper/class-wc-helper.php

Co-authored-by: And Finally <andfinally@users.noreply.github.com>

* Update plugins/woocommerce/includes/admin/helper/class-wc-helper.php

Co-authored-by: And Finally <andfinally@users.noreply.github.com>

* Update plugins/woocommerce/includes/admin/helper/class-wc-helper.php

Co-authored-by: And Finally <andfinally@users.noreply.github.com>

* Remove duplicate changelog

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: And Finally <andfinally@users.noreply.github.com>
2023-11-10 06:11:40 +01:00
Niels Lange d7eecf61ae
Style <mark> tag on order detail page (#41323) 2023-11-10 11:17:40 +07:00
Moon 6f818f7787
Clear payment suggestion cache when base country gets updated (#41344)
* Clear payment suggestion cache when base country gets updated

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-11-09 16:44:33 -08:00
James Allan 8db0df028f
Fix missing or duplicated order meta after post backport when meta value is an array (WC 8.2) (#41281)
* Compare a serialised version of the meta value when trying to find existing matching meta

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

* Add unit test

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Jorge Torres <jorge.torres@automattic.com>
2023-11-09 23:38:14 +00:00
Almir Santos 9a0d8ea5ce feature/39598: Create the filter to allow bypass the order-received logged user validation 2023-11-09 19:43:53 -03:00
github-actions 4c65ddaf01 Add changefile(s) from automation for the following project(s): woocommerce 2023-11-09 21:51:49 +00:00
Corey McKrill f91b4a0322
Logging: New, improved view for a single log file (#41114)
Fixes #41143
2023-11-09 12:42:19 -08:00
abelsonlive da5473afc1 initial commit 2023-11-09 15:04:13 -05:00
Nathan Silveira 7b0ef3db00
Move Template implementation classes to internal namespace (#41170)
* Move Template implementation classes to internal namespace

* Fix namespaces that were changed by mistake

* Add missing imports to files since they were moved to another namespace

* Adapt to new lint rules
2023-11-09 16:21:33 -03:00
Corey McKrill 4c60f62993
phpcs cleanup 2023-11-09 10:23:37 -08:00
Corey McKrill c30851fe1c
Go to file list after deleting file from single view 2023-11-09 10:23:37 -08:00
Corey McKrill fae98b0f5e
Update plugins/woocommerce/src/Internal/Admin/Logging/PageController.php
Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>
2023-11-09 10:23:37 -08:00
Corey McKrill 95d725f9b2
Update plugins/woocommerce/src/Internal/Admin/Logging/PageController.php
Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>
2023-11-09 10:23:37 -08:00
Corey McKrill 9e57211bdd
Simplify retrieval of severity levels 2023-11-09 10:23:36 -08:00
Corey McKrill 6551a5494d
Highlight the currently selected line 2023-11-09 10:23:36 -08:00
Corey McKrill c3d1e0243c
Adjust severity level colors to meet WCAG AAA requirements
In order to do this, but still have differentiated bright colors,
this changes it from a background color to a border color. Also tweaks
the border styles to make it look like a label icon.
2023-11-09 10:23:36 -08:00
Corey McKrill 8bfbcbdff0
Update plugins/woocommerce/client/legacy/css/admin.scss
Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>
2023-11-09 10:23:36 -08:00
github-actions 12919888d4
Add changefile(s) from automation for the following project(s): woocommerce 2023-11-09 10:23:36 -08:00
Corey McKrill d516492a74
Add a confirmation dialog for deleting the viewed file 2023-11-09 10:23:36 -08:00
Corey McKrill 99d8f1e3cc
Ensure list table screen options aren't registered for single file view 2023-11-09 10:23:36 -08:00
Corey McKrill ba12e14500
Add unit test for get_file_rotations, fix delete_files test 2023-11-09 10:23:35 -08:00
Corey McKrill 3dfbe2db47
Add more unit tests for File class 2023-11-09 10:23:35 -08:00
Corey McKrill 226e2649f7
Add delete button to single file view 2023-11-09 10:23:35 -08:00
Corey McKrill dbb07106e5
Add some padding to Logs screen headers 2023-11-09 10:23:35 -08:00
Corey McKrill 526ffd817a
Add unit tests for getting files by file ID 2023-11-09 10:23:35 -08:00
Corey McKrill 28f8da6fbc
Add assertions for get_file_id to File unit tests 2023-11-09 10:23:35 -08:00
Corey McKrill b3489a7af7
Add file rotation navigation 2023-11-09 10:23:35 -08:00
Corey McKrill 22343ba78d
Add a header wrapper element on log screen titles 2023-11-09 10:23:34 -08:00
Corey McKrill aee77a44cc
Revert to css line numbers so they arent selectable 2023-11-09 10:23:34 -08:00
Corey McKrill d439bb2b25
Remove unused styles 2023-11-09 10:23:34 -08:00
Corey McKrill db52e9da9e
Style tweaks 2023-11-09 10:23:34 -08:00
Corey McKrill 608652f362
Fix broken markup 2023-11-09 10:23:34 -08:00
Corey McKrill 321c9b8be4
Fix broken markup 2023-11-09 10:23:34 -08:00
Corey McKrill 7bb643377c
phpcs cleanup 2023-11-09 10:23:34 -08:00
Corey McKrill ee65fae397
Extra escaping 2023-11-09 10:23:33 -08:00
Corey McKrill 561ba9a61b
Remove test script 2023-11-09 10:23:33 -08:00
Corey McKrill b63075d67f
Make log lines selectable, retain anchor 2023-11-09 10:23:33 -08:00
Corey McKrill 0c5689d683
Render log file lines in single file view 2023-11-09 10:23:33 -08:00
Corey McKrill 51f7e70127
Refactor File to use wp_filesystem, add stream method 2023-11-09 10:23:33 -08:00
Corey McKrill e914b9a2d5
Scaffold the single file view 2023-11-09 10:23:33 -08:00
Corey McKrill 7ecb9dfaee
Improve file path validation 2023-11-09 10:23:33 -08:00
Corey McKrill 2fe04da8f4
Don't use full log file names in the UI 2023-11-09 10:23:32 -08:00
Jorge A. Torres daaab7acc8
Render customers filter on HPOS list table on hook `woocommerce_order_list_table_restrict_manage_orders` (#41328)
* Render `customers_filter()` on hook `woocommerce_order_list_table_restrict_manage_orders` for backwards compat

* Add changelog
2023-11-09 15:48:11 +01:00
louwie17 65234c4590
Remove unused large banner image (#41244)
* Remove unused banner image

* Add changelog
2023-11-09 09:43:10 -04:00
Maikel David Pérez Gómez e5b1ee338e
Update the select all behavior in the variations table (#41008)
* We display the number of selected items, e.g., '5 selected'

* We display a number of all existing items next to the button, e.g., "Select all (25)".

* When only some items are selected on the page, we show an additional button that says "Select page (X)" where X stands for the number of rows on the page. Clicking it selects all rows on the page.

* Clicking "Select all" selects all existing items

* Add changelog file

* Add tracking events

* Saving progress on variations table

* Manage tracking events and error handling

* Hide edition features when at least one variation is selected

* Fix linter errors

* Resolve rebase conflicts

* Remove use selection hook since is not needed anymore

* Fix filter items vertical alignment

* Add changelog files

* Fix inconsistent loading and variations state

* Do not show EmptyTableState when the product has variations but the filter get empty list

* Invalidate cache state before generating variations

* Fix select all after filtering variations

* Remove delete variations from the selection list

* Retreive the product after generating variations

* Fix linter

* Invalidate variations cache after generating variations
2023-11-09 08:25:27 -05:00
github-actions 13c4235738 Add changefile(s) from automation for the following project(s): woocommerce 2023-11-09 09:46:08 +00:00
Niels Lange eeb2b8ba07
Style <mark> tag on order page 2023-11-09 15:44:55 +07:00
Néstor Soriano 7b71803e95
Add changelog file 2023-11-09 09:21:28 +01:00
Nestor Soriano 17d1aa11a2
Fix typographic quotes used in HTML attributes 2023-11-09 09:15:19 +01:00
Moon 670e2c0669
Remove use of SQL_CALC_FOUND_ROWS in low stock query (#40289)
* Separate count query

* Fix total_results var

* Add count-low-in-stock endpoint

* Use new count-low-in-stock endpoint

* Fix inconsistent in function names

* Type cast to int

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

* Fix spelling

* Separate count query function

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

* Use get_count_query

* Use count-low-in-stock endpoint

* Remove condition where it only updates product count when there is less than 2 items -- no longer needed as we are using a new endpoint to count the products

* Fix spelling

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

* Lint fixes

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-11-09 12:49:50 +08:00
Chi-Hsuan Huang 65e533bedd
[CYS] Add track events (#41284)
* Add tracks for cys

* Update assignStartLoadingTime entry

* Add changelog

* Fix types

* Fix redundant wcadmin track name

* Track "Start again" button instead
2023-11-09 09:32:47 +08:00
Mike Jolley e0a4ee82c1
Update WooCommerce Blocks package to 11.5.3 (#41269)
* Bump version in composer.json

* Update lock files

* changelog

* ensure the properties exist before accessing them

* add changelog file

* skip a test that is waiting for a fix from WooCommerce Blocks

* appease the linter

* remove commented out code

* use `empty` instead of `property_exists`

Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>

* Update WooCommerce Blocks package to 11.5.1

* Update WooCommerce Blocks package to 11.5.2

* Undo test removal

* bump to woocommerce blocks 11.5.3

---------

Co-authored-by: Paulo Arromba <17236129+wavvves@users.noreply.github.com>
Co-authored-by: Leif Singer <git@singer.sh>
Co-authored-by: Leif Singer <leif@automattic.com>
Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>
Co-authored-by: Albert Juhé Lluveras <contact@albertjuhe.com>
Co-authored-by: Luigi <gigitux@gmail.com>
2023-11-08 17:19:21 -06:00
nigeljamesstevenson 3befeb4b2d
Add hooks to customize the behavior of the cart shipping calculator (#41146) 2023-11-08 23:14:44 +00:00
nigeljamesstevenson d167337a1f
Fix "Choose Your Theme" task header (#41293) 2023-11-08 23:14:28 +00:00
Jonathan Lane bfa64a7d42
Improve e2e test stability (#41315)
* Clean up created pages and posts

* Move tax tests so that they run last

* Improve locators

* Changelog

* Improve locators

* Improve locator on heading

* Change assertions to look for alert text

* Change assertion to look for text

* Update locators

* Update locator

---------

Co-authored-by: Jon Lane <jon.lane@automattic.com>
2023-11-08 16:50:33 -06:00
github-actions[bot] ca8df97906
Delete changelog files based on PR 41205 (#41311)
Delete changelog files for 41205

Co-authored-by: WooCommerce Bot <no-reply@woo.com>
2023-11-08 21:35:21 +01:00
Jorge A. Torres ba43dce533
Fix warning when order edit lock is released mid page load (#41278) 2023-11-08 16:12:55 +01:00
Juan de Paco Moreno b608d0e79e
Fix imported variations count on batched import. (#41187)
Co-authored-by: Juan de Paco <juan.d@onthegosystems.com>
2023-11-08 16:11:57 +01:00
Chi-Hsuan Huang 3655a39238 Add changelog 2023-11-08 20:49:09 +08:00
Chi-Hsuan Huang dbcf1202cd Fix "Choose Your Theme" task header 2023-11-08 20:48:56 +08:00
berislav grgičak f30426e261
Merge branch 'trunk' into feature/marketplace-subscriptions 2023-11-08 13:19:32 +01:00
Luigi Teschio 762f6847e5
WooCommerce Beta Tester - CYS: implement removing patterns_ai_data post type (#41285)
* WooCommerce Beta Tester - CSY: implement removing patterns_ai_data post type

* add changelog

* Update changelog
2023-11-08 12:07:30 +01:00
Cem Ünalan 4b97e3e9c9
Marketplace: table design updates (#41066)
* Marketplace: table design updates

* Marketplace: address PR feedback

- Added enum for status levels
- Fixed color for the table rows
- Used ADMIN_URL for referencing plugins page
-

* Marketplace: Update WooCommerce.com references to Woo.com

Co-authored-by: And Finally <andfinally@users.noreply.github.com>

* Marketplace: fix how status badges look on narrower screens

---------

Co-authored-by: And Finally <andfinally@users.noreply.github.com>
2023-11-08 13:26:44 +03:00
Moon 54a00b282a
CYS - make the progress bar move forward in small segments (#41279)
* Add 2 additional steps between the loader steps

* Support onChange callback

* Add loader progress transition

* Add smooth transition story

* Set the initial percentage to 5 to make the transition smoother

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

* Add smooth-transition class to the progressbar

* Fix lint

* Update AssembleHubLoader

* Fix e2e

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
2023-11-08 16:50:15 +08:00
Daniel W. Robert d83c7f30f7
Rename Centered Header Menu with Search pattern (#41252)
* Rename Centered Header Menu with Search pattern

Since the search bar has been removed from this pattern, this PR renames
the pattern title and slug to reflect that change.

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-11-08 11:24:47 +08:00
Chi-Hsuan Huang f835237a2d
[CYS] Fix navigation disappears after choosing a homepage template (#41262)
* Add changelog

* Fix navigation disappears after choosing a homepage template
2023-11-08 10:48:38 +08:00
Panos (Panagiotis) Synetos deaecfdc6a
Merge branch 'trunk' into add/wooexpress-rin-rule 2023-11-07 18:48:48 +02:00
github-actions[bot] 5a027dcff4
Delete changelog files based on PR 41247 (#41271)
Delete changelog files for 41247

Co-authored-by: WooCommerce Bot <no-reply@woo.com>
2023-11-07 16:07:42 +01:00
Barry Hughes 2ef74bff5e
Avoid a type error when performing an `array_sum()` under PHP 8.3. (#41205)
* Avoid a type error when performing an `array_sum()` under PHP 8.3.

* avoid short array syntax (linter)

---------

Co-authored-by: Leif Singer <git@singer.sh>
2023-11-07 15:59:24 +01:00
Matt Sherman 9d8590ba53
WCA Test Helper: Product Editor Dev Tools (#41043) 2023-11-07 09:23:11 -05:00
Panos (Panagiotis) Synetos 37f2f7de7e
Merge branch 'trunk' into add/wooexpress-rin-rule 2023-11-07 14:13:07 +02:00
nigeljamesstevenson 3568e6f7a9
Revert "k6 perf tests: Fix parsing of COT/HPOS environment variable" 2023-11-07 11:29:35 +00:00
Chi-Hsuan Huang 2ec666fd73
[CYS] Show warning modal when clicking this back arrow in assembler hub (#41259)
* Add go back warning modal to assembler-hub

* Add changelog

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

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

---------

Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
2023-11-07 17:37:17 +08:00
Adrian Duffell 9252e5a320
Add Customize Your Store AI Survey (#41234)
* Add Customize Your Store AI Survey

* Add rating required field validation

* Move survey state to layout component

* Add changelog

* Update style

* Enable notice

* Update plugins/woocommerce-admin/client/customize-store/transitional/style.scss

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

* Update plugins/woocommerce-admin/client/customize-store/transitional/survey-form/index.tsx

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

* Update plugins/woocommerce-admin/client/customize-store/transitional/survey-form/index.tsx

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

* Fix lint

---------

Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
2023-11-07 17:34:20 +08:00
berislav grgičak 154c69c2d5
My subscriptions error notices (#41124)
* Marketplace: Populate the table rows with components

* Marketplace: add links to dropdown menu and fix fallback product icons

* Marketplace: fix popover width

* Add My subscriptions install (#40630)

* Marketplace: add plugin install from the subscriptions page

Co-authored-by: berislav grgičak <berislav.grgicak@gmail.com>

* Marketplace: Use the activation function to show install button

---------

Co-authored-by: raicem <unalancem@gmail.com>

* Add WP updates script to the extensions page

* Add update button

* Add update data to subscriptions

* Update plugins

* Prevent update if license unavailable

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

* Remove all data from API

* Linter fixes

* Linter fixes

* Remove merge string

* Update link style

* Add comment for updates.js

* Prevent updates if required data is missing

* Return removed slug code

* Add renew modal

* Update install to run until new data loaded

* Add activate modal

* Add connect modal

* Add renew button

* Renewal button

* Rename activate to connect

* Add subscribe button

* Add action buttons

* Remove unused const

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

* Switch to WP installer

* Use WP installer

* Remove install endpoint

* Fix php warning

* Add download_link if subscription exists

* My subscriptions action modals (#40934)

* Add renew modal

* Update install to run until new data loaded

* Add activate modal

* Add connect modal

* Add renew button

* Renewal button

* Rename activate to connect

* Add subscribe button

* Add action buttons

* Remove unused const

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

* Update plugins/woocommerce-admin/client/marketplace/components/my-subscriptions/my-subscriptions.scss

Co-authored-by: And Finally <andfinally@users.noreply.github.com>

* Update import path

---------

Co-authored-by: And Finally <andfinally@users.noreply.github.com>
Co-authored-by: github-actions <github-actions@github.com>

* Use product slugs for installing

* Add store for installing state

* Add theme install support

* Product activate endpoint

* Activate after install

* PHP warning

* Update context

* Debugging

* Install context

* Linter

* Simplify context

* Use Redux instead of context

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

* Replace ~ with relative paths

* Add error notices

* Move update to functions

* Add notice store

* Fix linter errors

* Remove temp file

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

* Don't autoremove notices

* Add status to notices

* Send just required path field

* Subvscribe hover color

* Css linter fix

* Fix error notice style

* Update manage button text

* Linter fixes

---------

Co-authored-by: raicem <unalancem@gmail.com>
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: And Finally <andfinally@users.noreply.github.com>
2023-11-07 09:21:12 +01:00
Chi-Hsuan Huang 8d80436d45
[CYS] Fix frame overlap sidebar (#41237)
* Fix frame overlap the sidebar

* Add changelog

* Update
2023-11-07 10:15:24 +08:00
Chi-Hsuan Huang 14de97f03d
[CYS] Copy changes (#41235)
* Update copy for CYS

* Add changelog
2023-11-07 09:28:56 +08:00
Matt Sherman ad65099e42 Changelog 2023-11-06 16:07:41 -05:00
Matt Sherman ba53c9d828 Improve UX of expression add button 2023-11-06 15:58:44 -05:00
Matt Sherman feec1c75a0 Remove unused CSS 2023-11-06 15:51:55 -05:00
Matt Sherman 1a2bbc03ed Use custom properties for CSS 2023-11-06 15:49:59 -05:00
Corey McKrill 5420e84663
Update woocommerce.com email addresses to woo.com (#41245) 2023-11-06 12:12:15 -08:00
Corey McKrill 6fde44fe85
Logging: Add missing script exit after redirect (#41201)
Prevents a fatal error that could occur if you submitted the bulk edit form on the Logs list table without selecting any log files first.

Fixes #41197
2023-11-06 12:11:34 -08:00
Matt Sherman 84ec068dbb Use core/block-editor store to get selected block info 2023-11-06 15:11:04 -05:00
Matt Sherman 8dc2cdce5a Update tab button hover style 2023-11-06 15:11:04 -05:00
Matt Sherman 3a449c2c93 Rename components 2023-11-06 15:11:04 -05:00
Matt Sherman 10057b0d81 Fix scrolling of expressions 2023-11-06 15:11:04 -05:00
Matt Sherman 5727281493 Visually hide tabs when not selected, to keep state 2023-11-06 15:11:04 -05:00
Matt Sherman 1c40d2e892 Handle syntax error 2023-11-06 15:11:04 -05:00
Matt Sherman 140e61ed26 Tweak expression textarea style 2023-11-06 15:11:04 -05:00
Matt Sherman 22c0424cb7 Add Product tab to dev tools 2023-11-06 15:11:04 -05:00
Matt Sherman b0251b1484 Add @woocommerce/expression-evaluation dependency 2023-11-06 15:11:04 -05:00
Matt Sherman b110356263 Add order to menu item 2023-11-06 15:11:04 -05:00
Matt Sherman ed2f32f278 Help panel 2023-11-06 15:11:04 -05:00
Matt Sherman 837f7b05eb Update colors 2023-11-06 15:11:04 -05:00
Matt Sherman 2975c04269 Tab buttons styling 2023-11-06 15:11:04 -05:00
Matt Sherman d2ff3d3615 Fix scrolling and height of dev tools bar 2023-11-06 15:11:03 -05:00
Matt Sherman 63c629b14d Handle when no block was focused 2023-11-06 15:11:03 -05:00
Matt Sherman cbda698e08 Move useFocusedBlock to dev tools bar 2023-11-06 15:11:03 -05:00
Matt Sherman a2fb19c6ae Extract useFocusedBlock hook 2023-11-06 15:11:03 -05:00
Matt Sherman 49cba8d5ba Style updates, and limit focus tracking to product editor wrapper 2023-11-06 15:11:03 -05:00
Matt Sherman 65e0208073 Initial styling 2023-11-06 15:11:03 -05:00
Matt Sherman b0ce2b5723 Hook up menu 2023-11-06 15:11:03 -05:00
Matt Sherman 2457946161 Initial block inspector panel 2023-11-06 15:11:03 -05:00
Matt Sherman 8af0105e0d Add @woocommerce/admin-layout dependency 2023-11-06 15:11:03 -05:00
Matt Sherman a6ec8d4195 Start hooking up focus handler 2023-11-06 15:11:03 -05:00
Matt Sherman e44751fac5 Refactor menu item components 2023-11-06 15:11:03 -05:00
Matt Sherman 77617ae974 Initial menu skeleton 2023-11-06 15:11:03 -05:00
Matt Sherman 09bb2183fb Update dependencies 2023-11-06 15:11:03 -05:00
Matt Sherman 5bc52ca2eb Add @wordpress/icons dependency 2023-11-06 15:11:03 -05:00
Matt Sherman e1978d04b2 Add @woocommerce/product-editor dependency 2023-11-06 15:11:03 -05:00
Nathan Silveira 2a30735b28
[Product Block Editor] Show onboarding tour within description block editor (#41161)
* Copy WelcomeGuide from gutenberg

* Remove CSS copied from guide component since it's not influencing the product Welcome Guide and it's interfering with the block editor welcome guide

* Fix issue with box-sizing

* Fix lint issues

* Show guide only when modal is open

* Add changelog

* Remove template and fix issue with component not re-rendering

* Add comment

* Add additional changelog

* Rename component
2023-11-06 16:38:33 -03:00
nigeljamesstevenson cd838e3742
update api-core-tests to work on daily site and localhost/CI (#41222)
* update api-core-tests to work on daily site

* changelog

* changlog update
2023-11-06 11:35:03 -08:00
github-actions 3b945dbd6d
Add changefile(s) from automation for the following project(s): woocommerce 2023-11-06 11:07:52 -08:00
Corey McKrill 791f5db5b4
Logging: Add missing script exit after redirect
Prevents a fatal error that could occur if you submitted the bulk
edit form on the Logs list table without selecting any log files first.

Fixes #41197
2023-11-06 11:07:52 -08:00
louwie17 dfc2f70f46
Shrink large banner image (#41247)
* Shrink intro banner image in customize store

* Add changelog
2023-11-06 11:07:23 -04:00
Néstor Soriano f098a116e1
Add the wc_allow_changing_orders_storage_while_sync_is_pending filter (#39988)
* Add the wc_allow_changing_orders_storage_while_sync_is_pending filter

For HPOS the idea is to disallow changing the authoritative data
source for orders (new tables <--> posts table) while there are orders
pending synchronization, since this can lead to data loss. However,
while this was indeed disallowed in the features UI, it was still
possible to manually change the value of the corresponding option
(via "wp option" command); there was code in place to prevent this
(by throwing an exception) but it had been commented out to ease
testing during the development of the feature.

This commit restores that commented out code, so in principle,
trying to change value of the option while there are orders pending
synchronization will throw an exception. BUT a filter is introduced,
wc_allow_changing_orders_storage_while_sync_is_pending, to allow
bypassing this behavior: the filter returns "false" by default, but
if it returns "true", changing the option will never throw an
exception. This is needed for a few of the existing unit tests,
but otherwise it should never be done (and the filter is documented
as such).

Additionally, if the filter returns "true" it will be possible to
change the value of the option in the features UI; but a warning
message will be shown in red if there are orders pending sync.

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

* Fix code inadvertently duplicated when merging from trunk.

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

* Fixes after manually undoing merge conflicts

* Fix linting issue

* Fix unit tests

* Fixed a bug that allowed changing the authoritative table from wp cli
even with orders pending synchronization

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

* Fix some more unit tests

* Delete duplicated changelog file

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-11-06 14:55:15 +00:00
nigeljamesstevenson 50c56d8427
k6 perf tests: Fix parsing of COT/HPOS environment variable (#40930) 2023-11-06 14:54:13 +00:00
Leif Singer 6cf13eb967 add changelog file 2023-11-06 14:21:12 +01:00
Leif Singer 7394e8344f update woocommerce.com email addresses to woo.com 2023-11-06 14:06:54 +01:00
Panos (Panagiotis) Synetos 8df23888b8
Renamed is_wooexpress to is_woo_express and updated readme 2023-11-06 14:50:29 +02:00
Panos (Panagiotis) Synetos 53d7388269
Merge branch 'trunk' into add/wooexpress-rin-rule 2023-11-06 14:46:53 +02:00
Panos (Panagiotis) Synetos 15da9903d4
Cleanup references to is_ecommerce 2023-11-06 13:19:33 +02:00
Luigi Teschio cbc3bac88c
Fix pattern route performance (#41168)
* fix pattern route performance

* Fetch multiple endpoints

* update namespace

* update business description

* fix payload

* remove eslint comment

* add changelog

* update interval of the loading frames
2023-11-06 18:51:11 +08:00
berislav grgičak 19df04921e
Update/my subscriptions wp installer (#40990)
* Marketplace: Populate the table rows with components

* Marketplace: add links to dropdown menu and fix fallback product icons

* Marketplace: fix popover width

* Add My subscriptions install (#40630)

* Marketplace: add plugin install from the subscriptions page

Co-authored-by: berislav grgičak <berislav.grgicak@gmail.com>

* Marketplace: Use the activation function to show install button

---------

Co-authored-by: raicem <unalancem@gmail.com>

* Add WP updates script to the extensions page

* Add update button

* Add update data to subscriptions

* Update plugins

* Prevent update if license unavailable

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

* Remove all data from API

* Linter fixes

* Linter fixes

* Remove merge string

* Update link style

* Add comment for updates.js

* Prevent updates if required data is missing

* Return removed slug code

* Add renew modal

* Update install to run until new data loaded

* Add activate modal

* Add connect modal

* Add renew button

* Renewal button

* Rename activate to connect

* Add subscribe button

* Add action buttons

* Remove unused const

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

* Switch to WP installer

* Use WP installer

* Remove install endpoint

* Fix php warning

* Add download_link if subscription exists

* My subscriptions action modals (#40934)

* Add renew modal

* Update install to run until new data loaded

* Add activate modal

* Add connect modal

* Add renew button

* Renewal button

* Rename activate to connect

* Add subscribe button

* Add action buttons

* Remove unused const

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

* Update plugins/woocommerce-admin/client/marketplace/components/my-subscriptions/my-subscriptions.scss

Co-authored-by: And Finally <andfinally@users.noreply.github.com>

* Update import path

---------

Co-authored-by: And Finally <andfinally@users.noreply.github.com>
Co-authored-by: github-actions <github-actions@github.com>

* Use product slugs for installing

* Add store for installing state

* Add theme install support

* Product activate endpoint

* Activate after install

* PHP warning

* Update context

* Debugging

* Install context

* Linter

* Simplify context

* Use Redux instead of context

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

* Replace ~ with relative paths

* Remove unnecessary is_null check

---------

Co-authored-by: raicem <unalancem@gmail.com>
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: And Finally <andfinally@users.noreply.github.com>
2023-11-06 09:35:43 +01:00
Kyle Nel b62fc16aa3
Change woocommerce.com URLs to woo.com in marketplace (#41127)
Change woocommerce.com to woo.com
2023-11-06 10:15:34 +02:00
Chi-Hsuan Huang 5f819cc40e
Fix CYS initial pattern population bug (#41233)
* Fix CYS initial pattern population bug

* Add changelog
2023-11-06 15:46:28 +08:00
Eason 0e3b04ac35
Avoid the PHP error with an undefined property on the WooCommerce > Extensions page (#41125)
* Avoid the PHP error with an undefined property on the WooCommerce > Extensions page.

* Add changelog
2023-11-06 14:38:27 +08:00
Barry Hughes 06708f5851 Changelog should be 'minor', not 'patch'. 2023-11-03 12:56:07 -07:00
Barry Hughes 0a3ca8a0dc Break apart conditions relating to postcode-requirements for the shipping calc.
Co-authored-by: Corey McKrill <916023+coreymckrill@users.noreply.github.com>
2023-11-03 12:56:07 -07:00
Barry Hughes 4b524c4cbd Break apart conditions relating to state-requirements for the shipping calc.
Co-authored-by: Corey McKrill <916023+coreymckrill@users.noreply.github.com>
2023-11-03 12:56:07 -07:00
barryhughes 0cfda2cee2 Update `@since` tags, reformat hook docblocks. 2023-11-03 12:56:07 -07:00
barryhughes 9b507a55a7 Changelog. 2023-11-03 12:56:07 -07:00
Marco Almeida a8e663095f Update plugins/woocommerce/includes/class-wc-cart.php
Co-authored-by: Vedanshu Jain <vedanshu.jain.2012@gmail.com>
2023-11-03 12:56:07 -07:00
Marco Almeida 8c7bb72910 Update plugins/woocommerce/includes/class-wc-cart.php
Co-authored-by: Vedanshu Jain <vedanshu.jain.2012@gmail.com>
2023-11-03 12:56:07 -07:00
Marco Almeida 350e703704 Allow removing postcode and state from calculator even if required
Allow removing postcode and state fields from the shipping calculator, if they're not needed for calculation, even if they're required at the checkout.
Fixes #28393
2023-11-03 12:56:07 -07:00
Ron Rennick c87551b6c0 Merge branch 'trunk' into oginomizuho-patch-1 2023-11-03 16:26:11 -03:00
Ron Rennick 3beb6e6de3 update another tax class sanitization 2023-11-03 16:11:58 -03:00
Ron Rennick 335aa30c2a Merge branch 'trunk' into patch-1 2023-11-03 13:50:40 -03:00
Jonathan Lane 6ff4b13b63
Add tests for tax display for the shopper (#40178)
* Add tests for tax display for the shopper

* Add changelog

* Renamed .spec file

* Fixes for re-testability

* Fix a locator problem

---------

Co-authored-by: Jon Lane <jon.lane@automattic.com>
2023-11-03 09:14:27 -07:00
Panos (Panagiotis) Synetos f97804e4bf
Code review 2023-11-03 17:23:02 +02:00
Ron Rennick f4b6139974
Add stalebot schedules to allow processing of all issues (#41198) 2023-11-03 11:01:12 -03:00
Ron Rennick 184f7dfbb4
Prevent warning on wc_get_product_variation_attributes (#32288) 2023-11-03 10:26:27 -03:00
Ron Rennick aa19b8913d Merge branch 'trunk' into add/stalebot-schedules 2023-11-03 10:24:47 -03:00
Gan Eng Chin eac4258baa
Allow null in multichannel campaign. (#41180) 2023-11-03 21:17:16 +08:00
Gan Eng Chin 9a3c66aca4
Merge branch 'trunk' into fix/null-allowed-in-multichannel-campaign 2023-11-03 20:18:08 +08:00
Gan Eng Chin 56712b3568
Merge branch 'trunk' into fix/marketing-campaign-link 2023-11-03 20:15:39 +08:00
nigeljamesstevenson a07f35c384
Revert "Branch to test sadow pr 41200" 2023-11-03 11:40:55 +00:00
nigeljamesstevenson 3966d44644
Fix save button is still disabled after changing logo settings (#41208) 2023-11-03 11:28:21 +00:00
nigeljamesstevenson 457da86ef7
Rename the reference to the 'Footer with Simple Menu and Cart' pattern (#41181) 2023-11-03 11:28:03 +00:00
nigeljamesstevenson 99e81720c3
Fix CYS UI bugs - Nov 3 (#41209) 2023-11-03 11:27:05 +00:00
nigeljamesstevenson b5dac6e910 change to test PR 2023-11-03 11:18:05 +00:00
nigeljamesstevenson b13234d34b commit for test PR 2023-11-03 11:14:43 +00:00
Adrian Duffell 5819fe476d Merge branch 'trunk' into fix/logo-on-change 2023-11-03 18:27:42 +08:00
Adrian Duffell ec9ead9b1a Merge branch 'trunk' into fix/cys-ui 2023-11-03 18:25:48 +08:00
Alba Rincón 26990b711e Merge branch 'trunk' into rename-footer-pattern 2023-11-03 11:17:59 +01:00
Chi-Hsuan Huang 9a702eab4f Expand the custom color panel when the user has set a custom color palette 2023-11-03 15:49:46 +08:00
Chi-Hsuan Huang ef53ebaf16 Add changelog 2023-11-03 15:32:43 +08:00
Chi-Hsuan Huang 5ece22111a Fix button's background doesn't change 2023-11-03 15:32:42 +08:00
Chi-Hsuan Huang 415fa2004a Fix color panel style 2023-11-03 14:04:49 +08:00
Chi-Hsuan Huang 54d3394ac4 Fix cys frame zooming in/out while moving mouse over 2023-11-03 13:57:41 +08:00
Chi-Hsuan Huang d2cd2ff35a Update offset 2023-11-03 13:40:25 +08:00
Chi-Hsuan Huang 14e37229a5 Fix resizer handler bar style and position 2023-11-03 13:39:04 +08:00
Chi-Hsuan Huang 3126722ab8 Add changelog 2023-11-03 13:19:36 +08:00
Chi-Hsuan Huang ca0736340e Fix onchange logic 2023-11-03 13:08:09 +08:00
github-actions 56429a44f7 Add changefile(s) from automation for the following project(s): woocommerce 2023-11-03 03:40:07 +00:00
Alba Rincón ce94ce2328 Rename the reference to the 'Footer with Simple Menu and Cart'
The pattern was rename to 'Footer with Simple Menu' in the woocommerce-blocks repo so we need to update the reference here as well
2023-11-03 11:36:33 +08:00
Jon Lane 2dd12a1bd3 Changelog 2023-11-02 17:55:58 -07:00
Jon Lane 20fee838be Don’t include conditionally 2023-11-02 17:55:26 -07:00
Ron Rennick e695f42e85 Add stalebot schedules to allow processing of all issues 2023-11-02 15:42:26 -03:00
WooCommerce Bot 4c38063c2b Delete changelog files for 41092 2023-11-02 17:30:58 +00:00
Gan Eng Chin cb135df890
Null check on campaign.cost. 2023-11-02 22:19:03 +08:00
Gan Eng Chin 86b6a381a3
Add type for campaign cost.
Campaign cost can be null. See 408d6b7aee/plugins/woocommerce/src/Admin/Marketing/MarketingCampaign.php (L58).
2023-11-02 22:16:41 +08:00
Gan Eng Chin 369da23369
Remove duplicated changelog. 2023-11-02 21:48:18 +08:00
github-actions 7f4fb21009 Add changefile(s) from automation for the following project(s): woocommerce 2023-11-02 13:47:14 +00:00
Gan Eng Chin a012644861
Remove duplicated changelog. 2023-11-02 21:46:49 +08:00
Gan Eng Chin b12f0e0aa8
Use Link component and set type based on manageUrl. 2023-11-02 21:38:43 +08:00
Panos (Panagiotis) Synetos 33d37275b3
Merge branch 'trunk' into add/wooexpress-rin-rule 2023-11-02 13:10:57 +02:00
Panos (Panagiotis) Synetos c6e45d0c01
Add changelog 2023-11-02 13:10:35 +02:00
github-actions ca411ef4c9 Add changefile(s) from automation for the following project(s): woocommerce 2023-11-02 10:50:24 +00:00
github-actions 445e87ab16 Add changefile(s) from automation for the following project(s): woocommerce 2023-11-02 10:26:38 +00:00
Gan Eng Chin 2cf12563c7
Use normal anchor link instead of WooCommerce Link component.
Apparently Link with type wp-admin is the same as normal anchor link anyway, there is no special code handling for wp-admin. So we might as well just use the normal link, and remove the dependency on Link.
2023-11-02 17:48:00 +08:00
Gan Eng Chin 3e65d941d1
Change link type to wp-admin in marketing campaign listing.
This is because not all `manageUrl` pages are wc-admin pages, e.g. MailPoet.
2023-11-02 17:34:46 +08:00
Bartosz Budzanowski d447ea2093 Add changelog file. 2023-11-02 09:51:14 +01:00
Bartosz Budzanowski 6e0e224196 Allow null in multichannel campaign. 2023-11-02 09:28:39 +01: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
Rodel Calasagsag b71de82e30 Revert "Add closing header tag"
This reverts commit c7a644c7d8.
2023-10-31 17:25:27 +08:00
Rodel Calasagsag c7a644c7d8 Add closing header tag 2023-10-31 16:58:30 +08:00
Rodel Calasagsag e5a9b21a61 Remove redundant comments 2023-10-31 15:58:16 +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
berislav grgičak 53c4fe6afb
My subscription product updates (#40752)
* Marketplace: Populate the table rows with components

* Marketplace: add links to dropdown menu and fix fallback product icons

* Marketplace: fix popover width

* Add My subscriptions install (#40630)

* Marketplace: add plugin install from the subscriptions page

Co-authored-by: berislav grgičak <berislav.grgicak@gmail.com>

* Marketplace: Use the activation function to show install button

---------

Co-authored-by: raicem <unalancem@gmail.com>

* Add WP updates script to the extensions page

* Add update button

* Add update data to subscriptions

* Update plugins

* Prevent update if license unavailable

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

* Remove all data from API

* Linter fixes

* Linter fixes

* Remove merge string

* Update link style

* Add comment for updates.js

* Prevent updates if required data is missing

* Return removed slug code

* My subscriptions action modals (#40934)

* Add renew modal

* Update install to run until new data loaded

* Add activate modal

* Add connect modal

* Add renew button

* Renewal button

* Rename activate to connect

* Add subscribe button

* Add action buttons

* Remove unused const

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

* Update plugins/woocommerce-admin/client/marketplace/components/my-subscriptions/my-subscriptions.scss

Co-authored-by: And Finally <andfinally@users.noreply.github.com>

* Update import path

---------

Co-authored-by: And Finally <andfinally@users.noreply.github.com>
Co-authored-by: github-actions <github-actions@github.com>

---------

Co-authored-by: raicem <unalancem@gmail.com>
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: And Finally <andfinally@users.noreply.github.com>
2023-10-27 06:08:27 +02: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
Corey McKrill 663e610cd8
Use filectime instead of filemtime when creation date isn't available
Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>
2023-10-26 16:59:11 -07:00
Corey McKrill d9cae66d9f
More phpcs cleanup 2023-10-26 13:51:02 -07:00
Corey McKrill d3cc2880c2
More escaping in list table translations 2023-10-26 13:07:35 -07:00
Corey McKrill 73924c6107
Remove unneeded line that modifies superglobal 2023-10-26 13:03:40 -07:00
Corey McKrill 417049e56f
phpcs cleanup 2023-10-26 12:55:27 -07:00
Corey McKrill 79640078d4
Remove usages of FILTER_SANITIZE_STRING 2023-10-26 12:53:36 -07:00
Dima ef81a499c0 Merge remote-tracking branch 'origin/trunk' into remove/creative-mail 2023-10-26 22:21:15 +03:00
Luigi Teschio efdb724728
Update WooCommerce Blocks to 11.4.2 (#41050) 2023-10-26 18:56:47 +02:00
Jorge Torres 6f66f3baa5 Add changelog 2023-10-26 14:32:53 +01:00
Jorge Torres 68a739e21c Add screen options nonces to HPOS edit screen 2023-10-26 14:32:49 +01:00
Dima 3bc1810f68 Merge remote-tracking branch 'origin/trunk' into remove/creative-mail 2023-10-26 15:28:36 +03:00
Barry Hughes fa1ef4a8fd
Remove linting exceptions for WC Admin code. (#41016) 2023-10-26 12:42:49 +02:00
Thomas Shellberg 51eff5c234
Woo AI - fix empty build dir due to entrypoint file extension match failure. (#40997)
* Woo AI - Fix empty build directory due to entry point file extension match failure.
2023-10-26 12:25:11 +02:00
Chi-Hsuan Huang 7b00687a38
Fix CYS assembler hub UI issues (#41036)
* Set default logo size to 60px and max to 200px

* Hide homepage template label

* Scroll to position when selecting a pattern

* Fix preview opacity issue

* Update sidebar scrollbar style

* Fix onboarding tour resize handle

* Add changelog
2023-10-26 18:15:30 +08:00
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
WooCommerce Bot a7aa8df2ee Delete changelog files for 40948 2023-10-26 07:23:09 +00: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
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
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
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
Rodel Calasagsag a4108b3b67 Merge branch 'trunk' into dev/fix-k6-hpos-env-var-parsing 2023-10-26 00:33:25 +08:00