Commit Graph

54858 Commits

Author SHA1 Message Date
Moon 9a651da622
Add payment-gateway-suggestions cache unit test (#41412)
* Add payment-gateway-suggestions cache test

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

* Fix broeken test

* Fix broeken test

* Fix broeken test

* Lint fix

* Refactor test

* Lint fix

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-11-17 13:39:11 -08:00
louwie17 65692011a9
Update/41463 update botton description (#41552)
* Update insert from url info text

* Add changelog
2023-11-17 16:05:12 -05:00
AnnaMag e68b1792d9
Add digital products to the new experiment testing the product editor. (#41469)
* Add digital product task selection to the A/B test for WC 8.4.

* Add changelog

* Enable the product-virtual-downloadable feature.

* Fix linting error

---------

Co-authored-by: Lourens Schep <lourensschep@gmail.com>
2023-11-17 15:05:03 -04:00
Maikel David Pérez Gómez d269401959
[Individual Variant] Manage limits for downloads in a single variant are not working (#41508)
* Fix manage limits for downloads in a single variant are not working

* Fix invalid download id when saving after editing one download file

* Add changelog file
2023-11-17 13:30:18 -05:00
Nathan Silveira 6f6b5f5b4a
Fix typo in ts-ignore comment (#41517) 2023-11-17 14:57:31 -03:00
Matt Sherman fd65b3036e
Doc: Update generic blocks readme (#41545)
* Update generic blocks README

* Changelog

* Remove links to section and tab readmes, since they don't exist yet.
2023-11-17 13:49:03 -04:00
Matt Sherman 9dce746442
Doc: Add Product Editor Extensibility Guidelines (#41531) 2023-11-17 11:06:37 -05:00
Jorge A. Torres 1d00e76fda
Invalidate coupon cache after hold/usage data is modified in datastore via SQL (#41538)
* Invalidate coupon cache after direct SQL queries

* Add changelog

* Add unit test

* Address feedback
2023-11-17 15:25:10 +00:00
Matt Sherman f33352591f Slight rewording of extensibility intro 2023-11-17 10:23:26 -05:00
Matt Sherman f5bd33e083 Correct changelog date 2023-11-17 10:21:59 -05:00
nigeljamesstevenson 00e1a29194
dev/fix no use before define lint violations (#41452) 2023-11-17 12:05:18 +00:00
Chi-Hsuan Huang c768ca0dc6
[CYS] Remove `getLookAndTone` AI request from the business description step (#41497)
* Remove AI requests from the business description step

* Add changelog
2023-11-17 19:40:43 +08:00
Chi-Hsuan Huang d379a3de85
[CYS] The “Preview" on the transitional screen doesn’t represent our custom color palette (#41496)
* Fix the “Preview” on the transnational screen doesn’t represent our custom color palette

* Add changelog

* Fix setCanvasMode
2023-11-17 19:35:52 +08:00
RJ 225e020d50
add: modified cys business info placeholder (#41532) 2023-11-17 19:08:32 +08:00
github-actions[bot] 6b5c98ad17
Delete changelog files based on PR 41535 (#41537)
Delete changelog files for 41535

Co-authored-by: WooCommerce Bot <no-reply@woo.com>
2023-11-17 17:40:37 +08:00
rodelgc d02f6743fd
Cherry-pick #287 into trunk (#41535)
* Add nonce check during process_bulk_action

The webhooks screen already has a nonce field available, so all that's needed here is to verify the nonce when processing a delete action.

Fixes #284

* Add e2e regression test

* Check admin referer on all present/future actions, not just delete

* Add cleanup after e2e test

* Updates to e2e test

* Use better locators (user facing)
* Simplify some assertions
* Better usage of networkidle
* Remove empty catch clauses

* Add changelog

---------

Co-authored-by: Corey McKrill <916023+coreymckrill@users.noreply.github.com>
2023-11-17 16:53:19 +08:00
Matt Sherman 7c44e6d670 Updates based on latest guidelines draft 2023-11-16 21:02:03 -05:00
Nathan Silveira 6d10a7e9ee Update product-editor-extensibility-guidelines.md 2023-11-16 19:01:04 -05:00
Nathan Schneider d4da4898b9 Update extensibility guidelines 2023-11-16 19:01:04 -05:00
Nathan Schneider d512e6efbb Increment doc based on feedback 2023-11-16 19:01:04 -05:00
Nathan Schneider 4a97065da2 Fix markdown lint issues 2023-11-16 19:01:04 -05:00
Nathan Schneider e3f350cffc Add Product Editor Extensibility Guidelines 2023-11-16 19:01:04 -05:00
Ron Rennick 62a2abd28a
revert stalebot to v8 and single run (#41528) 2023-11-16 19:57:27 -04:00
Ron Rennick 918c1bff3d revert to v8 2023-11-16 18:58:20 -04:00
Ron Rennick b5b364e902 revert stalebot to v8 and single run 2023-11-16 17:24:32 -04:00
Paul Sealock 3c703d3718
Tree Select Control: Use enter button for selection (#41480)
* enable enter to select

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-11-17 10:07:01 +13:00
Paul Sealock 251812232d
Package Release: Make sure git workspace is clean before releasing (#41416) 2023-11-17 08:44:22 +13:00
github-actions[bot] 30a07536a8
Update changelog.txt from release 8.3.0 (#41518)
* Prep trunk post release 8.3.0

* Update date

---------

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
Co-authored-by: rodelgc <rodel.calasagsag@automattic.com>
2023-11-17 03:24:12 +08:00
Maikel David Pérez Gómez ed0d38c44b
[External products] Product details (#41442)
* Add buy button section

* Enable external product support into the product block editor

* Hide buy button section when product type is not external

* Remove BaseControl from TextControl since it's not required anymore, InputControl takes care of that now

* Add type and suffix support to the product-text-field block

* Add the placeholder to the external url input and remove required constraint to the buy button text

* Set the url icon link type to external

* Fix input border to be red when invalida now that base control is not present twice

* Set the min height to 36px to match others non InputControls components height

* Extends required constrain to also support a custom error message

* Extends the product-text-field validation system

* Add product-text-field documentation

* Add changelog files

* Fix php linter error

* Fix compilation error

* Fix linter errors
2023-11-16 14:11:44 -05:00
rodelgc 89514921f9
Update stable tag to 8.3.0 (#41519)
woorelease: Update stable tag to 8.3.0

Co-authored-by: rodel <rodel@rodels-MacBook-Pro.local>
2023-11-17 03:00:38 +08:00
Nathan Silveira 9b1e5de687
Remove unnecessary focus on block divs in product editor (#41436)
* Add tabIndex -1 to useWooBlockProps

* Add changelog

* Fix property name in test

* Fix test

* Update changelog

* Add ts explanation

* Fix typo
2023-11-16 15:31:14 -03:00
Christopher Allford 8fcef3b2d3
Prepared 2.3.0 Beta Tester Release (#41513) 2023-11-16 08:59:42 -08:00
Fernando Marichal b64416597b
[Individual variation] Fix empty state illustration visibility (#41337)
* Fix empty state illustration visibility

* Add changelog
2023-11-16 11:10:29 -05:00
Maikel David Pérez Gómez 1065762104
Display an alert icon for variations that contains "any" values (#41433)
* Move variations table row to its own component

* Add alert icon to the left of the variation row

* Render a tag when the variation option is not present in the product variable attributes

* Only shows the tooltip when the variation option is not present in the product variable attributes

* Add changelog file

* Fix linter errors
2023-11-16 10:45:50 -05:00
Ron Rennick 6402bf8aa3
use latest commit of stalebot action, tweak configuration accordingly (#41305)
* use latest commit of stalebot action, tweak configuration accordingly

* remove stalebot.js

* use default operations per run

---------

Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
2023-11-16 09:15:08 -06:00
Fernando Marichal 4e383b647b
Show one help text when user clicks help button (#41435)
* Fix styles

* Add className to Tooltip component

* Add prop in edit-attribute-modal

* Add changelogs

* Add tooltip class to section
2023-11-16 11:59:25 -03:00
rjchow e062db64c9 deleted duplicate changelog 2023-11-16 21:01:09 +08:00
rjchow 560aaac075 empty commit to trigger CI 2023-11-16 19:59:26 +08:00
github-actions 3d606e2eb8 Add changefile(s) from automation for the following project(s): @woocommerce/api, woocommerce 2023-11-16 11:28:16 +00:00
rjchow 69f1b43160 Fix no-use-before-define lint rule violation 2023-11-16 19:26:24 +08:00
github-actions 420d219c2c Add changefile(s) from automation for the following project(s): @woocommerce/eslint-plugin, @woocommerce/components, @woocommerce/api, woocommerce 2023-11-16 19:21:30 +08:00
rjchow 5d99b267bf fix: fixed all instances of no-use-before-define lint rule violations 2023-11-16 19:21:30 +08:00
RJ b61b86545a
fix: fixed all instances of translator lint rule violations (#41450)
* fix: fixed all instances of translator lint rule violations

* Add changefile(s) from automation for the following project(s): @woocommerce/eslint-plugin, @woocommerce/components, woocommerce

* fix i18n lint violations in @woo/components

* fix all i18n lint rule violations in @woo/product-editor

* Add changefile(s) from automation for the following project(s): @woocommerce/product-editor, @woocommerce/eslint-plugin, @woocommerce/components, woocommerce

* empty commit to trigger CI

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-11-16 19:15:11 +08:00
Vlad Olaru 5b209199a0
Use a transient when computing orders in the last 90 days (#41466) 2023-11-16 10:55:52 +02:00
Vlad Olaru fb381bd03c
docs: Improve inline docs 2023-11-16 10:11:10 +02:00
Corey McKrill 0a98a249b0
Update CSV export escape characters (#41464) 2023-11-15 14:38:41 -08:00
Maikel David Pérez Gómez c416b57a94
The variations table should match the height of number of rows selected (#41140)
* Remove fixed height to the variations table and add per row skeletong when loading

* Add changelog file

* Add last variations instead of the current per page var given that there it is not accessible anymore
2023-11-15 14:42:48 -04:00
Damián Suárez 8486dfcdba
Do not allow selecting text in the Paginator component of the Product editor (#41405) 2023-11-15 14:04:25 -03:00
Matt Sherman f4596deddb
Template API: Server-side logging (#41316) 2023-11-15 11:07:11 -05:00
Damián Suárez f5f88bc9cf move changelog file 2023-11-15 12:31:26 -03:00