Gan Eng Chin
f19969dacb
Change NewCampaignTypes to CampaignTypes.
2023-03-09 21:52:11 +08:00
Gan Eng Chin
39ce470fe8
Specify dependency for useSelect in useNewCampaignTypes.
2023-03-09 21:43:54 +08:00
Gan Eng Chin
3ba492f32b
Move convert function out of useSelect in useNewCampaignTypes.
...
This is so that it doesn't become dependency in useSelect.
2023-03-09 21:42:59 +08:00
Fernando Marichal
3edd8f48cb
Add validation to enable Save attributes and Save variations buttons ( #37046 )
...
* Add validation for attributes and variations
* Enable save button when data is valid
# Conflicts:
# plugins/woocommerce/includes/admin/meta-boxes/views/html-product-data-variations.php
* Add changelog
* Remove if
* Remove validation while saving
# Conflicts:
# plugins/woocommerce/client/legacy/js/admin/meta-boxes-product-variation.js
* Rename method `is_attribute_or_variation_empty`
* Add button title when disabled
# Conflicts:
# plugins/woocommerce/includes/admin/meta-boxes/views/html-product-data-variations.php
* Fix typo
* Fix e2e tests
* Convert functions into global fn
* Use maybe_disable_save_button
* Fix validation
* Refactor `is_attribute_or_variation_empty`
---------
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2023-03-09 10:32:24 -03:00
Sam Seay
bec3ec18ac
Update Syncpack and use it to pin @wordpress packages to wp-6.0 ( #37034 )
2023-03-09 10:13:25 +13:00
Yousuf Hossain
92f94248cd
Added woocommerce_reduce_order_item_stock action hook to let other plugin hook functionalities without looping through the order items again and again. ( #34721 )
...
* Added woocommerce_reduce_order_item_stock action hook to let other plugins do somthing without looping again the order line items
* changed "product data" to "change details" and updated docblock as instructed
* maintained WP coding standards and change @since docblock tag
2023-03-08 18:05:40 -03:00
Ron Rennick
83fb31db8e
Orders: Update date modified on refund ( #37047 )
2023-03-08 13:10:49 -04:00
Gan Eng Chin
6d72c2bbe1
Fix failed test for Campaigns component.
2023-03-09 01:08:28 +08:00
Gan Eng Chin
66e46d8942
Run lint:css-fix.
2023-03-09 00:34:20 +08:00
Justin Palmer
a74f80d19d
Add tracking support for marketplace and multichannel marketing options. ( #37017 )
2023-03-08 15:41:46 +01:00
Maikel David Pérez Gómez
3ded2b46e9
Create editor skeleton on add/edit product pages ( #37023 )
...
* Add required dependencies
* Create the block editor component
* Create the header component
* Create the sidebar component
* Create the editor component
* Remove comments
* Export the block editor from its package
* Enqueue wp-edit-site
* Create the new block mode product page
* Register the new ProductPage component in /add-product route
* Add temporal layout styles
* Fix rebasing conflicts
* Fix linter errors
* Redirect to the new product-editor page when edit
* Add changelog files
* Fixing dependencies conflicts and ignoring some non running test
* Add comment suggestions
* Fix conflicts after rebasing
* Add comment suggestions
2023-03-08 05:51:59 -04:00
rodelgc
b60cc128fd
Allow running of "Smoke test release" on draft releases ( #36997 )
...
* Conditionally use authorization token when getting WC Zip download URL.
* Exponse error message
* Handle undefined authorization token more gracefully
* Specify GH token in workflow
* Add changelog
* Use E2E_GH_TOKEN instead of default github.token
* Provide GitHub token to other jobs
* Fix getting of tag name from triggered event
* Use "inputs" context instead
* Add release version to workflow name
* Correct concurrency group
* Fix workflow name
* Add --archive option
* Fix output setting
* Fix script for verifying asset
* Remove unnecessary 'uses' line
* Remove node 12 deprecation messages
* Re-add "published" release type
2023-03-08 10:23:56 +01:00
Tomek Wytrębowicz
dbc3cde987
Remove redundant code from Report classes ( #36883 )
2023-03-08 08:46:08 +01:00
Fernando Marichal
a23b2cf415
Fix duplicated global attribute ( #37109 )
...
* Add fix
* Add changelog
---------
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2023-03-07 18:04:17 -03:00
Gan Eng Chin
1a28784bbe
Add changelog.
2023-03-08 03:06:05 +08:00
Gan Eng Chin
4068808f0a
Merge branch 'feature/34909-marketing-create-campaign-modal' into feature/34904-marketing-introduction-banner
2023-03-08 03:03:31 +08:00
Gan Eng Chin
97ed1d2a7d
Fix array length rendering literal 0 in CreateNewCampaignModal.
2023-03-08 02:57:02 +08:00
Gan Eng Chin
42ac7e4d28
Better logic for displaying buttons in IntroductionBanner.
2023-03-08 02:54:43 +08:00
Gan Eng Chin
8fe3781266
Use ref instead of location hash to scroll to add channels section.
2023-03-08 02:06:06 +08:00
Néstor Soriano
8786c19b74
Fix: variations exported as draft were imported as draft ( #36933 )
...
* Fix: variations exported as draft were imported as draft
* Add changelog file
* Fix "ArrayUtil::get_value_or_default" for existing keys with null values
Now ArrayUtil::get_value_or_default($array, $key, $default) will return
null, instead of $default, when $array[$key] exists and is null.
* Undo the change to ArrayUtil (will get its own PR)
2023-03-07 13:57:17 -03:00
Gan Eng Chin
0cb2fb1cd0
Display CreateNewCampaignModal upon button click in IntroductionBanner.
2023-03-08 00:37:55 +08:00
Gan Eng Chin
a9b696d28c
Move CreateNewCampaignModal to shared components folder.
2023-03-08 00:34:09 +08:00
jonathansadowski
81fdbe3125
Update release post tool tmp path ( #36836 )
2023-03-07 09:13:15 -06:00
Rodrigue
fc0030eb4a
Fix/37083 page displays 0 for empty recommended channels ( #37104 )
2023-03-07 17:12:02 +02:00
Rodrigue Tusse
6f8f35b9f1
Add changelog.
2023-03-07 15:15:35 +02:00
Rodrigue Tusse
ed6c19b827
Fix 0 rendered on short-circuit evaluation.
2023-03-07 15:06:25 +02:00
Viktor Szépe
f1a3f388bd
Fix variable name in Reports\Stock\Stats ( #37057 )
...
* Fix variable name in Reports\Stock\Stats
* Add since tag
* Add changelog
2023-03-07 09:44:51 +08:00
github-actions[bot]
e8b8c058b0
Delete changelog files based on PR 37051 ( #37093 )
...
Delete changelog files for 37051
Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-03-07 12:52:05 +13:00
Niels Lange
9218bfd237
Bump WooCommerce blocks package to 9.6.5 ( #37051 )
...
---------
Co-authored-by: Saad Tarhi <saad.trh@gmail.com>
2023-03-07 12:25:22 +13:00
Corey McKrill
d2e1ff4333
Add unit test
2023-03-06 15:07:19 -08:00
Corey McKrill
0c9bd08ed6
Tweak the input value for date_modified
...
Turns out the value used here doesn't matter, because it will always
update to the current time. It just needs to have a changed prop in
order for the save to execute.
2023-03-06 15:05:41 -08:00
Joel Thiessen
2332c7c813
Migrating details fields to product-editor package ( #36945 )
2023-03-06 14:33:10 -08:00
Maikel David Pérez Gómez
79841c58a5
Fixes react version to 17.0.2 globally ( #37087 )
...
* Fix react version to 17.0.2 globally
* Add changelog file
2023-03-06 18:38:05 -03:00
Ron Rennick
a78fe23e61
Fix Typo in Variable Name on line 342 ( #36759 )
2023-03-06 14:09:58 -04:00
Ron Rennick
7d62529dd4
Allows developers to add their own filters to the active filters list ( #36705 )
2023-03-06 13:18:04 -04:00
Joel Thiessen
b825b51767
Moving useProductHelper and useVariationsOrder hooks to product editor package ( #37006 )
2023-03-06 09:11:54 -08:00
Ron Rennick
5586fb96ba
Add changelog file
2023-03-06 13:09:14 -04:00
Gan Eng Chin
7c9eedbbb4
Merge branch 'feature/34909-marketing-create-campaign-modal' into feature/34904-marketing-introduction-banner
...
Conflicts:
plugins/woocommerce-admin/client/marketing/hooks/index.ts
plugins/woocommerce-admin/client/marketing/overview-multichannel/Channels/RecommendedChannels.tsx
plugins/woocommerce-admin/client/marketing/overview-multichannel/MarketingOverviewMultichannel.tsx
2023-03-07 00:46:38 +08:00
Ron Rennick
c67ccf6492
Move the changelog to the correct folder
2023-03-06 10:49:21 -04:00
Viktor Szépe
deb1d131ad
Fix absolute imports ( #37058 )
...
* Fix absolute imports
* Add changelog
* Fix changelog
2023-03-06 19:38:52 +08:00
Viktor Szépe
50fe847b56
Fix class namespaces in Onboarding ( #37056 )
...
* Fix class namespaces in Onboarding
* Add changelog
2023-03-06 19:33:23 +08:00
Marco Almeida
4b9be76926
Add @since tag to hooks doc
2023-03-06 09:55:22 +00:00
Ron Rennick
f1601fd6ad
Add changelog file
2023-03-03 15:07:11 -04:00
Leif Singer
6e2c4d1fa9
Update PR labeler to work with updated focus labels ( #37061 )
...
We recently added team names to the `focus: ...` labels:
https://github.com/woocommerce/woocommerce/labels?q=focus
The PR labeler relies on exact label names, however. This PR updates the PR labeler to conform to the new string.
2023-03-03 19:32:15 +01:00
Nathan Silveira
a39abbb15e
Fix jQuery event being erased when element was replaced after saving attributes ( #37019 )
...
Attach create_variations event to parent to avoid erasing it when DOM element is replaced
2023-03-03 14:34:07 -03:00
Gan Eng Chin
e653a4ca15
Merge branch 'trunk' into feature/34909-marketing-create-campaign-modal
2023-03-04 01:04:59 +08:00
Gan Eng Chin
3e620c41c6
Add tests for CreateNewCampaignModal.
2023-03-04 01:02:46 +08:00
Joel Thiessen
36655cb1e4
Updating rest namespace for product post type to v3 ( #37028 )
2023-03-03 08:30:56 -08:00
Barry Hughes
6f3858e82d
Fix class name in ProductDownloadsServiceProvider ( #37052 )
2023-03-03 08:11:55 -08:00
Barry Hughes
b5e122283a
Remove incorrectly-located changelog file
...
(Alternative changelogger tool for community PRs was writing to the wrong location.)
2023-03-03 07:26:13 -08:00