Commit Graph

50122 Commits

Author SHA1 Message Date
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
Roy Ho ce133089b9
Fix random failing changelog entry (#35425) 2022-11-04 09:11:26 -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
github-actions[bot] a6921dd4b6
Update changelog.txt from release 7.0.1 (#35457)
Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2022-11-04 07:36:37 -05: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
Matt Sherman f0ee7a4882
DateTimePickerControl: Only call onChange when the date actually changes (#35397)
* Additional onChange tests
* Update handling when currentDate or dateTimeFormat changes to avoid errant onChange calls
* Remove unused changeImmediate function
* Refactor input change handling
* Refactoring of updateState* functions to reduce duplication and increase readability
* Refactor to remove a few unnecessary wrapper functions
* Rename setInputStringWithMoment to formatDateTimeForDisplay
* Refactor ISO formatting
* Rename parse functions
* Update controlled stories to properly use state
* Refactored to get rid of useEffect handling of currentDate and inputString changes
2022-11-03 12:54:17 -04: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
louwie17 aea554bcdb
Fix/form ts error (#35394)
* Fix forwardRef type in the Form component

* Add changelog

* Revert type changes
2022-10-31 17:11:31 -03:00
nigeljamesstevenson 1b2a94b030
add/a2p reports api-core-tests (#35388)
add reports api-core-tests
2022-10-31 14:01:21 -06:00
Roy Ho 20bb576fb6
Restore previously installed pnpm version (#35389) 2022-10-31 12:29:43 -07: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
Vedanshu Jain 2c5d3d2acc
Check order type is set before returning to prevent notice. (#35349)
* Check order type is set before returning to prevent notice.

* Applied code standards.

* Remove type declaration since its not consistent with CPT datastore.

* Switch to a yoda condition (satisfy required linting check).

Co-authored-by: barryhughes <3594411+barryhughes@users.noreply.github.com>
2022-10-31 14:26:28 +05:30
github-actions[bot] fa1ecf6e8b
Delete changelog files based on PR 35371 (#35400)
Delete changelog files for 35371

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2022-10-28 16:39:54 -05:00
louwie17 8740a8a970
Update shipping label banner add meta boxes function (#35212)
* Add check to see if we are on a shop_order page.

* Update deprecated function call

* Add changelog

* Fix yoda condition
2022-10-28 17:08:13 -03:00