Commit Graph

8640 Commits

Author SHA1 Message Date
Fernando Marichal 12121a40ee
Open file picker by clicking card (#35358)
* Add FormFileUpload component

* Add styles

* Add changelog

* Fix lint

Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2022-11-25 09:07:54 -03:00
Shelmuk Vladimir 8cdacf3017
Add Denmark postcode validation (#35653) 2022-11-25 10:39:25 +01:00
Alba Rincón 6b8f03c047
Add support for the `Product by attribute` template (#35617)
* Add support for product attribute taxonomy template

* Add tests

* Add changelog

* Fix format

* Improve changelog

* Add current version to the template

* Add tests for product attribute

* Fix template version

* Fix linting errors

* Refactor tests

* Fix linting errors

* Improve test

* Add comments and fix test

* Fix linting errors

* Fix tests by creating product attribute

* Improve formatting and add return type

* Bump template version to the correct release
2022-11-25 08:42:34 +01:00
AnnaMag 49aa5e03fd
Update the summary placeholder text in the product management form. (#35717)
* Product management: change the product summary placeholder text.

* Add changelog

* Correct formatting
2022-11-24 17:11:04 -03:00
piinthecloud ee0a21e580
updated the FAQ expander to link to the new feature req board on woocommerce.com (#35696)
* updated the FAQ Feature Request expander to link to the new feature request board on woocommerce.com

* added campaign tags

* add changelog
2022-11-24 07:40:47 -08:00
Fernando Marichal 28f5616973
Fix the gap in the featured product checkbox (#35710)
* Fix style

* Add changelog

Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2022-11-24 12:15:15 -03:00
Barry Hughes f6edcbc024
Add tracking support for key HPOS options. (#35446) 2022-11-24 15:26:44 +01:00
Joshua T Flowers db737f2190
Add responsiveness to product form header (#35623)
* Update product title in smaller viewports

* Move secondary product actions to menu group on mobile

* Hide settings menu on smaller viewports

* Add changelog entry
2022-11-24 11:00:20 -03:00
Gan Eng Chin a811009a06
Add one-click installation for recommended extensions in multichannel Marketing page (#35542) 2022-11-24 21:46:08 +08:00
Jorge A. Torres 44ce3bd0c3
Make sure the `woocommerce` page hook name remains untranslated (#35695)
* Make sure the WooCommerce page hook is untranslated

This works around a WP core bug, and addresses compatibility issues where WC core or 3rd party code expect the pagename or screen ID for one of our submenu pages to remain fixed despite translations.

* Add changelog

* Make PHPCS happy
2022-11-24 04:16:56 -08:00
Kevin Brent f7f3f01be0
Fix attribute taxonomy sort order meta key (#34645)
Fix attribute taxonomy sort order meta key for improved consistency.

* whoops - close array for order meta key update

* Changelog.

* Update phpcs annotation.

Co-authored-by: barryhughes <3594411+barryhughes@users.noreply.github.com>
2022-11-23 12:50:25 -08:00
Marco Almeida 085149ad82
Add $formatted_destination as an argument to the woocommerce_cart_no_shipping_available_html filter (#30723)
Add $formatted_destination as an argument to the woocommerce_cart_no_shipping_available_html filter.

Developers should be able to access the $formatted_destination variable directly in order to return a new string to the filter including that address.

* Add docblock and changelog for woocommerce_cart_no_shipping_available_html tweak.

* Bump version tag for cart-shipping template.

Co-authored-by: barryhughes <3594411+barryhughes@users.noreply.github.com>
2022-11-23 11:22:51 -08:00
Joshua T Flowers 527249f754
Fix unread notes count in inbox panel (#35396)
* Mark note as read when viewing

* Show unread note count

* Add ability to fetch read or unread notes

* Count unread notes on server side to avoid pagination limits

* Add changelog entry

* Add data changelog entry

* Add check for note actions before checking length

* Add changelog entry

* Mark note as read after 3s delay
2022-11-23 08:52:46 -08:00
nigeljamesstevenson c35d62461e
Update/a2p Consolidate country data in api-core-tests (#35557)
* Consolidate country data

* update test data

* remove upper case files

* remove upper case files

* remove upper case files

* update country data tests

* countries states updates for local

* revert settings-crud.test
2022-11-23 08:04:37 -07:00
Roy Ho fd7c728689
Revert "Add pre build script to delete assets" (#35693)
Revert "Add pre build script to delete assets (#35627)"

This reverts commit 4770123fa3.
2022-11-23 06:38:28 -08:00
Kaushik Somaiya 102fabbee0
Fix missing tooltip in admin orders table. Fixes #33228 (#35638)
Co-authored-by: Kaushik Somaiya <kaushiksomaiya@Kaushiks-MacBook-Pro.local>
Co-authored-by: Néstor Soriano <konamiman@konamiman.com>
2022-11-23 12:06:27 +01:00
Jonathan Lane fd7fc355fa
Fix/e2e environment test failures (#35679) 2022-11-22 16:16:42 -07:00
Maikel David Pérez Gómez 29b9c691cd
Fix/unsaved prompt (#35657)
* Set initial values prop from reset form function as optional

* Fix unsaved modal propmt to not be shown during form submission

* Reset form on save draft and before navigation starts

* Add comments ssuggestions
2022-11-22 11:56:27 -03:00
Fernando Marichal 6ac092e498
Add tracks events to a few sections (#35262)
* Add tracks events

* Add changelog

* Add more tracks events

# Conflicts:
#	plugins/woocommerce-admin/client/products/fields/attribute-field/add-attribute-modal.tsx
#	plugins/woocommerce-admin/client/products/sections/product-shipping-section.tsx

* Fix name

* Fix duplicated event

* Add select as cover event

* Add cancel shipping class creation

* Rename tracks events

# Conflicts:
#	plugins/woocommerce-admin/client/products/sections/product-shipping-section.tsx

* Add const for tracks event name

* Rename event

* Rename events

* Remove `product_modal_new_shipping_class_cancel_button` trancks event

* Rename `product_add_first_attribute_button_click` event

* Fix method

* Fix confirmation modal events

* Rename `product_add_attributes_modal_add_button_click` event

Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2022-11-22 11:30:44 -03:00
Sam Seay 03dbab0edd
Fix some bugs in syncpack configuration (#35651)
* Fix syncpack config

* Loosen the matched version for typescript eslint

* Add changelog entries

* Update lockfile
2022-11-22 12:06:47 +13:00
Roy Ho 4770123fa3
Add pre build script to delete assets (#35627)
* Add pre build script to delete assets

* Chain the script instead

* Add the cleanup dependency to turbo config

* Add assets cleanup for build zip command
2022-11-21 12:05:26 -08:00
louwie17 7ec3210b8b
Create attribute within the new product MVP (#35100)
* Add initial add new option

* Hook in create attribute modal to add attribute field

* Add unit tests for the create attribute modal

* Add extra test to attribute input field

* Add changelog

* Add custom attribute term input field and support for custom attributes

* Fix tets

* Add track for custom attribute creation

* Fix changes after merge conflict

* Revert one change

* Fix lint error

* Seperate out some logic and make use of null as empty object versus id: undefined

* Add isNewAttributeListItem helper function

* Make use of helper function for create new markup
2022-11-21 10:56:46 -04:00
github-actions[bot] 9c83a07145
Prep trunk for 7.3 cycle (#35621)
Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2022-11-19 08:21:49 +13:00
github-actions[bot] fc187fbafe
Release: Remove 7.2 change files (#35632)
Delete changelog files from 7.2 release.

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2022-11-19 08:01:15 +13:00
Joshua T Flowers 6f7cc707c7
Remove welcome to woocommerce for store users note (#35342)
* Remove welcome to woocommerce store note

* Add changelog entry
2022-11-18 09:51:35 -08:00
Joshua T Flowers b2f66e3cf4
Add breadcrumbs to new product management experience (#35596)
* Add product breadcrumbs component

* Add breadcrumb styling

* Truncate breadcrumbs when more than 3

* Add tests around product breadcrumbs

* Add changelog entry

* Convert indentation to tabs

* Add key to mapped breadcrumb items
2022-11-18 09:51:01 -08:00
Nathan Silveira 6d4c1b3b8a
Adapt the width of the pricing fields (#35545)
* Add css class to change the input width based on the screen's width

* Changelog

* Move class from pricing-section.scss to product-page.scss and use breakpoint 960px mixin

* Move className from currencyInputProps to InputControl

* Improve changelog

* Move 'half-width-field' class to currencyInputProps instead of adding it manually for the two currency fields

* Add 'half-width-field' class to SKU and Shipping Class

Sent as a parameter to getInputProps and getSelectControlProps to avoid overwriting any additional className

* Update changelog
2022-11-18 13:03:10 -03:00
Maikel David Pérez Gómez dba6d337f7
Add a confirmation modal when the user tries to navigate away with unsaved changes (#35625)
* Add a confirmation modal when the user tries to navigate away with unsaved changes

* Add support for react router navigation

* Fix unit tests
2022-11-18 11:54:59 -03:00
Roy Ho 0f6942849f
Dev/add back asset sources (#35624)
* Copy scss files to build

* Add changelog
2022-11-18 06:14:25 -08:00
Joshua T Flowers ba91c94ca9
Check if blocks have been added to rich text editors before updating value (#35626)
* Check if blocks have been added to rich text editors before updating value

* Add changelog entry
2022-11-17 10:06:10 -08:00
Maikel David Pérez Gómez fc56dcf6e9
Add/35173 category field improvements (#35606)
* Add experimental open menu when user click the select control input element

* Open categories menu list when the user click the category field

* Fix linter error

* Move open menu from click to focus event

* Fix linter errors
2022-11-17 15:04:40 -03:00
Joshua T Flowers 233e23704f
Add product settings menu to new product management experience (#35592)
* Add icons

* Add classic editor url

* Remove welcome guide link and icon

* Add initial settings menu

* Fix up button styling

* Move product settings to its own folder

* Remove unnecessary registerPlugin call

* Use number type control for menu order field

* Add tests around product settings component

* Allow reviews by default on all new products

* Alphabetize product properties

* Add changelog entry

* Add data changelog entry

* Convert indentation to tabs

* Fix up scss linting errors

* Remove whitespace
2022-11-17 09:59:51 -08:00
Matt Sherman 19058ed17c
Fix the `wcadmin_product_update` Tracks event `menu_order` custom property value (#35605) 2022-11-17 10:32:27 -05:00
Adrian Duffell ba0994fda5
Deploy the stacked layout in the Products Task experiment (#35611)
* Deploy stacked layout in product task experiment

* Add changelog

* Remove unused import
2022-11-17 22:48:14 +08:00
Alex Pantechovskis baa1c120bc
Do not use $_POST directly in validate_checkout (#35329)
Avoid direct use of $_POST from within the validate_checkout() method.

* Changelog.

* Address some of the undocumented hook errors flagged by our linting check.

This does not address all of the undocumented hooks (there are many in this file), just the ones flagged by the GitHub Actions code sniff check. This is an effort to unblock the PR, which we otherwise cannot merge at present.

* Add missing `@since` tags (satisfy linter).

Co-authored-by: barryhughes <3594411+barryhughes@users.noreply.github.com>
2022-11-17 04:39:31 -08:00
Yehuda Hassine 9337b3b5a6
fix get customer tokens limit (#29850)
Make it easier to support many payment methods (within My Account > Payment Methods page).

* Update includes/class-wc-payment-tokens.php

Better backward-compatible by @jonathansadowski

Co-authored-by: jonathansadowski <jonathansadowski@users.noreply.github.com>

* Add docblock for new filter `woocommerce_get_customer_payment_tokens_limit`.

* Add changelog.

Co-authored-by: Yehuda Hassine <yehuda@myinbox.in>
Co-authored-by: jonathansadowski <jonathansadowski@users.noreply.github.com>
Co-authored-by: barryhughes <3594411+barryhughes@users.noreply.github.com>
2022-11-17 03:55:12 -08:00
SamirMahmudzade abcd2a799a
Update the Azerbaijani manat symbol AZN (#30605)
Update the Azerbaijani manat symbol AZN

* Rebase, update currecy symbol (from mathematical pitchfork to manat).
* Add changelog.
* Use Azerbaijani manat symbol instead of similar mathematical character.
* Update data crud test for the AZN currency symbol.
* Update currency settings for API tests.

Co-authored-by: barryhughes <3594411+barryhughes@users.noreply.github.com>
2022-11-16 23:07:15 -08:00
louwie17 1550806efc
Add/34 create new category field modal (#35132)
* Add initial category field component with new typeahead

Move search logic to useCategorySearch hook

Add initial add new category logic

Add parent category field to add new category modal

Adding some debug changes

Update category control to make use of internal selectItem function of select control

Add changelogs

Update pagesize back to 100

Add placeholder

Empty placeholder

Fix input and icon sizes

Fix input underline

Add max height and scroll to category dropdown

Add sorting of category items

Auto open parents when traversing up the tree using arrow keys

Add several comments

Add some initial unit tests for the category field component

Add tests for useCategorySearch hook and fixed minor bug

Update styling and autoselect parent if child is selected

Fix styling issues for the select control dropdown inside a modal

Fix issue with creating new category with parent

Add function comment and fixed border styling

* Fix up some issues after the rebase

* Some small fixes for the Category creation

* Fix up some styling issues around the add-new-item

* Add changelogs

* Remove unneeded export of toggle button props

* Fix create category error and tests in attribute field

* Fix some minor bugs and styling changes that came up during PR feedback

* Fix tests

* Make use of $gap variable for css
2022-11-16 12:30:42 -04:00
Joshua T Flowers 7bff5cbb6b
Add product status badge to product form header (#35460)
* Add product status badge

* Update status method to return keys

* Add tests around product status

* Add styling to badge

* Add changelog entry

* Change product status keys to enum

* Add enum return type to product status function

* Fix up lint errors

* Convert indentation to tabs
2022-11-16 08:03:39 -08:00
Joshua T Flowers 2297787a4f
Add contextual product more menu (#35447)
* Add icons

* Add product more menu

* Add classic editor url

* Update header and more menu styles

* Update dropdown menu label

* Add changelog entry

* Remove welcome guide link and icon

* Remove errant import

* Remove unnecessary plugin registration
2022-11-16 07:02:45 -08:00
Maikel David Pérez Gómez 0482860c74
Fix bg color that was not covering the full page (#35476) 2022-11-16 10:39:56 -03:00
Daniel Mallory ad80ff7134
WCPay Experiment: Create an Inbox Note if user wants more info on WCPay (#35581) 2022-11-16 13:22:16 +00:00
Néstor Soriano 42d2260ca6
Fix custom_orders_table_usage_is_enabled returning true when HPOS feature is disabled (#35597)
* custom_orders_table_usage_is_enabled returns now false if feature is disabled

* Add changelog file
2022-11-16 01:03:45 -08:00
Joshua T Flowers 23ca8d6297
Add product title to header when available (#35431)
* Move shared product header components to separate file

* Fill header title with product name

* Create method to get product title

* Add tests around title

* Add changelog entry

* Remove unnecessary plugin registration
2022-11-15 11:19:58 -08:00
timur987 8dc954d54b
Feature: Add the In-App Marketplace Tour (#35278)
Co-authored-by: Michal Iwanow <4765119+mcliwanow@users.noreply.github.com>
2022-11-15 11:12:17 +01:00
Daniel Dudzic f9dacb78a6
FSE: Fix icon fonts not being loaded in the Site Editor (#35532)
* Site Editor: Fix WooCommerce icons in the Site Editor

* Site Editor: Fix WooCommerce icons not loading in the site editor.

* Add additional FSE theme check
2022-11-15 00:58:40 -08:00
Sam Seay 63242cfa62
Remove duplicated API code folder in woocommerce-beta-tester (#35549) 2022-11-15 13:58:45 +13:00
Matt Sherman 5b06618a6f
Add scheduled sale fields (#34538)
* Add scheduled sale fields to product form
* Close DateTimePickerControl's dropdown when blurring from input.
* Log when onChange is called for Controlled stories
* Handle when input changes occur but the end date is the same
* Fix DateTimePickerControl usage when uncontrolled
* Fix handling when blur happens before debounced onChange
2022-11-14 21:03:13 +00:00
Timstreep beb2871b8d
Update readme.txt (#35573)
Co-authored-by: Peter Fabian <peter.fabian.github@gmail.com>
2022-11-14 21:04:19 +01:00
Herman dda14302fa
Add/source param to get subscriptions call (#35051)
* Add source param for subscription endpoint calls

- Adds an optional $source argument to the WC_Helper_API::url() method
- Get URL of page making WC_Helper::get-subscripitonts() request and add a
  source arg to the WC_Helper_API::get() request made by that method
- Pass that source arg to the WC_Helper_API::url() methd from
  WC_Helper_API::get()

* Add changelog file

* Use sripos instead of preg_match in WC_Helper::get_subscriptions()

- Update "source" argument name across methods to "query_string" to be
  more generic
- Use separate variables to make it clear the URI of the requesting
  page, and the value passed as the source query string are different

* Add @param declaration to function comment

* Address PHPCS issues

Co-authored-by: Jorge A. Torres <jorge.torres@automattic.com>
2022-11-14 05:52:35 -08:00
Alba Rincón efcbe197ea
Update woocommerce-blocks to 8.9.1 (#35564) 2022-11-14 11:33:10 +01:00
Jorge A. Torres bddb65699b
[HPOS] Implement "Empty Trash" functionality in list table (#35489) 2022-11-14 09:34:59 +01:00
nigeljamesstevenson 736593ef15
update/a2p update `api-core-tests` to run against both CI test env and JN (#35522)
* updates to allow tests to run against both CI test env and JN

* update customer data file

* comment uddates

* baseURL update

* update settings data

* Update plugins/woocommerce/tests/api-core-tests/playwright.config.js

Co-authored-by: Greg <71906536+zhongruige@users.noreply.github.com>

* Update plugins/woocommerce/tests/api-core-tests/tests/customers/customers-crud.test.js

Co-authored-by: Greg <71906536+zhongruige@users.noreply.github.com>

* Update plugins/woocommerce/tests/api-core-tests/playwright.config.js

Co-authored-by: Greg <71906536+zhongruige@users.noreply.github.com>

* updates from code review

* remove erroneous space

* remove comments

* updates for Localhost, LocalWP and JN

Co-authored-by: Greg <71906536+zhongruige@users.noreply.github.com>
2022-11-10 16:23:28 -07:00
jonathansadowski 63f639b2b1
Post-7.1 / release prep for 7.2 (#35547)
* Update class-woocommerce.php for 7.2

* Update stable tag in readme.txt

* Update version in woocommerce.php

* Update version in composer.json

* Update version in package.json
2022-11-10 17:07:07 -06:00
jonathansadowski 57a5dd4b4e
Revert "Update php version to 7.4" (#35546)
Revert "Update php version to 7.4 (#35528)"

This reverts commit 0b52411ff7.
2022-11-10 16:47:19 -06:00
Panos (Panagiotis Synetos) 7cd1a03043
[HPOS] Move hook `woocommerce_before_delete_order` before `woocommerce_before_delete_order` (#35517)
🧑‍💻 Move hook woocommerce_before_delete_order before deleting order
2022-11-10 09:39:26 -08:00
jonathansadowski 0b52411ff7
Update php version to 7.4 (#35528)
* Update php version in woocommerce.php

* Update php version in readme.txt

* Create update-php-7.4
2022-11-09 10:53:08 -06:00
Alba Rincón 91da0a15df
Update WooCommerce blocks package to 8.9.0 (#35521) 2022-11-09 09:59:08 +01:00
Jorge A. Torres 082f318da4
[HPOS] Add order data store info to SSR (#35487)
Add info on order datastore (and sync) to SSR

* Add changelog

* Make PHPCS happy

* Update plugins/woocommerce/includes/admin/views/html-admin-page-status-report.php

Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>

* Remove unnecessary import

Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>
2022-11-04 11:35:19 -07:00
Peter Fabian 076f6f2839
Add missing Ukrainian Subdivisions to States.php (#35493)
Co-authored-by: Corey Gehrke <corey.gehrke@automattic.com>
2022-11-04 15:29:25 +01:00
Joshua T Flowers c62f9843b9
Remove the first downloadable product note (#35318)
* Remove first downloadable product note

* Add changelog entry

* Remove obsolete note
2022-11-03 13:13:01 -07:00
Joshua T Flowers ad1c49f9e4
Remove manage store activity from home screen note (#35320)
* Remove manage store activity note

* Add changelog entry

* Remove obsolete note
2022-11-03 12:27:09 -07:00
Joshua T Flowers a38a7df76c
Remove adding and managing products note (#35319)
* Remove adding and managing products note

* Add changelog entry

* Remove obsolete note
2022-11-03 12:25:42 -07:00
Joshua T Flowers e8db853ceb
Remove insight on first sale note (#35341)
* Remove insight on first sale note

* Add changelog entry
2022-11-03 09:48:20 -07:00
Joshua T Flowers a6ed0a0e36
Remove update store details note (#35322)
* Remove update store details note

* Remove deprecated tests

* Remove changelog entry

* Remove obsolete note
2022-11-03 09:47:50 -07:00
Joel Thiessen 5b1296fe45
Adding attribute edit modal for products MVP (#35269) 2022-11-03 08:20:29 -07:00
github-actions[bot] 1b0d8c077c
Delete changelog files based on PR 35480 (#35484)
Delete changelog files for 35480

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2022-11-03 09:25:02 -05:00
Vedanshu Jain dcafc4b5a5
Display correct order pending sync count on feature enabled screen. (#35480)
* Display correct order pending sync count on feature enabled screen.

* Add changelog.
2022-11-03 18:12:50 +05:30
Basti 8ef8a380e5
Fix version typo in form-login.php (#35479)
Co-authored-by: Néstor Soriano <konamiman@konamiman.com>
2022-11-03 12:25:29 +01:00
Barry Hughes 925432aebe
Admin redirects for HPOS URLs (#35463)
* Redirect COT/HPOS admin requests to the corresponding CPT screen, if COT is not authoritative.

* Tidy handling of query parameters.

* Linting fixes.
2022-11-03 15:59:15 +05:30
kkmuffme c561d7941d
Fix wrong return type get shipping tax (#35453)
Was documented as returning array, now it's documented as returning float (and the ourput is converted to float).
2022-11-03 11:08:14 +01:00
Chi-Hsuan Huang 76f99a482f
Cleanup and deprecate task properties and methods (#35450)
* Remove unused sectioned task code

* Remove section task type and update getVisibleTasks logic

* Clean up task list and deprecate methods/properties

* Add changelog

* Fix lint

* Remove snooze tests

* Remove snooze JS tests
2022-11-03 09:22:36 +08:00
Saif H. Hassan 3df6dcd6be
Libyan Dinar not formatted correctly (#35395)
Update and correct the symbol for Libyan Dinars.

* Update wc-core-functions.php

* Update settings.js

* Add changelog.

* Update API test `can view all currencies` re Libyan Dinar.

Co-authored-by: barryhughes <3594411+barryhughes@users.noreply.github.com>
2022-11-02 17:28:47 -07:00
github-actions[bot] e92f95903b
Delete changelog files based on PR 35448 (#35475)
Delete changelog files for 35448

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2022-11-02 13:56:40 -05:00
Chi-Hsuan Huang 3fc0ee338e
Fix business details step fails to display when Gutenberg plugin is active (#35448)
* Fix business details tabs when Gutenberg is active

Fix business details tabs when Gutenberg is active

Fix business details tabs when Gutenberg is active

* Add changelog
2022-11-02 13:40:02 -05:00
nigeljamesstevenson 649c439ec4
Update/a2p array checks in api-core-tests (#35462)
* Update array checks

* add changelog file
2022-11-02 08:00:17 -06:00
Fernando Marichal d77f8fc5cd
Product creation experience: shortcut to add variation price (#34948)
* Add modal

* Add modal style

* Open modal

* Add validations

* Add button

* Add changelog

* Fix variations price setting

* Fix warning for variations without price

* Fix styles

* Change row actions

* Fix actions styles

* Fix error text

* Remove console.logs

* Add save after setting prices

* Modify modal copy

* Change modal button text

* Fix text

* Fix text

* Fix styles

* Fix button

* Fix code sniff errors

* Fix more code sniff errors

* Fix code sniff errors

* Fix comments

* Fix comment

* Fix lint

* Fix lint

Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2022-11-02 09:31:52 -03:00
Chi-Hsuan Huang e60be03951
Fix invalid `wcadmin_install_plugin_error` event props (#35411)
* Fix invalid wcadmin_install_plugin_error props

* Add changelog

* Update docblock comments to fix lint

* Fix lint

* Update prop name
2022-11-02 15:55:41 +08:00
kkmuffme 84660ccf6f
Fix class name for class FirstDownlaodableProduct (#35383)
Spelling

Fix https://github.com/woocommerce/woocommerce/issues/35307
2022-11-02 10:21:50 +08:00
kkmuffme dc94b9b512
Fix missing use FQCN for WP_Error (#35305)
* add use WP_Error

phpdoc was not using FQCN for WP_Error, however use is preferred to FQCN anyway
Fix: https://github.com/woocommerce/woocommerce/issues/35304

* Revert "add use WP_Error"

This reverts commit ff62deb10020689f96722e10c5c86669a1454125.

* use FQCN in PHPDoc when using FQCN in code

* add changelog
2022-11-02 10:19:29 +08:00
Barry Hughes 2fcb28b5df
Add filter hook `handle_bulk_actions-woocommerce_page_wc-orders` (#35442)
Add filter hook `handle_bulk_actions-woocommerce_page_wc-orders` to the HPOS admin list table.

This is a duplicate of core WP hook `handle_bulk_actions-<SCREEN_ID>` and allows for custom bulk actions to be handled in the context of the admin list table for HPOS orders.
2022-11-01 15:36:11 -07:00
Joshua T Flowers c2473da79b
Remove insight first product and payment note (#35309)
* Remove InsightFirstProductAndPayment note

* Add changelog entry

* Remove obsolete note

* Fix yoda condition
2022-11-01 11:46:36 -07:00
nigeljamesstevenson c7282de4ee
update/a2p update shipping api-core-tests (#35332)
* update shipping api-core-tests

* merge in trunk to see if this resolves changelog issue

* comments updates
2022-11-01 08:04:20 -06:00
nigeljamesstevenson 9a7a75fdea
add/a2p product variations api-core-tests (#35355)
* add product variations api-core-tests

* add product variations api-core-tests

* comments updates
2022-11-01 07:55:29 -06:00
louwie17 ff2b06c9af
Add create attribute term modal (#35131)
* Add create attribute term modal

* Add back filter missed during rebase

* Add changelog

* Fix lint error

* Address some feedback from PR review

* Prevent first modal from closing if closing the second modal when clicking outside
2022-11-01 09:05:46 -03:00
jonathansadowski 24f6acdc9c
Remove change file for 35349 (#35443) 2022-10-31 17:46:29 -05:00
github-actions[bot] a7a7b5187f
Delete changelog files based on PR 35333 (#35439)
Delete changelog files for 35333

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2022-10-31 17:20:05 -05:00
github-actions[bot] f6f359e1cd
Delete changelog files based on PR 35402 (#35437)
Delete changelog files for 35402

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2022-10-31 17:18:44 -05:00
github-actions[bot] 1f0d4df8ed
Delete changelog files based on PR 35366 (#35435)
Delete changelog files for 35366

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2022-10-31 17:17:19 -05:00
github-actions[bot] 6b770820e9
Delete changelog files based on PR 35118 (#35433)
Delete changelog files for 35118

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2022-10-31 17:14:47 -05:00
github-actions[bot] 8bc69e755e
Delete changelog files based on PR 35428 (#35430)
Delete changelog files for 35428

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2022-10-31 17:09:20 -05:00
Joshua T Flowers e1ebabba29
Fix up rich text editor initial selection and add blocks (#35286)
* Fix double click toolbar behavior

* Fix initial block selection on editor load

* Add placeholder option to RichTextEditor

* Add image and video blocks

* Set toolbar height

* Allow inserter to be shown

* Allow media uploads in rich text editor

* Add changelog entries

* Fix media upload

* Check for existence of selected blocks before checking length

* Pass blocks to avoid race in detecting initially empty blocks
2022-10-31 14:36:54 -07:00
Joshua T Flowers 66370c823f
Add inventory advanced section (#35164)
* Add sold individually inventory option

* Add backorder purchase options

* Add margin around collapsible content areas

* Add changelog entry

* Add tests around inventory section

* Fix up checkbox props after rebase

* Check for disabled track quantity toggle

* Update manage stock test

* Fix nested radio control label margin
2022-10-31 14:36:33 -07:00
Barry Hughes 2355822ec5
Ensure the HPOS/COT order status correctly tracks the CPT order status (#35402)
Ensure the HPOS/COT order status correctly tracks the CPT order status (during manual order creation).

* Linting.
* Address coding standards (no need to prepare the query when there are no placeholders).
* Woops! Restore use of `$wpdb->prepare()`, add phpcs:ignore rule.
2022-10-31 14:12:14 -07:00
nigeljamesstevenson 1b2a94b030
add/a2p reports api-core-tests (#35388)
add reports api-core-tests
2022-10-31 14:01:21 -06:00
nigeljamesstevenson 613be5a990
add/a2p data api-core-tests (#35347)
* add data api-core-tests

* add newline to see if this resolves changelog issue

* add newline to see if this resolves changelog issue
2022-10-31 13:23:10 -06:00
jonathansadowski edb59aef4d
Update/blocks 8.7.5 (#35428)
* Update blocks to 8.7.5

* Add changelog file
2022-10-31 14:22:15 -05:00
Paul Sealock 19f0410bc1
PHPCS: Lint only changes (#35407)
Add `sirbrillig/phpcs-changed` to run PHPCS only on changes, not entire files
2022-11-01 07:53:01 +13:00
Néstor Soriano 11e22063ca
Exclude inactive plugins from the incompatible plugins view (#35333)
* Changes in the plugin-feature compatibility warnings:

- Show only active plugins in the "Incompatible with..." plugins view
- Show an empty page when the view is loaded and no Incompatible
  plugins are active (instead of listing all the existing plugins)

* Add changelog file
2022-10-31 17:11:06 +05:30
Vedanshu Jain 6c551b0cd6
Also support syncing for HPOS with stats table. (#35118)
* Also support syncing for HPOS with stats table.

* Add changelog.

* Fixup.

* More fixup.

* test commit by disabling importing admin test orders.

* Update get_items to work with HPOS.

* Modify tests to assert against invalid result.

* test commit for ci.

* Remove seperate test as its quite slow.

* Applied coding standards.

* Coding standards, part 2.
2022-10-31 14:33:18 +05:30