Commit Graph

54685 Commits

Author SHA1 Message Date
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
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] c505a30060
Update changelog.txt from release 8.2.2 (#41309)
Prep trunk post release 8.2.2

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-11-08 16:22:09 -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
Fernando Marichal fd8a5604ba
Add empty state to images block (#41165)
* Add svgs

* Add image place holder

* Refactor components

* Fix styles

* Add changelog

* Remove comment

* Add text translation

* Remove line
2023-11-08 12:36:08 -03: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
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
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
Leif Singer b2229869a3
remove google url redirects from urls (#41243) 2023-11-07 21:30:20 +01:00
Nathan Silveira 68a538cb17
Add animation for variable product tour and tweak logic (#41250)
* Add fade-in animation

* Show variable product tour only when product editor tour was already dismissed

* Add changelog
2023-11-07 15:18:49 -03:00
nigeljamesstevenson c7f28bb4dc
Introduce a remote inbox rule for Woo Express sites (#40513) 2023-11-07 17:51:41 +00:00
Panos (Panagiotis) Synetos deaecfdc6a
Merge branch 'trunk' into add/wooexpress-rin-rule 2023-11-07 18:48:48 +02:00
Fernando Marichal 5c4c926474
Update selected item styling dropdown (#41217)
* Update dropdown item style

* Add changelog
2023-11-07 12:59:08 -03:00
Fernando Marichal 02e163aadc
Update section description design (#41251)
* Modify tooltip helper text

* Update section header design

* Add changelog

* Add components changelog
2023-11-07 12:58:52 -03: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
Leif Singer 47accc8c4f appease the linter 2023-11-07 14:20:48 +01:00
Leif Singer ecb746e8f1 remove google url redirects from urls 2023-11-07 14:20:48 +01:00
nigeljamesstevenson 0b2ef557ae
Revert "k6 perf tests: Fix parsing of COT/HPOS environment variable" (#41265) 2023-11-07 13:16:16 +00: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
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
Matt Sherman 3592818476 Update lock file 2023-11-06 15:14:50 -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