Commit Graph

53687 Commits

Author SHA1 Message Date
Chi-Hsuan Huang 6f89dcdbb5 Update webpack config to not use external @wordpress/router
The external @wordpress/router package is not available in these versions, so we need to bundle it with the plugin. This is a temporary fix until we can drop support for WP 6.2 and below.
2023-09-01 12:24:02 +08:00
Rodel Calasagsag 2aefd9a301 Modify if condition 2023-09-01 12:12:36 +08:00
Rodel Calasagsag 08eab1046c Additional skip check 2023-09-01 11:39:10 +08:00
Rodel Calasagsag 0207bbff97 Handle skipped plugin tests 2023-09-01 11:35:37 +08:00
Chris Runnells 0f79915981 Remove Purchase files 2023-08-31 13:45:59 -10:00
Chris Runnells e1e6fb266d Remove references to the Purchase task 2023-08-31 13:45:42 -10:00
Jon Lane 6c85aaae07 Settings test is currently failing on external host. Skip for now. 2023-08-31 15:09:22 -07:00
Matt Sherman fb9857f22f Changelog 2023-08-31 17:08:39 -04:00
Matt Sherman ea4e257d65 Fix id and blockName in the add_block call 2023-08-31 17:07:14 -04:00
Matt Sherman 76c66aaee9 Update to use template API to add block 2023-08-31 16:05:43 -04:00
Maikel David Pérez Gómez cdaae1caac
Add Shipping item to the global Quick Update dropdown (#39973)
* Add Shipping item to the global Quick Update dropdown

* Add changelog file

* Fix Quick update dropdown menu position to bottom left
2023-08-31 15:00:19 -04:00
Ron Rennick ca6b152755
update the SqlQuery filter prefix in data.md (#39319)
* update the SqlQuery filter prefix in data.md

* fix md linting

---------

Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
2023-08-31 15:23:20 -03:00
Corey McKrill fd4bea5d3c
Adjust some docs subfolder names, add missing heading (#39970) 2023-08-31 11:20:38 -07:00
Nathan Silveira 501abc47b5
Add taxonomy block using SelectTree (#39947)
* Create Hierarchical Taxonomy block

* Add changelog

* Update CSS and remove more references to 'brands'

* Improve error message UX

* Use css variables

* Name block attribute

* Add support for non-hierarchical taxonomies

* Rename attributes

* Fetch "hierarchical" from taxonomy data

* Update changelog

* Remove 'hierarchical' attribute

* Update description

* Fix issue where hierarchy was not displayed in create modal

* Refactor taxonomy details select

* Add README to taxonomy block
2023-08-31 15:19:28 -03:00
Maikel David Pérez Gómez 6673ebecd2
Add Inventory item to the global Quick Update dropdown (#39972)
* Add Inventory item to the global Quick Update dropdown

* Add changelog file
2023-08-31 13:52:06 -04:00
Brent MacKinnon 90d070739b reverting utilities name change 2023-08-31 13:49:06 -03:00
And Finally 6ae83b08ec [wccom-17942] Making sure snackbar doesn't appear before content has loaded.
- Addressing feedback. Renamed `MARKETPLACE_API_HOST` TO `MARKETPLACE_HOST` to make it less confusing – we don't only use it for API URLs.
2023-08-31 16:14:06 +01:00
github-actions b0ee81a175 Add changefile(s) from automation for the following project(s): woocommerce 2023-08-31 13:50:58 +00:00
Jason Kytros f30c4dfda7 Check if "Used for variations" exists before using its value. 2023-08-31 16:37:14 +03:00
Jason Kytros b66988bfae Merge branch 'issue-37839' of https://github.com/woocommerce/woocommerce into issue-37839 2023-08-31 16:29:15 +03:00
Jason Kytros bb481269ff Design enhancements for the Attributes tab 2023-08-31 16:28:03 +03:00
Jason Kytros 26f3c38aae no message 2023-08-31 16:24:05 +03:00
louwie17 785d45fbc3
Update variation pagination table (#39967)
* Add className to sortable and perPageOptions to Pagination

* Refactor pagination into seperate components

* Add PageArrowsWithPicker pagination component and usePagination hook

* Add hook to Pagination story

* Update Pagination readme

* Add changelogs

* Make sure input is updated if currentPage updates outside of PageArrowsWithPicker component

* Only show pagination if total count exceeds the minimum page size

* Add missing doc

* Fix lint errors

* Move totalCount to seperate useSelect to avoid multiple calls on page switch

* Fix merge conflict

* Fix lint error
2023-08-31 09:28:10 -03:00
RJ 3f3f032ed5
dev: added docs for core profiler (#39963)
* dev: added docs for core profiler

* lint

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-08-31 16:27:40 +08:00
Rodel Calasagsag 72ae79bbe0 Merge branch 'trunk' into e2e/fix-flaky-menu-item-turn-off-new-product-form 2023-08-31 14:53:26 +08:00
Corey McKrill 26fde13e00
Fix typo in SQL for stock quantity check (#36402) 2023-08-30 17:01:15 -07:00
Corey McKrill ac06a00f8a
Add changelog file 2023-08-30 16:25:09 -07:00
Patricia Hillebrandt 5968934040
Update WooCommerce Blocks to version 11.0.0 (#39971) 2023-08-30 16:26:08 -05:00
github-actions[bot] a80efb7319
Delete changelog files based on PR 39958 (#39975)
Delete changelog files for 39958

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-08-30 16:07:33 -05:00
Alejandro López Ariza 062c2998a3
Update api core tests readme (#39961)
* Update api core tests readme

The example .env provided in the API Core tests readme is obsolete. It needs to reference API_BASE_URL instead of BASE_URL due to recent changes.

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-08-30 13:24:18 -07:00
Maikel David Pérez Gómez 350f758529
Add global quick actions dropdown menu to the Variations table header (#39950)
* Create variations actions menu

* Disable Quick update dropdown menu when no variations are selected

* Add onDelete all selected variations

* Add update stock menu item to the quick updates global menu

* Add changelog file

* Fix linter error

* Add Pricing item to Quick update menu

* Add Set list price to the Quick update menu

* Fix some unit tests
2023-08-30 16:16:47 -04:00
louwie17 6582445e71
Make sure we also save default attributes prior to variation generation (#39938)
* Make sure we also save default attributes prior to variation generation

* Add changelog

* Remove unused code

* Add changelog

* Fix lint errors

* Update and consolidate isDefault logic

* Remove unused function

* Fix tests and add a few more for testing default attributes

* Fix lint error
2023-08-30 17:04:54 -03:00
Ron Rennick bc954186bc readme linting 2023-08-30 16:44:51 -03:00
Brent MacKinnon a32b98b14d adjusting naming and info architecture of docs 2023-08-30 16:37:25 -03:00
Ron Rennick 5411f094ef Merge branch 'trunk' into fix/readme-php-version 2023-08-30 16:36:26 -03:00
Matt Sherman 2ed4ce51a2
Add explicit ordering to SimpleProductTemplate (#39946) 2023-08-30 15:33:39 -04:00
Matt Sherman 1ffc8fa1fd Changelog 2023-08-30 14:54:35 -04:00
Matt Sherman dc8602f67b Add order property for every block 2023-08-30 14:54:32 -04:00
Maikel David Pérez Gómez a425a62fb8
Product Block Editor: add tracks to the Variations tab (#39914)
* Add product_options_add tracking event to add variation options

* Add product_options_edit tracking event to variation options

* Add product_options_update tracking event to variation options

* Fix set default attribute when editing it

* Add changelog file

* Add product_options_add_button_click tracking event

* Get attribute options from the terms prop instead of options, this ensures to get the updated values when the user edits the options

* Add Variation options section back

* Add changelog file
2023-08-30 14:36:44 -04:00
Matt Sherman c1befca115
Register SimpleProductTemplate and add hook to allow for registered templates to be modified (#39915) 2023-08-30 14:12:52 -04:00
github-actions[bot] ded14d0920
Update changelog.txt from release 8.0.3 (#39951)
* Prep trunk post release 8.0.3

* Add 8.0.3 changelog

---------

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
Co-authored-by: jonathansadowski <jonathansadowski@users.noreply.github.com>
2023-08-30 13:11:36 -05:00
RJ 5f87296805
fix: missed lint error in assembler hub PR (#39964) 2023-08-30 10:45:13 -05:00
Vlad Olaru 1a9c1f93b9
Fix incentive cache-busting edge case performance issues (#39958)
* Test for WooPayments active first since it is less expensive

* Guardrails to avoid double menu badge

* Avoid fetching incentives when no dimissals

* Fix handling of incentives API error and caching

* Prevent incentives fetching if were fetched less than an hour ago

* Add changelog entry

* Remove the 1-hour threshold cache validation

* Cache if the store ever used WooPayments

* More inline docs
2023-08-30 08:37:49 -05:00
Jason Kytros 29b08320c1 Remove duplicate changelog 2023-08-30 15:08:45 +03:00
github-actions 90c081ce55 Add changefile(s) from automation for the following project(s): woocommerce 2023-08-30 12:07:27 +00:00
Jason Kytros f4d5c59b75 Improved UI/UX of the Inventory tab (v2) 2023-08-30 14:52:12 +03:00
rodelgc be41a3b3dd
In the "Smoke test release" workflow, update `BASE_URL` to `API_BASE_URL` (#39954)
Fix environment variable
2023-08-30 10:24:58 +02:00
Rodel Calasagsag 22f3e2aebc Merge branch 'trunk' into e2e/fix-flaky-menu-item-turn-off-new-product-form 2023-08-30 15:39:24 +08:00
Rodel Calasagsag b977388f7b Add changelog 2023-08-30 15:18:37 +08:00
Rodel Calasagsag 4bdd774d3f Use util function to toggle block product editor tour 2023-08-30 14:51:20 +08:00