Commit Graph

53883 Commits

Author SHA1 Message Date
louwie17 a28a552bbf
Add initial migration script (#40564)
* Add initial integrate plugin package

* Add changelog

* Make plugin data parsing less strict, to support bad formatting

* Update package dependency

* Remove unused code
2023-10-05 09:35:50 -03:00
nigeljamesstevenson fd3571e9e2
Update test-assistant-api-rest-change-tracker.yml remove Milestone Due date 2023-10-05 10:52:28 +01:00
nigeljamesstevenson 9851535e0c
Update test-assistant-api-rest-change-tracker.yml slack-text message with milestone 2023-10-05 10:21:27 +01:00
nigeljamesstevenson 040ac64fb5
Update test-assistant-api-rest-change-tracker.yml
add milestone information to slack notification
2023-10-05 09:50:06 +01:00
nigeljamesstevenson 2c738a59dd
Create test-assistant-api-rest-change-tracker.yml
Workflow used to send a Slack notification when a PR contains rest api changes
2023-10-05 09:32:19 +01:00
Patricia Hillebrandt f0cf1f480c
Store Customization > Update the Homepage Templates list. (#40602) 2023-10-05 10:28:51 +02:00
Panos (Panagiotis Synetos) 643a70e65c
Use fallback color for select2 fields on non WooCommerce pages (#40586) 2023-10-05 10:32:42 +03:00
Patricia Hillebrandt 193c410614 Add changelog 2023-10-05 08:58:06 +02:00
Chi-Hsuan Huang 6d14eb744e
[Customize Your Store] Correct activeThemeHasMods conditionals (#40560)
* Fix activeThemeHasMods logic

* Add changelog
2023-10-04 22:42:05 -05:00
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
Jonathan Lane c0f2e69191
Delete plugins/woocommerce/changelog/pr-40466 (#40603) 2023-10-04 11:34:42 -07: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
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
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
Panos (Panagiotis) Synetos e5e1345e8f
Use fallback color for select2 fields on non WooCommerce pages 2023-10-04 12:02:32 +03: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
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
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
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
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
Chi-Hsuan Huang a9c8486b53
[Customize Your Store] Switch Theme to TT3 (#40486)
* Switch theme to TT3 during cys loading screen

* Add changelog

* Revert changes

* Add doc

* Bring theme_switch_via_cys_ai_loader logic to cys task

* Remove unused imports
2023-10-03 15:41:48 +08:00
RJ 6a0fb11a74
fix: refactored use-network-status (#40542)
* fix: refactored use-network-status

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

* fix: renamed event handlers appropriately

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-10-03 09:56:13 +08:00
Barry Hughes 0048341046
Do not override pagination args if `woocommerce_hpos_pre_query` doesn't override query (#40551) 2023-10-02 17:10:46 -07:00
Fernando Marichal 2e74ab84e8
Fix dropdown and list behavior in attributes variation modals (#40496)
* Fix selectors alignment

* Modify icon

* Hide placeholder when an item has been selected

* Fix methods

* Add changelog
2023-10-02 17:18:05 -03:00
Johan van der Molen ef36c24858
Improve `remove_duplicate_notices` which fixes issue 35005 (#40170)
* Fix issue 35005

* Changelog.

---------

Co-authored-by: barryhughes <3594411+barryhughes@users.noreply.github.com>
2023-10-02 21:52:37 +02:00
Matt Sherman 0885808c07
Template API: Store edited product in context (#40450) 2023-10-02 15:09:49 -04:00
Jorge Torres 17f81d1089 Add unit test 2023-10-02 19:18:41 +01:00
Jorge Torres 5a9a6ce7b5 Make sure `woocommerce_hpos_pre_query` filter doesn't override pagination args unless used. 2023-10-02 18:54:16 +01:00
barryhughes fb4a48aeb8 Move docs-manifest.json to docs folder. 2023-10-02 09:21:21 -07:00
Sebastian Volland 8a6fcd8b2a
Fix docblock type annotation for return value of `::process_refund`. (#36508) 2023-10-02 16:47:13 +01:00
Jorge A. Torres bae1844458
Trigger `woocommerce_update_order` even when order has no changes (#40516) 2023-10-02 15:16:47 +02:00
Nathan Silveira 1903b3a759
Update Product Editor Handbook (#40514)
* Rename title

* Remove common-tasks section as it's currently made redundant by template API documentation

* Create index for reusable blocks doc

* Update reference to the handbook

* Add references to new documentation to the handbook

* Add changelog

* Update README.md
2023-10-02 12:59:35 +00:00
Chi-Hsuan Huang de1fe1bf96
Fix Customize Your Store UI bugs (#40456)
* Add woocommerce_customize_store_ai_suggestions option to allowed list

* Add z-index=1 to tour-kit close btn to ensure it's clickable

* Fix cys container classname

* Fix color palette border style and frame spinner position

* Fix janky ai loader

* Add changelog

* Fix classname and section header spacing

* Fix cannot save cys logo changes

* Add use-selected-pattern hoook to add selected style to pattern

* Fix opacity preview issue

* Revert interval change

* Add test

* Fix findPatternByBlock

* Fix range input focus style

* Fix lint
2023-10-02 16:28:13 +08:00
Chi-Hsuan Huang 8ce50fb419
Add onboarding theme rest api endpoint stub (#40508)
* Add recommended Themes REST API Endpoint Stub

* Add changelog

* Revert indents

* Fix docs

* Update docs

* Fix lint

* Make filter experimental and add filter when Marketplace Suggestions is disabled
2023-10-02 15:32:27 +08:00
Ron Rennick f73b8a80f6
update project labeler workflow configuration labels (#40454) 2023-09-30 21:38:59 -03:00
Moon 0091fada88
Remove homepage template prompt logic (#40476)
* Remove homepage template prompt

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

* Set template1 for the default homepageTemplate

* Fix lint error

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-09-29 19:39:34 -07:00