Commit Graph

54031 Commits

Author SHA1 Message Date
jonathansadowski 44a78870b3
Update the version bump command to support accelerated releases (#40608)
* Update the version bump command to support accelerated releases

* Appease Linter

* Update Accel Release check to only allow for 4-digit numbers
2023-10-04 17:42:51 -05:00
Matt Sherman 0646031217 Implement multiline comments and be more forgiving of extra whitespace 2023-10-04 15:47:06 -04:00
Jonathan Lane c0f2e69191
Delete plugins/woocommerce/changelog/pr-40466 (#40603) 2023-10-04 11:34:42 -07:00
github-actions 187e6f301c Add changefile(s) from automation for the following project(s): woocommerce 2023-10-04 19:57:23 +02:00
Bero 806e554a14 Abort content requests before new request 2023-10-04 19:57:11 +02:00
Bero a8cf772aaf Reset url state on tab click 2023-10-04 19:57:04 +02:00
Patricia Hillebrandt 5da7f24eea Update the Homepage Templates list. 2023-10-04 19:49:45 +02:00
Kyle Nel d8adecf783
Marketplace Themes: Feature Branch (#40159)
* Support for themes in in-app marketplace.

Contains the changes from:

https://github.com/woocommerce/woocommerce/pull/40247
https://github.com/woocommerce/woocommerce/pull/40272
https://github.com/woocommerce/woocommerce/pull/40302
https://github.com/woocommerce/woocommerce/pull/40303
https://github.com/woocommerce/woocommerce/pull/40333
https://github.com/woocommerce/woocommerce/pull/40368
https://github.com/woocommerce/woocommerce/pull/40375
https://github.com/woocommerce/woocommerce/pull/40375
https://github.com/woocommerce/woocommerce/pull/40389

* `.woocommerce-marketplace__discover`: changed `align-items` `flex-start` to `stretch` to properly display products on large and very large viewports.

* Delete plugins/woocommerce/changelog/add-18026-marketplace-theme-cards

Removing from feature branch before final review

* Delete plugins/woocommerce/changelog/add-18027-themes-to-in-app-search

Removing from feature branch before final review

* Delete plugins/woocommerce/changelog/add-marketplace-theme-discover-section

Removing from feature branch before final review

* Delete plugins/woocommerce/changelog/update-in-app-multiple-category-filters

Removing from feature branch before final review

* Delete plugins/woocommerce/changelog/update-theme-no-result-style

Removing from feature branch before final review

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

---------

Co-authored-by: And Finally <andfinally@users.noreply.github.com>
Co-authored-by: Dan Q <dan@danq.me>
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Dan Q <danq@automattic.com>
2023-10-04 18:59:34 +02:00
Matt Sherman 1812a76f8d Test with complex expression with arithmetic, relational, and logical operators 2023-10-04 10:02:15 -04:00
Matt Sherman 83c3ff365a Implement arithmetic expressions 2023-10-04 09:59:39 -04:00
Matt Sherman 11653fe327 Rearrange tests to match grammar order 2023-10-04 09:54:15 -04:00
Matt Sherman e7e9e30884 Test NOT with parenthesis 2023-10-04 09:52:54 -04:00
Nathan Silveira 793e4a821d
Split product editor blocks into separate directory structures (#40571)
* Create 'generic' and 'product-fields' and separate blocks between the two

* Refactor 'BlockRegistry' to include new directory structure

* Increment README

* Add param documentation

* Add changelogs

* Lint markdown

* Add block directory doc

* Fix jest test

* Update handbook reference
2023-10-04 13:51:25 +00:00
Matt Sherman 99b06b67a2 Tests for complex expressions 2023-10-04 09:38:52 -04:00
Matt Sherman 18992e7891 Implement relational expressions 2023-10-04 09:33:21 -04:00
Matt Sherman f47bb0db37 Refactor to evaluate function 2023-10-04 09:25:49 -04:00
RJ 246b9a5c76
fix/cys intro refactor banner (#40561)
* tests

lint

* refactor cys intro banner

* refactor cys intro modal

* changelog

* fix banner classname
2023-10-04 20:24:51 +08:00
Nestor Soriano 0533ad40af
Improve the TODO comments in the admin notice add and remove methods 2023-10-04 11:26:29 +02:00
Nestor Soriano 3a07007b40
Update the text in the admin notice 2023-10-04 11:03:18 +02:00
Panos (Panagiotis) Synetos e5e1345e8f
Use fallback color for select2 fields on non WooCommerce pages 2023-10-04 12:02:32 +03:00
Néstor Soriano 428e1478fc
Update the text in the warning next to the setting
Co-authored-by: Corey McKrill <916023+coreymckrill@users.noreply.github.com>
2023-10-04 10:48:36 +02:00
Jaclyn Chen 1235376ef0 Add changelog. 2023-10-04 14:41:45 +08:00
Jaclyn Chen fbd0ce2490 Remove unused import. 2023-10-04 14:41:35 +08:00
Chi-Hsuan Huang 7918e1ee5c
[Customize Your Store] Retain unsave changes and save all when users click the "done" button (#40541)
* Retain unsave changes and save all the unsaved when users click the "done" button

* Add changelog

* Update save hub
2023-10-04 12:16:41 +08:00
Matt Sherman f0a6045ca0 Simplify IdentifierName processing 2023-10-03 19:45:20 -04:00
Matt Sherman f331099c64 Support multiline expressions 2023-10-03 19:39:47 -04:00
Matt Sherman b51b652ebd Signed number tests 2023-10-03 19:23:39 -04:00
Matt Sherman d82737fb81 Implement unary expressions 2023-10-03 19:13:56 -04:00
Matt Sherman 6237c8caea Refactor logical expressions and implement equality expressions 2023-10-03 19:04:46 -04:00
jonathansadowski e8df6a634e
Add CFE label to cherry-picks via workflow (#40570)
add CFE label to cherry-picks
2023-10-03 16:00:17 -05:00
Moon 92eb4efd9d
Remove background, primary_border, secondary_border from the API sche… (#40553)
* Remove background, primary_border, secondary_border from the API schema -- they are not used

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

* Fix lint

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-10-03 13:48:23 -07:00
github-actions[bot] 04bcc4a315
Delete changelog files based on PR 40469 (#40579)
Delete changelog files for 40469

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-10-03 13:28:57 -07:00
github-actions[bot] 6526c1cc17
Delete changelog files based on PR 40551 (#40577)
Delete changelog files for 40551

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-10-03 13:11:32 -07:00
Matt Sherman a5fec1fa6e Extract OR and AND operators 2023-10-03 15:43:40 -04:00
Barry Hughes 798d8d318c
Add docs manifest. (#40507)
This was generated 'manually', however the end goal is to add automations (probably via GH Actions) to regenerate the manifest as and when needed.
2023-10-03 11:33:48 -07:00
Matt Sherman e9180206b0 String literals 2023-10-03 13:56:45 -04:00
And Finally 60c41cd9a0
Marketplace: Fix the Marketplace header being invisible after viewing other WC Admin pages. (#40562) 2023-10-03 17:48:06 +01:00
github-actions 44f76f69f9 Add changefile(s) from automation for the following project(s): woocommerce 2023-10-03 17:11:21 +01:00
raicem 228084cb7c Marketplace: Change the way we space out heading and content area
Previous method caused issues when you go from WooCommerce > Home to
WooCommerce > Marketplace. The header was going missing on the
Marketplace page.
2023-10-03 17:11:21 +01:00
And Finally b3cd93e0bf
Omit WooCommerce plugin from the list of Woo extensions in Helper (#40549) 2023-10-03 16:42:44 +01:00
Nathan Silveira 00d14debd4
Create woocommerce/product-text-field block (#40337)
* Add new block woocommerce/product-input-field

* Add required attribute

* Add 'required' validation

* Add validationRegex attribute

* Add changelog

* Use existing meta_data field

* Add validationErrorMessage attribute

* Rename block

* Rename path

* Create 'useMetaEntityProp' hook

* Add changelog

* Add comment to translators

* Rename init function

* Add minLength and maxLength attributes

* Fix wrong copied line

* Fix typescript issues

* Refactor hook to use property name instead of isMeta boolean

* Rename hook

* Add tests to useProductEntityProp

* Fix bug: the meta property shouldn't contain "meta_data."

* Implement code review suggestions

* Use 'useWooBlockProps' hook
2023-10-03 15:12:07 +00:00
Chi-Hsuan Huang 1b9375b779
Fix core editor store available in classic (#40557)
* Remove wp-editor dependency if we're not on a customize store page

* Add changelog

* Update WCAdminAssets.php

* Add WC_ADMIN_APP === $script check
2023-10-03 22:47:40 +08:00
And Finally 9bcef3a015 Addressing linter issues. Hook comment. 2023-10-03 15:25:44 +01:00
And Finally db8dede036 Added condition to skip WooCommerce product 18734002369816 from the list of Woo extensions. The Woo release team uses this product to distribute the Woo AF release (pcShBQ-14K).
Restored `woocommerce_show_addons_page` filter, which is used to add or not add the Extensions menu item.

Changed the method we use to hide the extra Extensions submenu item we add to WooCommerce as a temporary measure, to ensure the My Subscriptions page still works. Using the superior `hide_submenu_page` method borrowed from Jetpack.
2023-10-03 15:09:47 +01:00
Nathan Silveira bda564ad67
Add reusable blocks documentation for remaining blocks (#40521)
* Add documentation for woocommerce/product-radio-field

* Update woocommerce/product-taxonomy-field documentation

* Rename checkbox section for consistency

* Edit pricing attribute name for consistency

* Add documentation for woocommerce/product-pricing-field

* Add 'conditional' documentation

* Update README.md

* Add usage text

* Add documentation to collapsible

* Fix details across all readmes

* Add changelog

* Try adding video html tag

* Allow video html tag

* Fix wrong position in doc

* Rename 'name' to 'property' on InputControl props

* Fix mistake in label position
2023-10-03 12:49:46 +00:00
Fernando Marichal e224445bf6
Add missing Tracks events to attribute modals (#40517)
* Add tracks events

* Add remove icon recording

* Add tracking to new product modal

* Add changelog

* Remove not used `recordEvent`
2023-10-03 08:26:39 -03:00
Néstor Soriano cd9949c664
Add changelog file 2023-10-03 13:25:15 +02:00
Nestor Soriano 1f0e952314
Add notices about the removal of the Legacy API in WooCommerce 9.0
- A permanent notice in Settings - Advanced - Legacy API

- A dismissable admin notice only if the Legacy API is enabled
  (disappears if it gets disabled)
2023-10-03 13:25:10 +02:00
Alexandre Beaujour 07a178760f
FIX strtotime(): Passing null to parameter #1 () of type string is deprecated PHP 8 (#40533)
* strtotime(): Passing null to parameter #1 () of type string is deprecated PHP 8

* feedback more succinctly

* generate changelog

* use suggested change

* add indentation
2023-10-03 11:16:23 +01:00
Corey McKrill b9bfbcdc42
HPOS Features: Revert to one feature (#39525)
Co-authored-by: Vedanshu Jain <vedanshu.jain.2012@gmail.com>
2023-10-03 11:34:41 +02:00