Commit Graph

54774 Commits

Author SHA1 Message Date
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] 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