Commit Graph

49804 Commits

Author SHA1 Message Date
Roy Ho 17c8a7fb0a
Remove failing jobs (#34902)
Remove failing jobs"
2022-10-04 05:36:58 -07:00
RJ c19228da95
Dev: migrate @woocommerce/data reviews to Typescript (#34844) 2022-10-04 19:42:40 +08:00
Matt Sherman 196623c004
Update Remote Inbox Notifications Total Payments Value documentation (#34792)
Fix typo in Total Payments Value section of README
2022-10-03 14:26:22 -04:00
Matt Sherman 3ea8c22af5
Remove unfinished and unused SplitDropdown component (#34806) 2022-10-03 14:23:57 -04:00
Maikel David Pérez Gómez d3c19642b0
Add shipping dimensions image (#34857)
* Remove custom styles from FormSection component and use Card and CardBody instead

* Add dimension fields formating using the woo number global settings

* Load size units to show it as a suffix of shipping dimensions fields

* Fix card styles according the disign and pass props manually to BaseControl

* Add shipping dimensions image

* Apply comment suggestions
2022-10-03 15:06:17 -03:00
nigeljamesstevenson 456dd02352
update workflows to use the playwright api-core-tests instead of the … (#34935)
* update workflows to use the playwright api-core-tests instead of the equivalent supertest versions

* add changelog file
2022-10-03 10:49:42 -06:00
github-actions[bot] ffe7d4dc1b
Delete changelog files based on PR 34920 (#34924)
Delete changelog files for 34920

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2022-10-03 08:24:30 -07:00
github-actions[bot] 2ec971412b
Delete changelog files based on PR 34892 (#34922)
Delete changelog files for 34892

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2022-10-03 08:21:04 -07:00
nigeljamesstevenson 75c91ccdc0
E2e pw/migrate api core tests to use playwright 34126 (#34835)
* playwright api-core-tests

* playwright api-core-tests

* playwright api-core-tests

* Workflow updates

* Workflow test updates

* workflow test update

* Workflow testing

* Workflow testing

* workflow test updates

* workflow test updates

* Workflow update test

* Workflow update test restore

* add gitignore for api core tests output dir

* Workflow test with playwright api tests

* Workflow restore to original

* update readme and playwright config
2022-10-03 07:41:27 -06:00
Adam Heckler 4b44189e1d
Change "WCPay" to "WooCommerce Payments" (#34666) 2022-10-03 15:42:04 +05:30
Néstor Soriano 2e9ed0e035
Fix: can't place orders for Saint Martin (#34920) 2022-10-03 11:26:48 +02:00
Chi-Hsuan Huang 5f2aa49579
Deploy spotlight product tour (#34859)
* Remove product tour experiment code

* Remove experimental-product-tour flags

* Replace old product tour

* Add changelog

* Remove spotlight query string
2022-10-03 16:34:49 +08:00
Chi-Hsuan Huang c4befcde2b
Fix wrong payment tasks display logic (#34892)
* Fix the wc pay view logic so that we don't display it even when payment task is completed

* Add changelog
2022-10-03 16:34:38 +08:00
Chi-Hsuan Huang 08848d46ca
Fix onboarding wizard popover padding (#34896)
* Fix onboarding wizard popover padding for WP6.1

* Add changelog
2022-10-03 16:34:20 +08:00
Chi-Hsuan Huang 4a39091961
Add "aria-disabled" prop to truly disable OBW continue buttons (#34895)
* Add aria-disabled prop to truly disable OBW continue buttons

* Add changelog
2022-10-03 16:32:23 +08:00
Sam Seay c46f4baa49
Remove the pre-commit husky hook (#34916) 2022-10-03 11:51:12 +13:00
Sam Seay 59e0c80f3c
Update the pnpm constraint to 7.12.2+ now auto-install is fixed. (#34872) 2022-10-03 10:52:42 +13:00
github-actions[bot] 666e5913f9
Delete changelog files based on PR 34712 (#34891)
Delete changelog files for 34712

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2022-09-30 09:43:01 -07:00
Vedanshu Jain 045c5850b6
Render columns via action so that they can be hooked into (#34900)
Render columns via action so that they can be hooked into.
2022-09-30 08:15:15 -07:00
Roy Ho 2c5d6b95cb
Replace expired token with generic GH token (#34901) 2022-09-30 07:48:38 -07:00
Barry Hughes 5cb5be8e9a
[HPOS] Add hooks that fire before an order is trashed/deleted. (#34858)
New hooks are:

1. `woocommerce_before_delete_order`
2. `woocommerce_before_trash_order`
2022-09-30 09:11:46 -03:00
Barry Hughes d5bf2feeb1
Immediately propagate changes to orders (from CPT → COT). (#34863)
Add callback to update COT when CPT is authoritative and individual orders are updated.
2022-09-30 13:26:25 +05:30
Peter Fabian ab23314f56
Fix/json order > line_items > image schema (#34852)
* Removed the type spec for properties.

* Changelog.

* Removed double propoerties.
2022-09-30 13:23:48 +05:30
Joshua T Flowers 3fd736c72f
Update plugins installer component to TS, Fix TS bugs and Syncpack TypeScript (#34787) 2022-09-30 10:59:07 +13:00
Jonathan Lane 4ccb2b478a
Fix/test env setup set customer registered datetime (#34888) 2022-09-29 12:44:06 -07:00
jonathansadowski d0c093f640
Update the PHP version for changelogger workflow (#34887) 2022-09-29 14:20:08 -05:00
Maikel David Pérez Gómez 7fe05d65f3
Load size units to show them as a suffix of shipping dimensions fields (#34856)
* Add dimensions to shipping section
Change the FormComponent to support input name with dot notation like dimensions.width
Add the dimension controls to the product form

* Remove custom styles from FormSection component and use Card and CardBody instead

* Add dimension fields formating using the woo number global settings

* Add dimension fields validations

* Solve conflics from rebase

* Add changelogs

* Fix resetForm function to consider the passed params and the initialValues

* Load size units to show it as a suffix of shipping dimensions fields

* Fix card styles according the disign and pass props manually to BaseControl
2022-09-29 14:54:04 -03:00
Jorge A. Torres 23e237dc2a
Honor query args when redirecting from posts to HPOS list table (#34868) 2022-09-29 10:22:42 -07:00
Matt Sherman 35ede22a3d
DateTimePickerControl updates (#34656)
* Switch DateTimePickerControl to use InputControl instead of DateInput
* Add label, placeholder, help props to DateTimePickerControl
* Clean up DateTimePickerControl storybook stories
* Add additional tests for DateTimePickerControl
* Debounce changes in input for DateTimePickerControl
2022-09-29 11:13:31 -04:00
Jorge A. Torres a1f5b71e27
Allow features to declare a default 'enabled' state (#34867)
Allow features to have a default state via `enabled_by_default`.

* Remove unnecessary import

* Allow features to have a default state via `enabled_by_default`

* Add changelog
2022-09-28 13:17:08 -07:00
Vedanshu Jain 019b0b4df8
Move props from datastore to order object and implement $save params for DataStore (#34627)
* Change order data store internal key to props for better representation.

* Add changelog

* Add legacy datastore prop for WC_Data object to support COT.

* Also support passing in `get_stock_reduced` method.

* Add internal meta keys to order table data store.

* Add tests for CPT datastore for orders.

* Change return type to prevent implicit type conversion.

* Use correct conversion.

* Revert "Use correct conversion."

This reverts commit 97ead11f71.

* Add conversions to test as needed.

* Add internal keys for order table data store for consistency.

* Apply code standards.

* Remove $save param for consistency with parent class.

Earlier, we added the $save parameter for performance reason, but now that we are storing the props in the WC_Order object, this isn't needed anymore (as the object can hold the updated props).

* Return bool instead of string as described.

* Fix test by transforming bool values before confirming.

* Fix test by not needing to converting to string, since we now bool value.

* Store internal props as bool instead of string.

* Remove unused method.

* Only select props for refunds that are actually needed.

* Store bool as yes/no to maintain compatibility with how were storing prev.

* Fix unit test to extpect yes.

* Add tests and set special metadata migrated from data store correctly.

* Add tests for legacy prop get/set in ordertabledatastore.

* Update email class to use data store method instead of get_meta.

* Update exisiting tests to account for changes in legacy prop setting.

* Add support for order IDs to prop getters in `OrdersTableDatastore`

* `OrdersTableDatastore::get_download_permissions_granted()` should no longer rely on metadata

Co-authored-by: Jorge A. Torres <jorge.torres@automattic.com>
2022-09-28 14:07:41 -03:00
Matt Sherman b8066f9b31
Add FormContext().setValues() support (#34617)
* Add setValues to FormContext
* Add onChanges callback to handle when multiple values are changed at once
2022-09-27 19:06:53 -04:00
Roy Ho b00e7ee445
Update PNPM commands in documentation post PNPM 7 update (#34853) 2022-09-27 13:55:31 -07:00
github-actions[bot] 814cd39e3c
Delete changelog files based on PR 34832 (#34846)
Delete changelog files for 34832

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2022-09-27 11:49:58 -07:00
Gan Eng Chin 9e697cdf0a
Add tests for UI Revamp on Marketing page (#34840) 2022-09-27 22:25:48 +08:00
Chi-Hsuan Huang c31f8b0aa5
Fix industry options not populate after reloading page (#34847)
* Add a spinner loader to ensure Industry loaded after data fetched

* Add changelog

Fix style
2022-09-27 16:26:22 +08:00
Chi-Hsuan Huang 84641b1c41
Fix enable guided mode button not trigger when its text is translated (#34843)
* Fix enable guided mode button not trigger when its text is translated

* Add changelog
2022-09-27 16:12:01 +08:00
Chi-Hsuan Huang fdbb6be37f
Fix Tour Kit stories loading error (#34831)
* Exclude debug module from webpack transpile to load tour kit stories

We originally added debug module in https://github.com/woocommerce/woocommerce-admin/pull/5987 to fix a IE11 issue.
Since we've drop IE11 support, it should be fine to remove it.

* Add changelog
2022-09-27 15:38:08 +08:00
Néstor Soriano 6e66de75cd
Add the WooCommerce features engine, take 2 (#34727)
Includes adapting the existing Admin features (enable analytics, enable the new navigation) to use the new engine.
2022-09-27 09:26:09 +02:00
Chi-Hsuan Huang ab484e579b
Fix failing to update onboarding profile data for PHP 8 (#34832)
* Fix failing to update industries

* Add changelog

* Update changelog

* Update onboarding profile unit tests to test all schema fields
2022-09-27 13:50:16 +08:00
Sam Seay c0fe3ec18f
Fix pnpm version to 7.11.0 in engines and in CI (#34773) 2022-09-27 11:30:52 +13:00
louwie17 c01c48c8c3
Add initial attributes section for empty state (#34751)
* Add new attributes section and attributes field with just an empty state

* ADd changelogs

* Add check to not render the blank section when attributes exist

* Fix misspelling
2022-09-26 14:44:06 -03:00
Jorge A. Torres daf00f7f13
[COT] Do not set order prop to NULL while reading order data (#34822)
Do not set order prop to NULL while reading order (HPOS)
2022-09-26 09:10:27 -07:00
Roy Ho 96cdef649a
Add changelog and bump version (#34838) 2022-09-26 07:02:12 -07:00
Greg 3089e3e969
Update e2e-pw link in README (#34768)
Update the link in the README for `e2e-pw` to point to the correct location
2022-09-26 07:51:15 -06:00
louwie17 1dc50326b7
Disable product management experience in dev env (#34836)
* Set product management experience to false in development

* Disable new-product-management-experience feature flag in development
2022-09-26 10:07:44 -03:00
Chris Lilitsas 63aa382ffb
Add a header for the "Add store details" task in woocommerce admin (#34712)
* Add store-details task header and ensure the aid is disabled when task is completed

* Add an illustration

* Update the texts

* Add changelog

* Revisit progress header styles

* Bring back ellipsis menu

* Align the ellipsis menu on the baseline

* Give some room to the badge in the sidebar

* Update progress bar color with variable
2022-09-26 15:19:47 +03:00
Chris Lilitsas 20b561f2f6
Enhance "Add store details" task onboarding experience (#34697)
* Change the visibility condition of the store details onboarding tour

* Add changelog

* Rename handler variable

* Modify aid description

* Cleanup
2022-09-26 14:52:23 +03:00
Roy Ho 18901f19a7
Remove the check for plugins: woocommerce label (#34820) 2022-09-23 12:11:50 -07:00
Barry Hughes 2098bdce0f
(HPOS/COT) Orders Admin List > Prevent user from paging out-of-bounds (#34793)
(HPOS/COT) prevent user from paging beyond available range (admin list table for orders).
2022-09-23 13:50:36 -03:00