“Chris
9d9a5bbb72
Add changelog
2023-05-01 15:43:03 -07:00
“Chris
a6e4a9e8ab
Fix TT2 comment list
2023-05-01 15:43:03 -07:00
Tomek Wytrębowicz
b0b80445ab
Move common stats item schema bits to a shared class
2023-05-01 23:31:05 +02:00
Tomek Wytrębowicz
6a027f8eb7
Fix whitespaces for PHPCS
2023-05-01 22:51:43 +02:00
Tomek Wytrębowicz
5d75137f73
Rename `AbstractController` to `GenericController`
2023-05-01 22:19:05 +02:00
Tomek Wytrębowicz
58bc88e0fc
Move `interval` collection param to a shared parent class
2023-05-01 22:10:22 +02:00
Tomek Wytrębowicz
766e19e109
Fix `Taxes\Stats\Controller::get_collection_params`
...
remove lefover `$params` overwrite, let it use parent's one.
2023-05-01 21:46:12 +02:00
jonathansadowski
dfd3c9fbb6
Remove woorelease config ( #37730 )
...
* Remove woorelease config
* Add changelog
2023-05-01 13:10:25 -05:00
Joel Thiessen
16b9191c0d
Adding shipping class option and modal ( #37968 )
2023-05-01 10:04:54 -07:00
Joshua T Flowers
d86a3d1dab
Register server-side tracking during rest requests ( #37796 )
...
* Register server-side tracking during rest requests
* Move loading of tracks related functionality to WC class
* Load tracks functions to allow tests to pass
* Move single init hook for WC Site Tracking to core class
2023-05-01 09:50:58 -07:00
Jorge A. Torres
3002a19bce
Print blocks-based element CSS classes only when a block theme is used ( #37631 )
2023-04-28 16:57:51 -03:00
Nathan Silveira
8fc6972161
Fix N/A displayed on re-enabling toggles for "Stats overview" panel after refreshing "Woocommerce > Home" page. ( #38030 )
...
* Fix N/A on stats overview on WooCommerce > Home
* Add changelogs
* Fix wrongfully added type definition
2023-04-28 16:15:10 -03:00
Jorge A. Torres
6fde831921
fix/37604: replace title html attribute with aria-label ( #37811 )
2023-04-28 15:53:44 -03:00
Tomek Wytrębowicz
2654d577c0
Fix whitespaces for PHPCS
2023-04-28 17:41:52 +02:00
Maikel David Pérez Gómez
a35f2c3d5d
Update List price Pricing link on the general tab to navigate to the Pricing tab ( #37961 )
...
* Update List price Pricing link on the general tab to navigate to the Pricing tab
* Add changelog files
* Simplify the event name to product_pricing_help_click
2023-04-28 11:33:56 -04:00
Ali Shan
255d5f377c
Order is search with the phone number and linked with the user accoun… ( #37844 )
...
* Order is search with the phone number and linked with the user account. #36810
* updated the query and tested on local env
* fixed the phpcs issue
* added the changelog
* updated the string concatenation issue and also moved the change log file to the correct path
* removed the %i placeholder from the query and used the old way to add the table name
2023-04-28 11:11:58 -04:00
Tomek Wytrębowicz
f5779ba468
Add the changelog entry
2023-04-28 16:44:19 +02:00
Tomek Wytrębowicz
9f921b8e40
Move common `prepare_item_for_response` bits to the shared class
...
to make the code DRYier.
`Reports/Controller` differs, so its children will still contain redundant code.
2023-04-28 16:41:20 +02:00
Siddharth Thevaril
9f277ad7f5
remove echo
2023-04-28 19:32:49 +05:30
Tomek Wytrębowicz
9126db1abb
Move common `get_collection_params` bits to the shared class
...
to make the code DRYier
2023-04-28 15:40:30 +02:00
louwie17
411a3e600a
Remove dot in images description ( #37983 )
2023-04-28 05:46:33 -03:00
RJ
d15f62241f
dev: added xstate inspector toggling ( #38022 )
...
* dev: added xstate inspector toggling
* dev: added eslint-plugin-xstate
2023-04-28 15:30:52 +08:00
Tomek Wytrębowicz
7a2a80bf81
Move `X-WP-Total` headers logic to a shared class,
...
to DRY - remove duplicated code
2023-04-27 15:28:30 +02:00
Matt Sherman
72551f170a
Show correct variations count when generating a single variation ( #37876 )
2023-04-26 21:40:08 -04:00
Moon
3c2bae196b
Add navigation and progress-bar components for the new core profiler ( #37741 )
...
* add: core profiler scaffolding using xstate
* Add navigation and progress-bar components
* fix css lint error
* Update plugins/woocommerce-admin/client/core-profiler/components/navigation/woologo.tsx
Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
* Update plugins/woocommerce-admin/client/core-profiler/components/progress-bar/progress-bar.tsx
Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
* Update plugins/woocommerce-admin/client/core-profiler/components/navigation/navigation.tsx
Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
* Import HTMLAttributes
* Remove var from __ function
* Make progress bar color configurable
* Destruct props directly in the function and use const to define the comp
* Refactor fillerStyles
* Use woocommerce prefix for classnames
* Use inherit for display -- initial did not work properly
* Fix css lint error
* Remove unused WooLogo var
* Use named export
* Fix js style
* Add changelog
* Fix broken tests
---------
Co-authored-by: rjchow <me@rjchow.com>
Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
2023-04-26 17:27:53 -07:00
Abdalsalaam Halawa
704ad2832a
Limit the number of products that are listed in the held stock note.
2023-04-27 00:09:43 +02:00
Paul Sealock
64c2526b98
Update WooCommerce support policy to L-1 ( #37970 )
2023-04-27 08:41:31 +12:00
Leif Singer
dc88812e90
Update stable tag to 7.6.1 ( #38006 )
2023-04-26 17:44:55 +02:00
Corey McKrill
ddc94fc59f
Fix/36785 Clear floats after Product Summary in 2023 theme ( #37877 )
...
Ensures that sections like related products and upsells don't wrap around the product image if there's no product description.
Fixes #36785
2023-04-26 06:28:55 -07:00
Tomek Wytrębowicz
c924b21c84
Remove `$rest_base` from `…\API\Reports\Controller` as it is defined in its parent `WC_REST_Controller`
2023-04-26 14:44:20 +02:00
Matt Sherman
e81f8ae88f
Update AdvancedFilters to use createInterpolateElement instead of interpolateComponents ( #37967 )
2023-04-26 06:58:14 -04:00
Joel Thiessen
6f7eeeaf49
Refactoring LayoutContext and implementing with product editor ( #37720 )
2023-04-25 15:17:33 -07:00
Ron Rennick
e849ff002f
Fix #36664 ( #37916 )
2023-04-25 18:57:13 -03:00
Christopher Allford
c99a1eb633
Fixed Beta Tester TSConfig ( #37841 )
...
All of our TS projects need this to avoid pulling conflict types
from higher `node_modules` directories.
2023-04-25 13:20:04 -07:00
Ron Rennick
dec3e66410
Change from using a `figure` to using a `div` around the single product image ( #37853 )
2023-04-25 17:05:31 -03:00
Ron Rennick
c7335b2070
Add changelog file
2023-04-25 17:01:40 -03:00
Jorge A. Torres
226af5017d
Fix "Out of stock threshold" when filed value is empty - Fix/issue 36960 ( #37855 )
2023-04-25 15:36:43 -03:00
Joshua T Flowers
48af8c1333
Add the product description block and callbacks for the IframeEditor ( #37852 )
...
* Add onChange and onClose callbacks to IframeEditor
* Add description block
* Add initial blocks to iframe editor
* Update button text when description already exists
* Remove unused editorStyle block property
* Debounce onChange callback
* Add changelog entry
* Handle PR feedback
* Fix up export after rebase
2023-04-25 11:05:25 -07:00
Ravinder Kumar
f58ea73702
use of page.fill() in variable product e2e tests ( #37854 )
...
* tweeak: use locator to fill values
* chore: log change
* format: improve code formatting
* chore: remove locator refference from variable name
* Update create-variable-product.spec.js
Specify last element with selector
* Update create-variable-product.spec.js
Different selector
* Update create-variable-product.spec.js
Third time is a charm.
* Update create-variable-product.spec.js
.second doesn't exist. User .nth
---------
Co-authored-by: Jonathan Lane <lanej0@users.noreply.github.com>
2023-04-25 09:45:33 +02:00
Sam Seay
7cbc3811d8
Update monorepo to pnpm 8 and Node to 16.14 ( #37915 )
2023-04-25 18:49:30 +12:00
Paul Sealock
99fd4a1e09
Delete changelog from cherry picked commit from 37890 ( #37946 )
...
remove changelog from cherry picked commit
2023-04-25 08:38:15 +12:00
Jorge A. Torres
4ae4e15777
Plugin installer version 2 ( #37753 )
2023-04-24 14:44:13 -03:00
Maikel David Pérez Gómez
fb7e68a83d
Track stock quantity for this product should be disabled when Enable stock management within settings is disabled, and enabled otherwise ( #37957 )
...
* Track stock quantity for this product should be disabled when Enable stock management within settings is disabled, and enabled otherwise.
* Add changelog files
2023-04-24 13:42:45 -04:00
Denis Dvali
d428a51606
Fix warnings "PHP Deprecated: Creation of dynamic property".
2023-04-24 21:12:53 +04:00
Matt Sherman
2ab11a7236
Analytics: Fix update_registered_customer when invalid user_registered value ( #37907 )
2023-04-24 10:12:48 -04:00
nigeljamesstevenson
c038f22c6d
Fix URL and assertions in merchant/add-order perf tests ( #37719 )
2023-04-24 09:35:24 +01:00
Leif Singer
0fd5224f78
remove unused deasync dependency ( #37821 )
2023-04-24 09:37:40 +02:00
RJ
f0109e89ac
add: new core profiler scaffolding in xstate ( #37628 )
...
* add: core profiler scaffolding using xstate
* address review feedback and questions
* changed path to use setup-wizard
* default new core-profiler feature flag to false
2023-04-24 10:08:24 +08:00
github-actions[bot]
e60d251cd0
Delete changelog files based on PR 37927 ( #37944 )
...
Delete changelog files for 37927
Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-04-24 11:19:36 +12:00
github-actions[bot]
5c98b1c7a8
Delete changelog files based on PR 37818 ( #37826 )
...
Delete changelog files for 37818
Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-04-24 10:05:08 +12:00
github-actions[bot]
ecc4588ffc
Delete changelog files based on PR 37827 ( #37874 )
...
Delete changelog files for 37827
Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-04-24 10:04:58 +12:00
Joel Thiessen
3c5a96712a
Adding Stock status to inventory tab and toggle block ( #37906 )
2023-04-21 14:49:34 -07:00
Maikel David Pérez Gómez
1f2d735d0c
Update current block names to reflect use case and avoid conflicts ( #37851 )
...
* Change woocommerce/product-name to woocommerce/product-name-field
* Change woocommerce/product-summary to woocommerce/product-summary-field
* Change woocommerce/product-pricing to woocommerce/product-pricing-field
* Change woocommerce/product-radio to woocommerce/product-radio-field
* Change woocommerce/product-images to woocommerce/product-images-field
* Fix product name block invalid class name
* Move woocommerce/product-section to blocks folder
* Move woocommerce/product-tab to blocks folder
* Move woocommerce/product-collapsible to blocks folder
* Organize block registration, imports and styles
* Add changelog files
* Change woocommerce/product-category to woocommerce/product-category-field
* Change woocommerce/product-checkbox to woocommerce/product-checkbox-field
* Change woocommerce/product-inventory-email to woocommerce/product-inventory-email-field
* Change woocommerce/product-sku to woocommerce/product-sku-field
* Register woocommerce/product-schedule-sale-fields in server side
* Register woocommerce/product-track-inventory-fields in server side
* Fix invalid reference in tabs tests
2023-04-21 16:26:53 -04:00
Joel Thiessen
87da63eb3a
Moving section icon svgs to assets folder and loading by URL ( #37869 )
2023-04-21 11:53:06 -07:00
Barry Hughes
afe226d573
Fix bulk sale price update ( #37812 )
2023-04-21 11:43:30 -07:00
louwie17
07fc512429
Fix/37785 cash on delivery not showing ( #37927 )
...
* Mkae sure the date_column_name default matches that of stats
* Add changelog
* Fix test
2023-04-21 14:44:58 -03:00
Barry Hughes
bf8d19e35a
Create default pages in store locale language ( #37795 )
2023-04-21 10:35:53 -07:00
Gan Eng Chin
b44eca1c59
Fix wrong file name in error message in `update-wp-env.php` ( #37891 )
2023-04-22 00:41:48 +08:00
TarekNabil
5d82365ec1
Fix #36664
2023-04-21 18:29:44 +02:00
“Chris
e30983ef59
Add changelog
2023-04-21 19:07:32 +03:00
“Chris
ddb399b4aa
Add order-pagination button class
2023-04-21 19:03:28 +03:00
“Chris
43bd317797
Add no-downloads button class
2023-04-21 19:03:04 +03:00
“Chris
65bf73835d
Add order-again button class
2023-04-21 19:02:48 +03:00
Ron Rennick
78fce9af35
more filter PHPDocs
2023-04-21 12:59:59 -03:00
Barry Hughes
ab13304b4e
Adjust changelog.
2023-04-21 08:54:10 -07:00
Matt Sherman
8c5053a385
Hide stock status field if stock management is enabled ( #37890 )
2023-04-21 11:13:03 -04:00
Ron Rennick
e524e959d6
add filter PHPDocs
2023-04-21 10:51:46 -03:00
faisal-alvi
a4c88e90b1
templates version bump to 7.8.0
2023-04-21 14:05:15 +05:30
faisal-alvi
70cbbeebd4
updating the product name var
2023-04-21 14:02:35 +05:30
louwie17
e88152ff3c
Add category field block ( #37295 )
...
* Add initial category block
* Add changelogs
* Add label to font family for block editor and fix template
* Fix rebase conflict and add content role
* Some styling changes for the category field
* Move category block to blocks folder and fix merge conflict.
* Address some styling issues, and update keywords
* Fix css lint error
2023-04-21 05:10:35 -03:00
mujuonly
9cfd58ad15
Fix: variations are counted as products in import message of number of products imported ( #37829 )
...
Co-authored-by: mujuonly <muju.only@gmail.com>
Co-authored-by: barryhughes <3594411+barryhughes@users.noreply.github.com>
Co-authored-by: Nestor Soriano <konamiman@konamiman.com>
2023-04-21 08:22:08 +02:00
Tyler Paulson
c19a42398b
Prevent PHP Error in Customers API Endpoint ( #37860 )
...
Co-authored-by: Joshua T Flowers <joshuatf@gmail.com>
2023-04-21 08:14:24 +02:00
TarekNabil
e92b607081
Fix #36664
2023-04-21 08:06:06 +02:00
Paul Sealock
99c47835b6
Update php version requirement in readme to same as main file, 7.3 ( #37780 )
...
* fix PHP version in readme to same as main file. 7.3
* changelog
2023-04-21 09:52:18 +12:00
Darin Kotter
1fa28125e3
Add back figure CSS to support sites that may have overridden the single image template
2023-04-20 13:16:24 -06:00
“Chris
3a467bb6a0
Add changelog
2023-04-20 20:59:41 +03:00
Ron Rennick
7073fea067
Add REST API Products featured image ( #37815 )
2023-04-20 14:58:03 -03:00
“Chris
e10fb35731
Fix tt3 attributes table
2023-04-20 20:57:24 +03:00
Ron Rennick
2ece044c6c
add/27803 add support for minlength in the template ( #37840 )
2023-04-20 14:09:04 -03:00
Gan Eng Chin
7a63646a0f
Add changelog.
2023-04-21 00:11:51 +08:00
Gan Eng Chin
1cadb3641a
Fix wrong file name in error message in update-wp-env.php.
2023-04-21 00:09:42 +08:00
Abdalsalaam Halawa
eab77938c0
Add order note as a list of products
2023-04-20 17:29:35 +02:00
Shadi Manna
71fbc5fb59
Add PHPCS ignore missing hook comment
2023-04-20 15:50:02 +02:00
Shadi Manna
f7bd95901b
Remove white space
2023-04-20 15:34:58 +02:00
Shadi Manna
7ae2e66e58
Remove the default text in "Additional content" being sent for all emails when the field is empty for Admin New Order email
2023-04-20 15:13:28 +02:00
bartech
0da64a1eea
Move filter to Option Sanitizer class
2023-04-20 11:12:48 +02:00
faisal-alvi
bf83d61af9
add a changelog
2023-04-20 14:36:59 +05:30
faisal-alvi
bfb1f08d2a
translation hint for the product name
2023-04-20 14:21:18 +05:30
faisal-alvi
158748a6d4
escape the $product_name
2023-04-20 14:20:31 +05:30
Csaba Maulis
53276e786d
Fix CS
2023-04-20 16:38:00 +08:00
faisal-alvi
7d4a7ca883
update text: Remove %s from cart
2023-04-20 14:03:38 +05:30
Joel Thiessen
7023a80937
Adding global product block editor styles ( #37805 )
...
* Removing unecessary class
* Organizing editor styles
* Tweaking global fonts
* Correcting section spacing and adding divider
* Adding header styles
* Refactoring block editor styles
* Tweaks to spacing
* Adding changelogs
* Removing uneeded styles
* Fixing colors and link decoration
* Unifying error styles
2023-04-20 05:21:23 -03:00
Csaba Maulis
48d8bec2e3
Add CRUD tests
2023-04-20 15:48:23 +08:00
Csaba Maulis
46dceffece
Implement new featured field check
...
Internal logic:
- If the featured field is absent from all image objects in the request, set the first image in the array to featured.
- If the featured field is present in all image objects, we respect the value and set the featured image accordingly.
- If the featured field is absent from some image object, we set the featured image based on whether a true value exists; otherwise, we set the first image as featured.
- if multiple images have the featured field set to true, return a new 400 bad request response..
2023-04-20 15:48:07 +08:00
Siddharth Thevaril
b1a87d0c16
update version number
2023-04-20 11:13:54 +05:30
Shojib khan
ea85b1843c
Add global variable to prevent error
2023-04-20 11:35:42 +06:00
Csaba Maulis
135d6f2b27
Add featured field to the schema with tests
2023-04-20 13:14:02 +08:00
Alexandre Lara
9a17d284c8
Reduce padding within notices for smaller screens in the Twenty Twenty One theme ( #37862 )
2023-04-20 00:39:17 -03:00
Darin Kotter
5620b39b44
Make selector more specific to avoid use of important. Use existing variables for padding calculations
2023-04-19 19:47:56 -06:00
Ravinder Kumar
2239270edd
Fix: Use `waitUntil` instead of `waitForLoadState` in page.goto() ( #37831 )
...
* fix: use correct argument in playwright test
use waitUntil instead of waitForLoadState.
* chore: add log for change
* chore: revert changes in e2e test
* Update analytics-overview.spec.js
Remove waits, failing on CI
---------
Co-authored-by: Jonathan Lane <lanej0@users.noreply.github.com>
2023-04-19 16:24:25 -07:00
Abdalsalaam Halawa
70c782fa63
fix notes array
2023-04-20 01:10:16 +02:00
Abdalsalaam Halawa
1109f7147a
Add comment to the translatable string
2023-04-20 00:55:56 +02:00
Abdalsalaam Halawa
3b9be84659
products held stock notes variable rename
2023-04-20 00:55:04 +02:00
barryhughes
710bc8a8af
Relocate changelog file.
2023-04-19 15:38:45 -07:00
Darin Kotter
924c87173a
Bump template version number. Remove a few lines of CSS that aren't needed anymore
2023-04-19 16:21:39 -06:00
Barry Hughes
83e6b55642
Ensure the remove icon shows properly on smaller screens when using the Twenty Twenty One theme ( #37859 )
2023-04-19 15:06:52 -07:00
Darin Kotter
67eb555265
Add changelog file
2023-04-19 15:27:51 -06:00
Darin Kotter
472a6aa7e1
Modify styles slightly for notices on smaller screens
2023-04-19 15:26:58 -06:00
Darin Kotter
3c681b9f27
Add changelog file
2023-04-19 14:25:37 -06:00
Darin Kotter
74350a12e7
Fix an issue on the Twenty Twenty One theme where the remove button doesn't show up properly when more than one product is in the cart
2023-04-19 14:24:41 -06:00
Alejandro Iglesias
1a9439f7db
add changelog
2023-04-19 16:37:16 -03:00
Alejandro Iglesias
aaf089168f
Do not call login if user is already logged in
2023-04-19 16:37:16 -03:00
bartech
d32d08619b
Change cast from absint to int for product stock quantity
2023-04-19 20:42:02 +02:00
Corey McKrill
8ac3c29937
[HPOS] Fix regression in supporting nested date query arguments ( #37827 )
2023-04-19 11:15:18 -07:00
bartech
dda5fe9b1d
Cast woocommerce_notify_no_stock_amount value to absint on save
2023-04-19 20:12:28 +02:00
bartech
224284051b
Add changelog entry
2023-04-19 19:53:55 +02:00
bartech
c4d1e55126
Fix notify_no_stock_amount param type in tests
2023-04-19 19:40:44 +02:00
bartech
d2aaa39645
Cast stock qty and no stock amount to int before comparing
2023-04-19 19:39:51 +02:00
Barry Hughes
4cfb41e7e7
Fix decimal points for SEK, HUF and CZK currencies ( #37834 )
2023-04-19 10:30:59 -07:00
Corey McKrill
c772d8ac9e
fix/35860: Adds missing aria-label and tabindex HTML attributes to the Help tip element. ( #37808 )
...
Fixes #35860
2023-04-19 10:12:03 -07:00
Darin Kotter
be56376571
Add changelog file
2023-04-19 10:51:03 -06:00
Darin Kotter
ea22a5fb78
Change from using a figure tag to using a div tag to wrap the single product image. Adjust styles to account for this change
2023-04-19 10:46:41 -06:00
Shadi Manna
230ff742bf
Remove the default text in "Additional content" being sent for all emails when the field is empty
2023-04-19 18:27:27 +02:00
Jorge A. Torres
9aa4fd6bd2
fix/28214 Backorders have a wrong availability on application/ld+json ( #37837 )
2023-04-19 10:41:39 -05:00
Luthfi Bintoro
e0049fe1d2
Fix/issue 36668: Shows warning only when the variation price is empty ( #37817 )
...
* #36668 - no warning shown for zero price
* add changelog
2023-04-19 11:27:36 -04:00
Christopher Allford
1cfd8a1b53
Enforce LF Line Endings ( #37843 )
...
Since it's possible that people may be cloning the repository in
Windows, we need to enforce consistent line endings.
2023-04-19 08:26:19 -07:00
bao
4dd38a4bad
improve
2023-04-19 21:35:22 +07:00
Faisal Alvi
da0d28ed24
Update plugins/woocommerce/changelog/fix-37599
...
Co-authored-by: Thomas Roberts <5656702+opr@users.noreply.github.com>
2023-04-19 19:37:30 +05:30
bao
f2bc9b6d29
add support for minlenght in the template
2023-04-19 20:28:55 +07:00
Ahmed
e5654f62b2
change more occurences of num_decimals
2023-04-19 13:25:59 +00:00
Matt Sherman
1dd8e05a68
Fix checkbox label styling on product page tabs ( #37791 )
...
* Do not switch description to block if used for an input
* Changelog
2023-04-19 10:19:48 -03:00
bao
c5285ec2d8
fix code style
2023-04-19 20:15:57 +07:00
faisal-alvi
32aaf1ca97
Clear floats after Product Summary in 2023
2023-04-19 18:37:51 +05:30
Abdalsalaam Halawa
66dcd19f0d
change note message
2023-04-19 14:46:40 +02:00
bao
4f59b717d4
fix stock status is not correct in JSON structure data if product is onbackorder
2023-04-19 19:36:38 +07:00
Ahmed
a8522ffa85
add changelog of changes
2023-04-19 12:30:40 +00:00
Ahmed
ef58a55b7d
Fix decimal points in tests for SEK, HUF, and CZK
2023-04-19 12:26:26 +00:00
Ahmed
b4bea41361
Fix decimal points for SEK, HUF, and CZK
2023-04-19 12:26:09 +00:00
Abdalsalaam Halawa
45ec163aa7
add changelog
2023-04-19 14:24:20 +02:00
Jorge A. Torres
e20e1ca143
Fix/37600 Remove `aria-disabled` from `Update Cart` button ( #37820 )
2023-04-19 07:19:51 -05:00
nigeljamesstevenson
cbc188ce84
Fix Playwright E2E tests documentation as some steps to set up the local environment and run E2E tests were not accurate ( #37823 )
2023-04-19 13:10:58 +01:00
Abdalsalaam Halawa
dbac9ff4d0
Add order note to display held stock inventory to provide more visibility to merchants.
2023-04-19 14:03:57 +02:00
Siddharth Thevaril
f3eded792f
fix/33389: add `refunded_payment` property in the create refund response ( #37816 )
2023-04-19 14:03:05 +02:00
Alex López
625567370d
Add suggestions from PR review to the E2E Playwright tests documentation.
2023-04-19 13:26:30 +02:00
nigeljamesstevenson
950bf937d7
Skip the `review-testing-instructions` workflow on PR's from community contributors ( #37813 )
2023-04-19 12:19:54 +01:00
nigeljamesstevenson
9260e81f3d
Fix broken link to WSL setup instructions ( #37819 )
2023-04-19 12:18:41 +01:00
faisal-alvi
4696721e8c
adding changelog
2023-04-19 16:22:29 +05:30
faisal-alvi
edb54536b1
Fix/37599 Add Product Name in the `aria-label`
2023-04-19 16:21:20 +05:30
Vedanshu Jain
26e827eb3e
Add null protection.
2023-04-19 16:04:34 +05:30
Faisal Alvi
e5c306db3d
Update fix-37600
2023-04-19 15:48:02 +05:30
Vedanshu Jain
f58016e7d7
Add changelog.
2023-04-19 15:44:09 +05:30
Albert Juhé Lluveras
25dd44aa06
Update WC Blocks to 10.0.2 ( #37818 )
2023-04-19 12:08:14 +02:00
Vedanshu Jain
3233bb2232
Fix regression in supporting nested date query arguments.
2023-04-19 15:36:08 +05:30
Alex López
f792e71662
Fix E2E Playwright documentation as some steps to set up the local environment and run E2E tests were not accurate.
2023-04-19 11:46:33 +02:00
faisal-alvi
cb1baac1c5
adding a changelog
2023-04-19 14:38:27 +05:30
faisal-alvi
f33283306e
Remove `aria-disabled` from `Update Cart` button
2023-04-19 14:30:23 +05:30
rodelgc
a9bac53282
Fix link back to the main readme
2023-04-19 16:56:13 +08:00
rodelgc
7cba955617
Include Ubuntu 22.04
2023-04-19 16:46:00 +08:00
Csaba Maulis
7c9ae871c3
Add changelog entry
2023-04-19 15:52:54 +08:00
Siddharth Thevaril
410490e035
Update plugins/woocommerce/client/legacy/js/admin/meta-boxes-product.js
...
Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
2023-04-19 13:19:17 +05:30
Csaba Maulis
0ae48c647b
Add `featured` field to the images array for Product REST API
2023-04-19 15:48:32 +08:00
rodelgc
f1d72977c1
Add if condition
2023-04-19 15:32:52 +08:00
louwie17
b42da82e50
Update/34885 category field in product editor ( #36869 )
...
* Add initial custom meta box for product categories
* Make use of TreeSelectControl
* Update classnames
* Display selected items and sync with most used tab
* Always show placeholder and remove checklist container
* Reactify category metabox tabs
* Add create new category logic
* Remove unused markup
* Fix saving of empty category list
* Add callback when input is cleared as well
* Some small cleanup and refactoring.
* Add changelog
* Fix tree creation and style enqueue
* Auto fix lint errors
* Fix linting errors
* Fix css lint errors
* Add 100 limit, and address some PR feedback
* Fix some styling and warnings
* Remove unused code
* Address PR feedback
* Fix lint error
* Fix lint errors
* Address PR feedback
* Fix lint error
* Minor fixes and add tracking
* Add debounce
* Fix lint error
* Allow custom min filter amount and fix menu not showing after escaping input
* Allow single item to be cleared out of select control
* Fix bug where typed values did not show up
* Fix some styling issues
* Allow parents to be individually selected
* Address PR feedback and add error message
* Add changelogs
* Fix saving issue
* Add client side sorting and stop clearing field upon selection
* Update changelog
* Create feature flag for async product categories dropdown
* Fix lint errors
* Fix linting
2023-04-19 04:28:18 -03:00
Siddharth Thevaril
938295093a
add changelog
2023-04-19 12:29:54 +05:30
Siddharth Thevaril
4c7b858268
replace title html attribute with aria-label
2023-04-19 12:28:40 +05:30
Akshaya Rane
51805cd565
Added numberic check for Regular price
2023-04-19 12:19:07 +05:30
Siddharth Thevaril
a3a2b35253
add changelog
2023-04-19 10:59:03 +05:30
rodelgc
70d50e3336
Add changelog
2023-04-19 13:23:36 +08:00
rodelgc
3b17621e97
Initial changes
2023-04-19 13:21:54 +08:00
Siddharth Thevaril
6c06aaa5fa
add arial0label and tab-index to help tip
2023-04-19 10:38:44 +05:30
github-actions[bot]
ad68685b79
Delete changelog files based on PR 37790 ( #37801 )
...
Delete changelog files for 37790
Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-04-19 11:35:47 +12:00
github-actions[bot]
f6df417ca2
Delete changelog files based on PR 37738 ( #37803 )
...
Delete changelog files for 37738
Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-04-19 11:35:37 +12:00
github-actions[bot]
ffa482a921
Delete changelog files based on PR 37662 ( #37788 )
...
Delete changelog files for 37662
Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-04-19 11:35:25 +12:00
Barry Hughes
4ec741f7b8
Increase PHPUnit Test Environment Resiliency ( #37792 )
2023-04-18 13:04:37 -07:00
Nathan Silveira
7c6e6a67dc
Re-add woocommerce_after_product_attribute_settings hook ( #37738 )
2023-04-18 16:33:35 -03:00
Corey McKrill
1650489480
Replace hardcoded notices with the correct wp_print_notice function ( #37514 )
...
Switches hardcoded notices over to the correct functions and makes it possible to modify the notices via template overrides. Additionally, a small modification to `wp_print_notice` was added so that the notice could be returned as a string instead of rendered. This makes it more flexible.
2023-04-18 12:07:23 -07:00
Shojib khan
fd9b709de4
Add changelog
2023-04-18 23:56:21 +06:00
Fernando Marichal
2d87da87de
Fix disabled "Save attributes" button when editing a product ( #37790 )
...
* Fix disabled save button
* Add changelog
2023-04-18 14:53:16 -03:00
Joshua T Flowers
ebe879d5dd
Add IframeEditor component to product editor ( #37570 )
...
* Add initial modal editor
* Add in iframe editor styles
* Convert components to TS
* Sync dependencies
* Remove unused components and props
* Set min height to avoid jumpiness during resize
* Fix up private APIs dependency version
* Update ModalEditor name to IframeEditor
* Add changelog entry
* Remove IframeEditor from details block
* Update frozen lock file
* Add support for missing gutenberg assets function
* Fix lock file after rebase
* Use default editor settings when none are provided
* Remove currently unused editor styles
* Remove unused private apis package
* Fix php lint errors
* Remove unused import
* Pin keycodes version
* Remove another unused import from testing
* Add WC changelog entry
2023-04-18 10:52:28 -07:00
Shojib khan
76d7c356c1
Create default pages in store locale language
2023-04-18 23:49:28 +06:00
Christopher Allford
38e91e2406
Style Fixes
2023-04-18 10:19:45 -07:00
Christopher Allford
5ca9c47563
Fixed Broken Cache Test When Path Tokenized
...
Since the template path is tokenized, it's possible that in different
testing environments the contents of the cache will be different
than the template file path on the filesystem. We can make sure
they are the same by untokenizing the cached path before the
assertion.
2023-04-18 10:13:17 -07:00
Christopher Allford
c5cec0fe30
Revert "Added WIP `wp-env` Script"
...
This reverts commit 096dfc6ebc
.
2023-04-18 09:59:40 -07:00
Christopher Allford
94f0ffa654
Fixed Incorrect Decorated Property In Tests
...
For some reason this was causing failures in `wp-env` but not CI.
2023-04-18 09:59:24 -07:00
Mike Jolley
e8fcfbb82c
Bump templates to 7.8.0
2023-04-18 17:10:19 +01:00
Christopher Allford
096dfc6ebc
Added WIP `wp-env` Script
...
This should be removed before the PR is reviewed!
2023-04-18 09:04:01 -07:00
Christopher Allford
2f3ffa1ced
Changelog
2023-04-18 09:03:02 -07:00
Christopher Allford
ec92b4c119
Isolated Email Logger Tests
2023-04-18 09:00:55 -07:00
nigeljamesstevenson
4a6b5ac0cd
skip k6 api order RUD tests on non-existant order when C test fails ( #37739 )
2023-04-18 16:58:44 +01:00
Barry Hughes
4504c5a8a1
Add links to the main project README.md and DEVELOPMENT.md guides. ( #37682 )
2023-04-18 07:36:07 -07:00
Denis Dvali
56b63ada60
Changelog.
2023-04-18 18:04:50 +04:00
Denis Dvali
a5b417b448
Linting.
2023-04-18 17:56:09 +04:00
Thomas Roberts
e9c400c7b6
Update WooCommerce Blocks package to 10.0.1 ( #37662 )
...
* Update WC Blocks to 10.0.0
* Update WC Blocks to 10.0.0
---------
Co-authored-by: Luigi <gigitux@gmail.com>
2023-04-18 15:21:00 +02:00
Mike Jolley
22c5dbb89d
phpcs rules
2023-04-18 14:16:48 +01:00
Mike Jolley
5a7be6f3ae
Append cart-empty class to notice div
2023-04-18 14:11:02 +01:00
Denis Dvali
26410aef0a
Linting.
2023-04-18 16:42:56 +04:00
Mike Jolley
b800a429b8
Target inner div within notices in tests
2023-04-18 12:22:10 +01:00
Mike Jolley
73fd1a5bda
Update cart empty selector
2023-04-18 12:22:10 +01:00
Mike Jolley
2cbbbbbaba
Fix indents for phpcs
2023-04-18 12:22:10 +01:00
Mike Jolley
93665bd41e
phpcs fixes
2023-04-18 12:22:10 +01:00
Mike Jolley
5ba6a3d71d
Add full stop to docblock param
2023-04-18 12:22:10 +01:00
Mike Jolley
123dff3bf2
Remove array short syntax
2023-04-18 12:22:10 +01:00
Mike Jolley
f330bc7210
Escape return to shop
2023-04-18 12:22:10 +01:00
Mike Jolley
3c8bef029c
Revert template bump in form-login
2023-04-18 12:22:10 +01:00
Mike Jolley
82a4698470
Revert template bump in form-coupon
2023-04-18 12:22:10 +01:00
Mike Jolley
078f54de58
Revert version bump in lost password template
2023-04-18 12:22:10 +01:00
Mike Jolley
bb0d83d000
template version bumps
2023-04-18 12:22:10 +01:00
Mike Jolley
65038cc1f9
Update selector for test notice
2023-04-18 12:22:10 +01:00
Mike Jolley
64995db39b
Changelog
2023-04-18 12:22:10 +01:00
Mike Jolley
abfe701f8b
Replace hardcoded error notices with wp_print_notice
2023-04-18 12:22:10 +01:00
Mike Jolley
ec6ed5c97c
Replace hardcoded info notices with wp_print_notice
2023-04-18 12:22:10 +01:00
Mike Jolley
d0ea42a58c
Allow notice to return instead of echo
2023-04-18 12:22:10 +01:00
nigeljamesstevenson
b78e320c1c
[E2E] Fix `wp-content/upgrade` folder permissions to fix recently failing daily and release tests ( #37783 )
2023-04-18 10:49:42 +01:00
rodelgc
31b4deb1b1
Add changelog
2023-04-18 13:57:09 +08:00
rodelgc
87f69cb609
Add write permission to `wp-content/upgrade` folder
2023-04-18 13:55:24 +08:00
Paul Sealock
747e3384f3
Update trunk stable tag ( #37779 )
...
* update stable tag
* changelog
2023-04-18 17:26:04 +12:00
github-actions[bot]
2977a95b16
Release: Remove 7.7 change files ( #37776 )
...
Delete changelog files from 7.7 release
Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-04-18 16:17:38 +12:00
github-actions[bot]
3a4e9912ed
Prep trunk for 7.8 cycle ( #37777 )
...
Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-04-18 16:17:06 +12:00
Rommel Castro
2800be9b7b
fix phpcs errors
2023-04-17 22:05:10 -06:00
Adrian Duffell
eb682695d0
Performance Improvement for Heuristics Tracks Event ( #37769 )
...
* Update onboarding settings to conditionally provide heuristics data
* Add changelog
* Fix lint issue
2023-04-18 06:18:48 +08:00
Adrian Duffell
03ce56a99e
Add Woo Payments Feature Slot Fill on Homepage ( #37768 )
...
* Add slot
* Add fill
* Add changelog
2023-04-18 05:07:25 +08:00
Denis Dvali
943e9f1869
Initial version of plugin installer version 2.
2023-04-18 00:57:02 +04:00
Adrian Duffell
4fca6d1f63
Add Onboarding Heuristics Tracks Event ( #37767 )
...
* Add heuristics data to onboarding setting
* Add track
* Add Tracks event
2023-04-18 04:47:24 +08:00
Fernando Marichal
f6685b88b9
Rename default placeholder in attribute form ( #37645 )
...
* Rename placeholder
# Conflicts:
# plugins/woocommerce/includes/admin/meta-boxes/views/html-product-attribute.php
* Fix input `onblur`
* Add changelog
---------
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2023-04-17 13:07:32 -03:00
Fernando Marichal
a67b7df26f
Add tracks events to attributes tab ( #37622 )
...
* Refactor method `addProductAttributesTracks`
# Conflicts:
# plugins/woocommerce-admin/client/wp-admin-scripts/product-tracking/shared.ts
* Add changelog
* Record remove attribute Tracks event
# Conflicts:
# plugins/woocommerce/client/legacy/js/admin/meta-boxes-product.js
* Record `used for variations` and `visible on product page` events
* Record `used for variations` and `visible on product page` events
* Fix js error
* Remove not used code
* Refactor `add_existing` attribute recording
* Fix event action
* Refactor `attachEventListenerToParentForChildren`
---------
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2023-04-17 12:50:30 -03:00
Vedanshu Jain
ffc8990baa
Add table name methods to OrderUtil ( #37624 )
2023-04-17 20:05:51 +05:30
nigeljamesstevenson
e8e9aa13fb
Fix WP latest-2 version retrieval in the "Smoke test release" workflow. ( #37675 )
2023-04-17 15:33:23 +01:00
nigeljamesstevenson
aa55d04e14
Split the `can create product, attributes and variations, edit variations and delete variations` E2E test into smaller tests ( #37733 )
2023-04-17 15:14:51 +01:00
Mindaugas Budreika
e725a98f35
Added a woocommerce_disable_api_access_log filter. ( #37332 )
...
Co-authored-by: Mindaugas Budreika <mindaugas.budreika@thecoffeemate.group>
Co-authored-by: Néstor Soriano <konamiman@konamiman.com>
2023-04-17 09:40:27 +02:00
Shojib khan
a4a2ef732d
Solved issue of Ellipsis menu overlaps on small screen ( #37583 )
...
* solved ellipsis menu overlaps on mobile
* solved ellipsis menu overlaps on small screens
* removed package.json and pnpm lock files
* restore default package.json
* Update plugins/woocommerce/changelog/fix-37517-fix-ellipsis-menu-overlaps
Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
* solved lint error
---------
Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
2023-04-17 13:22:34 +08:00
Chi-Hsuan Huang
a953904d84
Remove theme step from onboarding wizard ( #37671 )
...
* Remove theme step from onboarding wizard
* Remove theme step from e2e tests
* Deprecated "theme" prop from profileItem type
* Add changelog
* Remove theme product from dashboard
* Update packages/js/data/src/onboarding/types.ts
Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
---------
Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
2023-04-17 11:59:02 +08:00
mujuonly
9ae8208f26
Fix typo in a function comment. ( #37746 )
...
* Fix typo in a function comment.
* Chagelog update for typo corretcion in ReportsSync.php
---------
Co-authored-by: mujuonly <muju.only@gmail.com>
2023-04-17 11:19:42 +08:00
Jorge A. Torres
68fe54fcc8
Add `--verbose` support to HPOS verify DB command ( #37576 )
2023-04-16 17:39:30 -05:00
Maikel David Pérez Gómez
42cc482ebc
Create shipping fee field block and initial shipping section ( #37642 )
...
* Setting up the Fees & dimensions section
* Create product shipping fee block
* Register product shipping fee block
* Add changelog files
* Fix php linter errors
* Add reusable radio field and move the radio block to the blocks folder
* Remove manually set block className because is autogenerated base on the block name
2023-04-14 22:44:28 -04:00
Christopher Allford
a3cb1735b3
Removed `example.org` Hardcoding From Tests ( #37742 )
...
Instead of strictly using `example.org` in our tests that include the
site URL, we should be using the `WP_TESTS_DOMAIN` constant.
This allows the domain to change without breaking the tests, such
as when using something like `wp-env`.
2023-04-14 16:05:17 -07:00
Corey McKrill
f70d9452bf
Enable linting with phpcs-changed locally ( #37465 )
...
* Update phpcs-changed package to 2.10.2
* Add composer lint commands using phpcs-changed
* Add changlog file
* Update lint-staged script in package.json
2023-04-14 14:01:16 -05:00
Ron Rennick
ba61674251
skip k6 api order RUD tests on non-existant order when C test fails
2023-04-14 15:10:42 -03:00
Maikel David Pérez Gómez
3f23301f3f
Create product shipping dimensions block ( #37683 )
...
* Move ShippingDimensionsImage component to @woocommerce/product-editor package
* Create woocommerce/product-shipping-dimensions-fields block
* Register woocommerce/product-shipping-dimensions-fields block
* Add changelog files
* Fix php linter error
* Change unused attr name to __contentEditable to better indicate the porpose
* Remove manually set block className because is autogenerated base on the block name
2023-04-14 14:08:57 -04:00
rodelgc
9897c529d4
Merge branch 'trunk' into fix/wp-l2-retrieval
2023-04-15 01:53:03 +08:00
rodelgc
c226fa164b
Re-navigate to ensure tour displays
2023-04-15 01:45:20 +08:00
Barry Hughes
85c9c23927
Use first meta value instead of last to be consistent with WP_Post. ( #37676 )
2023-04-14 09:34:24 -07:00
rodelgc
136b76834b
Trivial correction to test step
2023-04-15 00:28:59 +08:00
rodelgc
e677437878
Reset tour at the start of the first test
2023-04-15 00:22:35 +08:00
Joel Thiessen
83458a1dee
Adding inventory advanced section with radio and text fields ( #37646 )
2023-04-14 08:39:53 -07:00
rodelgc
9cc66e793e
Fix cleaning up of created fixture
2023-04-14 23:33:08 +08:00
rodelgc
4262cd99ab
Use a fixed variable product as test data to eliminate inter-dependence between tests
2023-04-14 23:14:08 +08:00
Matt Sherman
d1ae3a5b44
Exclude empty attributes in count for wcadmin_product_update Tracks event ( #37718 )
2023-04-14 10:43:36 -04:00
Jorge A. Torres
901ef4abec
Remove section re running tests under PHP 8 ( #37713 )
2023-04-14 07:26:57 -05:00
rodelgc
e76f452d35
Split into smaller tests
2023-04-14 17:26:58 +08:00
Vedanshu Jain
dfdc2d3d8c
Add null protection.
2023-04-14 14:24:09 +05:30
Vedanshu Jain
5bebfdf87f
Merge branch 'trunk' into fix/37660
2023-04-14 13:30:40 +05:30
rodelgc
caa6af608d
Add changelog
2023-04-14 15:24:07 +08:00
rodelgc
0227a15e58
Initial draft for `can create product, attributes and variations` test
2023-04-14 15:07:52 +08:00
Moon
a939744ac2
Delete shipping zone count cache in Shipping Task ( #37693 )
...
* Delete shipping zone count transient on woocommerce_shipping_zone_method_added and woocommerce_after_shipping_zone_object_save
* Add changelog
2023-04-13 20:16:49 -07:00
Moon
b5b3e37ea9
Check min. WP and PHP versions before suggesting plugins ( #37694 )
...
* Add min_php_version for google and pinterest extensions
* Hide extensions that do not meet the min php version requirement.
* Add min_wp_version
* Add changelog
* Revert code style
* Compare PHP and WP version only when is_visible is already true
* Fix style - use yoda
2023-04-13 19:24:20 -07:00
Joshua T Flowers
697a05a9e9
Lock the product block editor template root ( #37685 )
...
* Lock the product block editor template root
* Add changelog entry
2023-04-13 17:55:44 -07:00
Joshua T Flowers
b1c9ced2a5
Add a category for product editor blocks ( #37347 )
...
* Add category for product editor blocks
* Add changelog entry
* Fix php lint errors
2023-04-13 17:55:01 -07:00
Jamel Noel Reid
71cde2c856
Add support for defining WP, WC & PHP version for e2e & api tests ( #37587 )
...
* Added wp-cli.yml to test environment
* Run docker compose directly and fix permission
Running docker-compose directly circumvents the permission issues that arise occur when we try to specify a WP version for wp-env.
This commit also normalizes the permission for wp-config.php file which allows wp-cli to properly update the url structure of the site
* Added changelog
* Normalized wp-env wp-content permissions
* Added script to support setting WP Version
* Added support for setting WC & PHP versions
* Fixed phpversion update
* Fixed WooCommerce update
* Used user
* Updated changelog
* Told PHPCS to ignore file
* Added support for WP trunk
* Added support for nightly versions fo WP
* Fixed bug
* Updated docs
2023-04-13 16:06:53 -07:00
Joel Thiessen
247787484a
Add inventory section and SKU blocks ( #37623 )
2023-04-13 15:33:25 -07:00
Ron Rennick
d62b2995b5
WC_Data: Add method `delete_matched_meta_data` ( #37667 )
2023-04-13 19:10:47 -03:00
barryhughes
b6201d3f8a
Changelog.
2023-04-13 15:03:57 -07:00
Barry Hughes
b4cd2f8dbd
Remove section re running tests under PHP 8
...
This information became obsolete since improvements made via http://github.com/woocommerce/woocommerce/pull/36273
2023-04-13 15:03:57 -07:00
Corey McKrill
4f38c051bf
Change method name to delete_meta_data_value
2023-04-13 13:45:02 -07:00
Jonathan Lane
9982899d3f
Fix for the e2e variable product test ( #37714 )
...
Co-authored-by: Jon Lane <jon.lane@automattic.com>
2023-04-13 21:37:06 +01:00
Jorge A. Torres
580d717ec2
Add changelog
2023-04-13 15:31:18 -05:00
Jorge A. Torres
79b05ad71c
Do not override `admin_update_order_base` in `merchant/add-order.js` perf test to prevent duplicate order IDs
2023-04-13 15:23:30 -05:00
Jorge A. Torres
82e3eb6701
Correct checks in `merchant/add-order.js` perf test
2023-04-13 15:22:52 -05:00
Barry Hughes
85176c0037
Tweak comment
2023-04-13 10:28:45 -07:00
Barry Hughes
fdd01353df
Remove unique constraint from order_key to prevent empty key conflict. ( #37594 )
2023-04-13 08:50:23 -07:00
Joel Thiessen
fb12ad20fd
Replacing rest_namespace modification with middleware due to blocks issues ( #37621 )
2023-04-13 08:45:50 -07:00
rodelgc
08a6eb6c17
Merge branch 'trunk' into fix/wp-l2-retrieval
2023-04-13 18:51:53 +08:00
Vedanshu Jain
6c22ffe88d
Coding standards fixes.
2023-04-13 13:28:48 +05:30
Vedanshu Jain
408cf92ab0
Better changelog messaging.
...
Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>
2023-04-13 12:59:53 +05:30
Dano
252c2593b2
Updated task progress header title ( #37546 )
...
* Updated task progress header title
## Issue
Special characters in site titles would not render as readable text in the mentioned title.
## Summary
Updated task progress header title to support special characters using the dangerouslySetInnerHTML function was a ready solution used throughout the application, so it makes sense to apply it here as well.
* Import sanitizeHTML
* Add changelog
* Tweak changelog
---------
Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
2023-04-13 11:42:22 +08:00
Tam Mullen
2f75edf505
e2e Tweak flakey can create product, attributes and variations test ( #37614 )
...
* move e2e test event listener for handling the link_all_variations confirmation dialog
* A couple of additional test enhancements
---------
Co-authored-by: Jon Lane <jon.lane@automattic.com>
Co-authored-by: Jonathan Lane <lanej0@users.noreply.github.com>
2023-04-12 16:02:47 -07:00
Corey McKrill
ee1f6ed3a9
Linting fix
2023-04-12 14:32:42 -07:00
Corey McKrill
b2e96aaf5a
Move methods and tests to COTMigrationUtil
2023-04-12 14:25:09 -07:00
Fernando Marichal
1187df9d82
Add Tracks events to variations tab ( #37607 )
...
* Refactor `product-tracking` file
* Add variations tracks events
* Add changelog
* Refactor method `addProductAttributesTracks`
* Add `remove_variation` Tracks event
* Modify code comments
* Rename `query` prop
* Modify `generate_variations` event to be recorded after confirmation
---------
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2023-04-12 16:37:23 -03:00
Matt Sherman
0247cea4b9
e2e: Reset variable product tour after running variable product tests ( #37680 )
...
* Reset variable product tour after tests run
* Refactor product deletion cleanup
* Refactor product page URL
2023-04-12 14:46:58 -04:00
Fernando Marichal
2722ef4763
Item controls for attribute creation are always visible ( #37620 )
...
* Fix dropdown menu style
* Move items
* Add changelog
* Remove class `select`
---------
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2023-04-12 14:30:15 -03:00
barryhughes
1f4f485e2b
No changelog needed.
2023-04-12 09:34:50 -07:00
Vedanshu Jain
e8363828f7
Fixup to handle null data.
2023-04-12 18:40:19 +05:30
Vedanshu Jain
4a5db60c2a
Adjust verification so that it only checks the first meta value.
2023-04-12 18:08:22 +05:30
Vedanshu Jain
2147d2abcf
Add changelog.
2023-04-12 15:39:44 +05:30
Vedanshu Jain
d5211bbaa6
Use first meta value instead of last to be consistent with WP_Post.
2023-04-12 15:38:58 +05:30
Vedanshu Jain
55e07451ce
Add unit test for asserting that first meta is migrated.
2023-04-12 15:33:23 +05:30
Chi-Hsuan Huang
77bdd24aa8
Revert "Check min. WP and PHP versions before suggesting plugins" ( #37674 )
...
Revert "Check min. WP and PHP versions before suggesting plugins (#37611 )"
This reverts commit 30536f636e
.
2023-04-12 16:46:21 +08:00
rodelgc
b4540f61d5
Add changelog
2023-04-12 15:56:20 +08:00
Chris Lilitsas
e8c8581a4e
Fix TT2 styles and typography in the single product's attributes table ( #37639 )
2023-04-12 09:54:58 +02:00
Chris Greys
61da4c6161
Dev - Allow to filter wc_help_tip output ( #37485 )
...
Co-authored-by: Néstor Soriano <konamiman@konamiman.com>
2023-04-12 09:52:18 +02:00
rodelgc
60a02f2edf
Fix WP L-2 version retrieval
2023-04-12 15:50:48 +08:00
rodelgc
dd138a394f
Remove unnecessary concatenation
2023-04-12 15:35:27 +08:00
github-actions[bot]
a740126564
Delete changelog files based on PR 37641 ( #37653 )
...
Delete changelog files for 37641
Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-04-12 08:59:53 +02:00
Corey McKrill
3c64b953a0
Update doc block
2023-04-11 16:02:01 -07:00
Corey McKrill
b389a4e8ae
Add changelog file
2023-04-11 15:58:27 -07:00
Corey McKrill
d8ec0490cb
Add unit test
2023-04-11 15:55:27 -07:00
Corey McKrill
d4d375e874
WC_Data: Add method `delete_matched_meta_data`
...
Brings the CRUD layer's meta data handling closer to parity with
WP by allowing for selectively deleting meta entries with a specific
key only if they contain a specific value.
Fixes #37650
2023-04-11 15:51:38 -07:00
Corey McKrill
7fe96ac988
Don't hardcode table prefixes
2023-04-11 14:36:32 -07:00
Ron Rennick
450d9e9c8c
FlexSlider uses Web Animations API for "slide" instead of $.animate() ( #36987 )
2023-04-11 16:50:59 -03:00
Moon
30536f636e
Check min. WP and PHP versions before suggesting plugins ( #37611 )
...
* Add min_php_version for google and pinterest extensions
* Hide extensions that do not meet the min php version requirement.
* Add min_wp_version
* Add changelog
* Revert code style
2023-04-11 12:22:15 -07:00
Ron Rennick
9ee2307b65
Merge branch 'trunk' into flexcss
2023-04-11 16:00:53 -03:00
Maikel David Pérez Gómez
f5591b7c9a
Add track inventory field to inventory section ( #37585 )
2023-04-11 11:52:20 -07:00
Maikel David Pérez Gómez
8354ae2792
Create schedule sale pricing block ( #37567 )
...
* Create schedule sale pricing block
* Add auto show/hide and clean fields depending on the initial values
* Add validations to From and To dates fields
* Add changelog files
* Align block with the figma design
* Revert linter replacement in the editor global style.scss file
* Fix some words typos
* Move and rename schedule sale block to the blocks folder
* Load datetime format from @wordpress/date instead of using the woo options datastore
* Remove the min difference using by moment to compare dates from 'minute' to undefined
* Make sure the dates are normalized for comparison
2023-04-11 10:53:37 -04:00
Nathan Silveira
fa4dd90401
Change link all variations label ( #37632 )
2023-04-11 11:44:27 -03:00
Darren Ethier
50593c5257
Fix issue that breaks the WooCommerce Home Page when Gutenberg 15.5 is active ( #37641 )
...
Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
Co-authored-by: rjchow <me@rjchow.com>
2023-04-11 15:27:38 +08:00
Chi-Hsuan Huang
4cc6644c8b
Add default priority for countries that don't exist in payment recommendation map ( #37590 )
...
* Add default priority for countries that are not in the payment recommendation map
* Add changelog
* Add doc
* Fix linting
2023-04-11 14:13:59 +08:00
Nathan Silveira
5d68259480
Add different confirmation message when attribute is used in a variation ( #37527 )
...
* Add different confirmation message when attribute is used in a variation
* Update logic to only consider checkbox checked value when prompting message
2023-04-10 17:44:51 -03:00
Jorge A. Torres
18d00cadd0
Consider ‘auto-draft’ the same as ‘pending’ for orders
...
This for backwards compat with CPT
2023-04-10 15:11:03 -05:00
Jorge A. Torres
4e16e6117b
Add changelog
2023-04-10 14:20:20 -05:00
Jorge A. Torres
4873f7c2c5
Test auto-draft deletion
2023-04-10 14:20:20 -05:00
Jorge A. Torres
dec3dda375
Periodically delete auto-draft orders older than a week
2023-04-10 14:20:20 -05:00
Jorge A. Torres
9d60bf90ed
Create orders as ‘auto-draft’ instead of ‘pending’ in the admin
2023-04-10 14:13:00 -05:00
Jorge A. Torres
2c626fe854
Add auto-draft to orders list table
2023-04-10 14:11:08 -05:00
Ron Rennick
054471618e
Dev - Add customer object parameter to taxable address filter ( #37426 )
2023-04-10 13:36:06 -03:00
Matt Sherman
a054ddbf50
Beta Tester: Update WCA Test Helper option modal to show full option name ( #37495 )
...
* Adjust options modal so that option name is not cut off
* Changelog
2023-04-10 08:36:13 -04:00
Matt Sherman
5dda0aac48
Beta Tester: Update WCA Test Helper Features list ( #37483 )
...
* Alphabetize features list
* Use toggles instead of button for features
* Changelog
2023-04-10 08:34:38 -04:00
“Chris
0863a76ce1
Add changelog
2023-04-10 14:27:20 +03:00
“Chris
0bc31867a4
Print block-based css classes only on fse themes
2023-04-10 14:25:19 +03:00
Corey McKrill
62ceb8e08b
Add changelog file
2023-04-07 17:30:31 -07:00
Corey McKrill
208fa5ea00
Add unit tests
2023-04-07 17:21:12 -07:00
Corey McKrill
ad565bd853
Add table name methods to OrderUtil
...
Adds methods to determine the names of the database tables currently
being used for orders and order meta, without needing to make a separate
check first to see if HPOS is enabled and in use.
2023-04-07 15:40:44 -07:00
Corey McKrill
152f0d3793
Make HPOS migration more strict by removing IGNORE. ( #37595 )
2023-04-07 12:30:48 -07:00
Vedanshu Jain
40d823df5c
Coding standard fix.
2023-04-07 18:31:21 +05:30
Vedanshu Jain
835d089fb7
Add changelog.
2023-04-07 18:11:32 +05:30
Vedanshu Jain
e85e68e0c5
Merge branch 'trunk' into pr/36885
2023-04-07 18:07:24 +05:30
Vedanshu Jain
e0327e3223
Fixup in unit test.
2023-04-07 18:06:55 +05:30
Anastasio
0d93e92bd1
Merge remote-tracking branch 'upstream/trunk' into woocommerce-webp-support
2023-04-06 21:39:42 +03:00
Ron Rennick
b0f042e252
Merge branch 'trunk' into woocommerce-webp-support
2023-04-06 14:54:41 -03:00
Ron Rennick
8be211b45b
Change default order to ‘date DESC’ in orders list table ( #37565 )
2023-04-06 14:27:09 -03:00
Joshua T Flowers
868fbbf23a
Register product editor blocks server-side ( #37339 )
...
* Move product block editor to new feature name
* Register all blocks and block assets server-side
* Add changelog entry
* Disable phpcs rule for file_get_contents
2023-04-06 10:13:48 -07:00
Vedanshu Jain
322639bb7e
Extra protection for empty order key orders.
...
Some order can have order key set to empty string. This commit disallows fetching those orders via key at DB level (its already disallowed from interface).
2023-04-06 21:06:38 +05:30
Vedanshu Jain
232a98317a
Add changelog.
2023-04-06 20:48:45 +05:30
Vedanshu Jain
7f00d211d1
Make migration more strict by removing IGNORE.
2023-04-06 20:48:11 +05:30
Vedanshu Jain
ebb43378a1
Remove unique constraint from order_key to prevent empty key conflict.
2023-04-06 20:46:59 +05:30
Vedanshu Jain
dbb4bd5e27
Dont store order failures when verbose is enabled to save memory.
2023-04-06 15:23:19 +05:30
Vedanshu Jain
6eca1ed561
Prevent errors from being logged twice when verbose is passed.
2023-04-06 15:14:06 +05:30
github-actions[bot]
33352895bc
Delete changelog files based on PR 37569 ( #37581 )
...
Delete changelog files for 37569
Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-04-06 01:56:28 +02:00
Joel Thiessen
07b84051b2
Adding charge sales tax field to product block editor template ( #37582 )
2023-04-05 16:23:58 -07:00
Nathan Silveira
277f4aab12
Show tooltip in Save attributes button instead of using title attribute ( #37345 )
...
* Modify tipTip to allow showing dynamic content
* Show tooltip when button is disabled
* Add tipTip and disabled logic to create variations button
* Add header comment in tipTip plugin
2023-04-05 16:22:59 -03:00
Joshua T Flowers
7734027b4a
Add product radio block and tax class to product blocks editor ( #37529 )
...
* Add product radio block
* Wrap tax class radio in collapsible block
* Add link to description and sanitize HTML
* Add changelog entry
* Fix up php lint errors
* Add changelog entry
* Fix linting errors
* Remove unused import
2023-04-05 10:13:05 -07:00
Fernando Marichal
a5fe4232c7
Change variations dropdown visibility ( #37558 )
...
* Add default action with the name `Bulk actions`
* Attach event when dropdown changes
* Add changelog
* Remove `Go` button
* Fix e2e tests
* Fix styles
---------
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2023-04-05 13:56:42 -03:00
Vedanshu Jain
9e9060e95b
Do not attempt to cache orders during order creation ( #37569 )
2023-04-05 20:49:57 +05:30
Vedanshu Jain
85c7bb6426
Apply coding standards.
2023-04-05 20:44:27 +05:30
Vedanshu Jain
b796522385
Applied coding standards.
2023-04-05 19:38:01 +05:30
Vedanshu Jain
b5e74ae90c
Add support for verbose command to display errors as they happen.
2023-04-05 19:28:15 +05:30
Vedanshu Jain
800ee5d6dd
Minor fixup for getting order ids in verify db command.
2023-04-05 19:01:20 +05:30
Vedanshu Jain
54eb2a0c43
Add sort order for migration script. ( #37545 )
2023-04-05 11:43:13 +02:00
Ron Rennick
d272495d08
update select all to checkbox in menu editor ( #37562 )
...
Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
2023-04-05 11:06:10 +02:00
Vedanshu Jain
817458a433
Remove caching on order save, instead do it when order is fetched.
...
This allows all the hooks when getting an order to be executed and we cache the correct object.
2023-04-05 13:29:29 +05:30
John Greys
c4cab15bd8
Add @since tag to woocommerce_customer_taxable_address filter
2023-04-05 00:50:07 +00:00
Jorge A. Torres
4250e9d7b5
Add changelog
2023-04-04 17:08:35 -05:00
Jorge A. Torres
1868311c6f
Change default order to ‘date DESC’ in orders list table
2023-04-04 17:08:35 -05:00
Jorge A. Torres
1d6c98985e
Add changelog
2023-04-04 16:56:32 -05:00
Jorge A. Torres
77e3cc5c77
Do not attempt to cache order during order creation (HPOS)
2023-04-04 16:56:29 -05:00
Ron Rennick
124bf3e529
Add changelog file
2023-04-04 13:18:36 -03:00
Maikel David Pérez Gómez
f7572b4361
Move the Save draft and Preview buttons to the product editor header ( #37461 )
...
* Add preview button to the product editor header
* Publish the product on add or on save
* Add save draft button
* Save product changes before previewing it
* Add notice messages
* Fix linter errors
* Force the store page to be openned in a new tab after publishing the product
* Enable publish button when the status is not publish
* Add changelog files
* Fix some comment typos
* Address comment suggestions
* Move preview logic to its own component
* Move save draft logic to its own component
* Move publish logic to its own component
2023-04-04 11:30:39 -04:00
Barry Hughes
32c766c5f8
Prevent duplicate alias in orders query SQL ( #37560 )
2023-04-03 14:13:19 -07:00
Jorge A. Torres
2cd5cdcc8c
Add changelog
2023-04-03 13:56:27 -05:00
Jorge A. Torres
35bbb0c920
Re-use aliases from OrdersTableQuery for field queries
2023-04-03 13:55:38 -05:00
Jorge A. Torres
b156651243
Use backticks for JOIN on OrdersTableQuery
2023-04-03 13:55:30 -05:00
Barry Hughes
bcfbfbd6d2
Thank you page (/checkout/order-received): payment gateway title formatting ( #37481 )
2023-04-03 09:47:14 -07:00
Barry Hughes
174d9075d9
Revert "Replace $.ajax() calls with browser-native window.fetch() calls." ( #37463 )
2023-04-03 09:46:49 -07:00
Ron Rennick
cb7f34de44
Restore reviews (comments) to the product editor ( #37457 )
2023-04-03 13:02:01 -03:00
barryhughes
3a1fc77442
Simply; just use `wp_kses_post()`.
2023-04-03 07:50:59 -07:00
Sam Seay
418ae6a86c
Add a changelog entry.
2023-04-03 14:17:32 +08:00
Fernando Marichal
d625f72e2b
New empty state for variations ( #37411 )
...
* Add variations empty state
# Conflicts:
# plugins/woocommerce/client/legacy/css/admin.scss
# plugins/woocommerce/includes/admin/meta-boxes/views/html-product-data-variations.php
* Fix styles
* Add changelog
* Fix html
* Fix js
* Show and hide select and button
* Fix e2e tests
# Conflicts:
# plugins/woocommerce/tests/e2e-pw/tests/merchant/create-variable-product.spec.js
* Fix lint
* Fix hidden style
* Fix js for hidden elements
* Fix lint
* Transform `load_variations` into a promise
* Fix e2e test
* Fix tests
* Remove comment
* Fix styles
* Fix comment
* Remove async
* Remove async
---------
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2023-03-31 16:40:16 -03:00
Maikel David Pérez Gómez
6df1cef307
Add Sale price and list price blocks to pricing tab with pricing section ( #37513 )
...
* Add pricing section to the pricing tab
* Add changelog file
* Fix php linter errors
2023-03-31 14:47:31 -03:00
Joshua T Flowers
85080f642b
Add block related assets entry points to product editor build ( #37318 )
...
* Add editorStyle properties to blocks
* Rename style.scss files to editor.scss
* Get block entry points for block related assets
* Copy block assets to core assets build folder
* Remove unusable dependency
* Add changelog entries
* Fix up RTL style builds for block assets
* Update copy-webpack-plugin dependency and lock file
* Fix up lock file after rebase
* Fix order of webpack rtl stylesheet builds to prevent additional stylsheets
* Fix up lock file after rebase
* Fix tsconfig
2023-03-31 10:36:40 -07:00
Chi-Hsuan Huang
e553759ab6
Fix `FormContext` type error in client/tasks/fills/steps/location.tsx ( #37532 )
...
* Fix FormContext type error
* Add changelog
2023-03-31 18:43:16 +08:00
Nathan Silveira
deb1cde448
Add listener to parent to avoid event being overwritten when DOM is replaced ( #37431 )
2023-03-30 16:41:20 -03:00
Moon
658034f64e
Migrate steps/location to TS ( #37257 )
...
* Migrate steps location to TS
* Add description for ts-expect-error
2023-03-30 12:07:58 -07:00
Joshua T Flowers
681391a50a
Add product images block to product editor ( #37455 )
...
* Add images block to the product editor
* Allow html in section block descriptions
* Add changelog entry
* Add client changelog entry
* Remove SVG related changes
* Fix up lock file after rebase
* Remove unused import
* Fix up php lint errors
* Move sanitize function to utils folder
2023-03-30 11:22:07 -07:00
Ilyas Foo
d3229b97cb
Update mobile app modal image resolution ( #37506 )
...
* Update image
* Changelog
2023-03-30 23:36:12 +08:00
Nima Karimi
afc2344f47
Remove the MCM feature flag on update to WooCommerce 7.7 ( #37454 )
...
* Remove the MCM feature flag on update to WooCommerce 7.7
This feature flag is no longer needed because the new marketing page will be the default on version 7.7 (pe2C5g-Ft-p2#comment-582).
* Remove the marketing overview welcome option
2023-03-30 16:13:57 +03:00
Chi-Hsuan Huang
be9f09f217
Fix missing result prop in `wcadmin_install_plugin_error` track ( #37466 )
...
* Fix missing result prop in install_plugin_error track
* Add changelog
2023-03-30 09:51:44 +08:00
Chi-Hsuan Huang
51af048c28
Update payment gateway recommendation priority ( #37442 )
...
* Update payment gateway recommendation priority
* Reformat
* Fix lint
* Add changelog
2023-03-30 09:15:17 +08:00
Chi-Hsuan Huang
6f5b7fd359
Fix rest api filter to allow any strings in replacement ( #37468 )
...
* Fix beta tester api filter replacement value
* Add changelog
* Fix lint
* Add doc comments
2023-03-30 09:13:09 +08:00
Barry Hughes
6c1ebf3c7a
Improve search query performance by avoiding LEFT JOIN on orders_meta table. ( #36688 )
2023-03-29 11:29:04 -07:00
github-actions[bot]
5b234b92e1
Delete changelog files based on PR 37492 ( #37494 )
...
Delete changelog files for 37492
Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-03-29 16:12:06 +02:00
github-actions[bot]
9892f7af28
Delete changelog files based on PR 37477 ( #37489 )
...
Delete changelog files for 37477
Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-03-29 16:11:24 +02:00
Gan Eng Chin
5094cc6742
Code refactor: Simplify boolean expression before `&&` in Marketing page ( #37452 )
2023-03-29 21:15:01 +08:00
Gan Eng Chin
a57ec7818e
Code refactor: Move marketing components into coupons directory ( #37444 )
2023-03-29 21:13:04 +08:00
Gan Eng Chin
b2629c03db
Make Multichannel Marketing the default new UI for Marketing page ( #37430 )
2023-03-29 21:09:23 +08:00
Albert Juhé Lluveras
2c0004a78d
Update WooCommerce Blocks package to 9.8.4 ( #37492 )
2023-03-29 14:59:28 +02:00
Gan Eng Chin
f814f09cab
Edit changelog.
...
To mention removing classic Marketing page and unused code.
2023-03-29 19:09:54 +08:00
Gan Eng Chin
b51d32e6b7
Remove unused woocommerce_marketing_overview_welcome_hidden option.
...
See https://github.com/woocommerce/woocommerce/pull/37430#discussion_r1150002880 .
2023-03-29 19:00:20 +08:00
Vedanshu Jain
6d4c579477
Merge branch 'trunk' into perf/count_orders
2023-03-29 16:00:53 +05:30
Vedanshu Jain
934084fb95
Add partial verification support for HPOS CLI ( #37446 )
2023-03-29 16:00:39 +05:30
Albert Juhé Lluveras
b5aaa1f996
Update WooCommerce Blocks package to 9.8.3 ( #37477 )
2023-03-29 11:57:58 +02:00
Vedanshu Jain
792bf6fc85
Merge branch 'trunk' into hpos/end-at-support
2023-03-29 13:24:02 +05:30
smallfishes
1f714e8ade
fixed bug where adjust_download_permissions was being scheduled on va… ( #34828 )
...
* fixed bug where adjust_download_permissions was being scheduled on variable products without downloadable variations
* check if is null per code review comment and issue 35918 on GitHub
* clean up changelog file
* Trigger checks
* Fix DownloadPermissionsAdjuster tests
---------
Co-authored-by: smallfishes <mike@smallfishanalytics.com>
Co-authored-by: Jorge A. Torres <jorge.torres@automattic.com>
2023-03-28 17:24:02 -05:00
barryhughes
59c977e5e9
Bump template version.
2023-03-28 13:19:57 -07:00
barryhughes
021ea1b9fd
Changelog.
2023-03-28 12:53:29 -07:00
barryhughes
17c4952e72
Use consistent strategy for sanitizing the payment gateway title.
...
Elsewhere, in relation to payment gateway titles, we use the HtmlSanitizer utility to remove dangerous HTML but allow a safe subset. We should also apply that here, for consistency.
2023-03-28 12:50:58 -07:00
Matt Sherman
30ea6cfc71
Show spotlight when switching to variable product type ( #37413 )
...
* Show variable product tour
* Only show tour when product type is changed to variable
* Only show tour if it hasn't been shown before
* Add variable_product_tour_shown to UserPreferences type
* Store whether tour has been shown in user preferences
* Record Tracks events
* Add docblock for woocommerce_admin_get_user_data_fields filter
* Add test for tour
2023-03-28 13:49:40 -04:00
Matt Sherman
eab7750208
Move product-editor CES-related components and utilities ( #37131 )
...
* Update package.json and lock file
* Move ProductMVPFeedbackModal to @woocommerce/product-editor
* Move ProductMVPFeedbackModalContainer to @woocommerce/product-editor
* Move ProductMVPCESFooter and useProductMVPCESFooter to @woocommerce/product-editor
* FIx mock of __experimentalUseProductMVPCESFooter in test
2023-03-28 13:38:08 -04:00
Justin Palmer
a1ed69bc0c
Remove new multichannel marketing option info from WC Tracker ( #37438 )
2023-03-28 17:54:36 +02:00
Matt Sherman
3e7d2fbe15
New empty state for variations when no attributes ( #37352 )
...
* HTML for new empty state
* Go to attributes tab when clicking on link in message
* Handle case where local attributes exist but are not used for variations
* Make sure the click handler is re-hooked up when attributes are added
2023-03-28 10:57:02 -04:00
Matt Sherman
a92c16d93d
Update style of product attributes tab empty state ( #37429 )
...
* Update style of product attributes tab empty state
* Update icon
2023-03-28 09:50:15 -04:00
Vedanshu Jain
3c351c6056
Applied standards.
2023-03-28 19:11:20 +05:30
Vedanshu Jain
7acc2fe096
Merge branch 'trunk' into perf/count_orders
2023-03-28 18:52:38 +05:30
Matt Sherman
19b6d3fb19
Change label for button to add new global attribute value from product screen ( #37414 )
...
Change label for button to add new global attribute value from product screen.
2023-03-28 09:19:48 -04:00
Vedanshu Jain
00ba26b508
Merge branch 'trunk' into hpos/end-at-support
2023-03-28 18:41:27 +05:30
Vedanshu Jain
99e4ed4963
Make params inclusive.
2023-03-28 18:38:59 +05:30
nigeljamesstevenson
c1ecb28ec7
update expectedIndustries variable name to be more descriptive ( #37448 )
...
update variable name to be more descriptive
2023-03-28 11:56:53 +02:00
Vedanshu Jain
15060e3161
Fix/37276 remove information schema queries ( #37299 )
2023-03-28 14:47:48 +05:30
Chi-Hsuan Huang
cdeb32baa1
Add `country` query param to payment suggestion data sources ( #37443 )
...
* Add country query param to payment gateway data sources
* Add changelog
* Fix lint
2023-03-28 14:18:25 +08:00
Chi-Hsuan Huang
e18a531e85
Add Payoneer, zipco payment gateways and update Klarna available countries ( #37329 )
...
* Update default payment gateways
* Add changelog
* Update payoneer image
2023-03-28 11:43:33 +08:00
barryhughes
7c0dfa3093
One more PHPCS override. We need to restore the current screen obj.
2023-03-27 15:52:10 -07:00
barryhughes
44330f5ab8
Tidy tests per coding standards.
2023-03-27 15:52:10 -07:00
barryhughes
c567a679b5
Do not assume is set in the array.
2023-03-27 15:52:10 -07:00
barryhughes
03ebff86b8
Quick edit and reply customizations targeting the Product Review page should not impact the product editor.
2023-03-27 15:52:10 -07:00
barryhughes
d4738cd5f0
Changelog.
2023-03-27 15:52:10 -07:00
barryhughes
6e8f080438
Restore reviews (comments) to the product editor.
2023-03-27 15:52:10 -07:00
Sam Seay
7918d0a3c2
Revert "Replace $.ajax() calls with browser-native window.fetch() calls. ( #36275 )"
...
This reverts commit 6c053d3eec
.
2023-03-28 10:58:17 +13:00
Barry Hughes
c4fc54680b
Updated accessibility for product categories shortcode. ( #37445 )
2023-03-27 14:02:57 -07:00
Peter Fabian
4b64923747
Synchronized SSR from template to REST API ( #37425 )
...
* Synchronized SSR from template to REST API.
* Changelog.
* PHPCS
* More PHPCS.
* PHPCS fix
* Fixed unit tests.
2023-03-27 15:19:24 -05:00
github-actions[bot]
bfe49d9d83
Delete changelog files based on PR 37397 ( #37423 )
...
Delete changelog files for 37397
Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-03-27 21:39:19 +02:00
github-actions[bot]
1bcc039bf5
Delete changelog files based on PR 37313 ( #37358 )
...
Delete changelog files for 37313
Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-03-27 21:12:10 +02:00
Leif Singer
82a172cd06
Delete changelog files based on PR 37323 ( #37456 )
2023-03-27 20:57:05 +02:00
Leif Singer
7a68b6f16f
Delete changelog files based on PR #37434 ( #37449 )
2023-03-27 18:13:26 +02:00
Maikel David Pérez Gómez
a5b104eaed
Add icon support to product section block ( #37340 )
...
* Add block icon component
* Use the block icon component within the section block
* Add changelog file
* Fix rebase conflicts
* Remove icon configuration from the client side
* Change the BlockIcon component to get the icon from the attributes first and then from the metadata
* Expose the BlockIcon to be used outside of the package
* Add the BlockIcon documentation
* Configure the block to support the new icon via attributes
* Set the icon to the block section in the server template definition
* Revert back index.tsx -> index.ts in the section block
* Fix php linter errors
* Add changelog file
* Fix php linter error
* Return null instead of a Fragment
2023-03-27 12:52:03 -03:00
Gan Eng Chin
69a00e8eaa
Add changelog.
2023-03-27 23:29:59 +08:00
Vedanshu Jain
4245ec17b9
Yoda conditions, I have used.
2023-03-27 20:44:38 +05:30
Gan Eng Chin
de2aa280ef
Simplify boolean expression before && in Marketing page.
2023-03-27 21:55:42 +08:00
Peter Fabian
e8409660da
Changelog.
2023-03-27 15:40:31 +02:00
Peter Fabian
cf9fbb2248
Updated accessibility for product categories shortcode.
2023-03-27 15:39:49 +02:00
Gan Eng Chin
07181dd142
Add changelog.
2023-03-27 20:27:32 +08:00
Gan Eng Chin
64bd683e0b
Simplify import.
2023-03-27 20:17:05 +08:00
Vedanshu Jain
bb0ca91846
Add changelog.
2023-03-27 17:45:44 +05:30
Vedanshu Jain
dd2fe3869b
Add support for end_at ID to allow partial verification.
2023-03-27 17:44:52 +05:30
Gan Eng Chin
ab2d56d8b3
Move card and slider into coupons directory.
2023-03-27 19:56:40 +08:00
Gan Eng Chin
48c50afcbf
Move RecommendedExtensions and KnowledgeBase into coupons directory.
2023-03-27 19:56:40 +08:00
Matt Sherman
a77e4abffe
Emit error on webpack build when invalid export name used in import for JS ( #37195 )
2023-03-26 21:42:33 -04:00
Justin Palmer
51e04b9eba
Remove multichannel marketing info from WC Tracker
2023-03-25 16:57:20 +01:00
Leif Singer
62b275c41a
Update tested and required WordPress versions according to L-2 policy ( #37434 )
2023-03-25 09:25:13 +01:00
github-actions[bot]
a7516cb2b0
Delete changelog files based on PR 36593 ( #37420 )
...
Delete changelog files for 36593
Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-03-24 19:18:43 +01:00
github-actions[bot]
0e1f974f49
Delete changelog files based on PR 37373 ( #37380 )
...
Delete changelog files for 37373
Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-03-24 19:17:54 +01:00
github-actions[bot]
df52c85e92
Delete changelog files based on PR 37354 ( #37356 )
...
Delete changelog files for 37354
Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-03-24 19:16:51 +01:00
Gan Eng Chin
046b0195ab
Update e2e test for marketing page.
2023-03-25 01:32:14 +08:00
Gan Eng Chin
6a6dd1a710
Fix failed api-core-tests.
2023-03-25 01:22:14 +08:00
Gan Eng Chin
49299de1fd
Add changelog.
2023-03-25 00:40:29 +08:00
Vedanshu Jain
126187b794
Fix imported ContainerInterface ( #37334 )
...
Co-authored-by: Viktor Szépe <viktor@szepe.net>
2023-03-24 16:50:53 +01:00
nigeljamesstevenson
59a12a1868
E2e/fix failing daily product variations ( #37246 )
2023-03-24 15:20:37 +00:00
Peter Fabian
ee061bbd7f
Added missing docs for filter.
2023-03-24 15:26:41 +01:00
John Greys
c8d0ab3019
Add changelog file
2023-03-24 14:22:41 +00:00
John Greys
e1226eb9c3
Dev - Add customer object parameter to taxable address filter
2023-03-24 14:20:25 +00:00
Ilyas Foo
47587065c9
Fix `possibly_refresh_data_source_pollers` function ( #37397 )
...
* Add default value for get_option
* Changelog
2023-03-24 21:07:10 +08:00
Konstantinos Megas
2cd529bcda
fix typos ( #37407 )
...
* fix typos
fix typos
* Add changelog
---------
Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
2023-03-24 21:05:34 +08:00
Peter Fabian
ea40a1409e
Changeglog.
2023-03-24 13:52:23 +01:00
Peter Fabian
fc7c015cab
Added SSR report endpoint accessible through WCCOM.
2023-03-24 13:50:50 +01:00
Néstor Soriano
2d9b4bdd46
Bump WooCommerce minimum required PHP version to 7.3 and upgrade to PHPUnit 9 ( #37366 )
2023-03-24 13:42:46 +01:00
Gan Eng Chin
ec2cc54c09
Remove feature toggle in WC Settings page.
2023-03-24 20:01:44 +08:00
Peter Fabian
7475685946
Update incorrect docs.
2023-03-24 12:45:51 +01:00
Gan Eng Chin
12ec1c88fc
Remove unused classic marketing overview component.
2023-03-24 16:56:52 +08:00
Konstantinos Megas
6525bd069d
Fix typos in code comments ( #37405 )
2023-03-24 09:22:58 +01:00
Niels Lange
3dbf859df3
Replace woocommerce-blocks textdomain in *.json files ( #37234 )
...
Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
2023-03-24 09:21:58 +01:00
Sakri Koskimies
1a058dc12f
Fix rounding difference on refunds with per-line taxes. Closes #30263 ( #34641 )
2023-03-24 09:09:13 +01:00
Nicholas Hance
6585113636
Update schema for version to match what is sent ( #35940 )
...
More specifically, the type of "version" in the "order" object in REST API is now declared as "string" instead of "int".
Co-authored-by: Néstor Soriano <konamiman@konamiman.com>
2023-03-24 08:49:53 +01:00
Néstor Soriano
432daa511d
Delete order data from wc_order_tax_lookup and wc_order_stats on order deletion ( #36601 )
2023-03-24 08:45:54 +01:00
Chi-Hsuan Huang
9cf7ef5a3d
Migrate woocommerce-payments task fills to TS and remove connect.js fill ( #37308 )
...
* Migrate woocommerce-payments.js to TS
* Remove tasks/fills/connect.js
* Add changelog
* Remove connect js
2023-03-24 12:26:13 +08:00
Christopher Allford
67cde87fd1
Enforce Strict `@types` Dependencies ( #37351 )
2023-03-23 18:02:20 -07:00
Jon Lane
9c8249fa46
Fix timeout
2023-03-23 11:42:46 -07:00
Christopher Allford
3d614cd862
Removed TypeScript Incremental Build Support ( #37374 )
2023-03-23 11:25:42 -07:00
Nathan Silveira
818c0c0a12
Add start command to woocommerce/client/legacy ( #37368 )
2023-03-23 11:20:20 -07:00
Jon Lane
660b277d4b
Complete refactor
2023-03-23 10:35:57 -07:00
Anastasio
e901ec1672
Removed previously added unnecessary filter
2023-03-23 19:29:56 +02:00
Lucas Bustamante
ebafecea0f
Reduce flakiness on E2E setup ( #37410 )
...
* Reduce flakiness on test setup
* Add changelog
* Go to wp-admin
2023-03-23 09:40:31 -07:00
Gan Eng Chin
51a57c2808
Remove unused Button component in marketing directory.
2023-03-23 23:28:55 +08:00
Gan Eng Chin
4f7705f691
Always use MarketingOverviewMultichannel for marketing page.
2023-03-23 23:19:34 +08:00
Jorge A. Torres
627c2bce01
Synchronize order meta data (between HPOS and CPT stores) ( #36593 )
2023-03-23 10:03:44 -05:00
Vedanshu Jain
41c2549f20
Remove manual meta handling code since custom meta is synced now.
2023-03-23 08:34:00 -05:00
nigeljamesstevenson
189460417c
Release tests with plugins installed ( #37361 )
2023-03-23 12:32:30 +00:00
nigeljamesstevenson
8806f0d6ee
changelog entry
2023-03-23 09:31:40 +00:00
nigeljamesstevenson
0e1f74ae5a
update incorrect variable name in api-core-test
2023-03-23 09:26:27 +00:00
Gan Eng Chin
5953362485
Refetch "Installed extensions" card data after installing recommended channels ( #37300 )
2023-03-23 15:06:08 +08:00
Jorge A. Torres
c76a999ae9
Propagate metadata deletion
2023-03-22 21:38:12 -05:00
barryhughes
fd3749d5c2
Add assertions covering synchronization of order meta data deletions.
2023-03-22 21:38:12 -05:00
barryhughes
e15b942054
Fix typos.
2023-03-22 21:38:12 -05:00
barryhughes
ed511dbb76
Synchronize order meta data (between HPOS and CPT stores) upon a call to $order->save_meta_data.
2023-03-22 21:38:12 -05:00
Jon Lane
50852ca9ea
Fixed variations test
2023-03-22 10:09:27 -07:00
Nestor Soriano
1468539e5c
Merge branch 'trunk' into bump-required-php-to-7.3
2023-03-22 17:03:07 +01:00
Albert Juhé Lluveras
5a21b3f218
Update WooCommerce Blocks package to 9.8.2 ( #37373 )
2023-03-22 16:56:41 +01:00
Nestor Soriano
74d0841eaf
Merge branch 'trunk' into bump-required-php-to-7.3
2023-03-22 16:43:50 +01:00
Nestor Soriano
b7cd5aa47d
phpunit.xml migrated to the new PHPUnit 9 schema
2023-03-22 16:21:06 +01:00
Nestor Soriano
15c7a18c98
Add changelog file
2023-03-22 13:32:42 +01:00
Nestor Soriano
9137eff39b
Fix tests that throw deprecation warnings in PHPUnit 9.
...
These fixes include:
- Replace assertRegExp with assertMatchesRegularExpression
- Replace assertObjectHasAttribute and assertClassHasStaticAttribute
with assertTrue(property_exists)
- Replace assertFileNotExists with assertFileDoesNotExist
- Replace expects(at()) with withConsecutive
2023-03-22 13:23:58 +01:00
Nestor Soriano
9bc58b8773
Upgrade PHPUnit to v9, and fix errors in tests.
...
These errors are due to deprecations in PHPUnit 9, mostly due to the
fact that comparions are now string on assertions:
- Use assertArraySubset instead of arrayContains for checking
subsets of associative arrays.
- Use assertEqualsWithDelta for comparing floats (thorugh a new
method in the base tests class, assertFloatEquals)
- Convert ints to strings and viceversa before comparing.
- Use assertArrayHasKey instead of assertContains for checking
key existence in associative arrays.
- Use assertStringContainsString instead of assertContains for
checking substrings.
2023-03-22 12:42:43 +01:00
Gan Eng Chin
1453351521
Simplify tests for CreateNewCampaignModal.
2023-03-22 18:38:43 +08:00
Gan Eng Chin
59c94ce24a
Fix build errors after merging from trunk.
2023-03-22 18:35:06 +08:00
Joel Thiessen
4ae467af9e
Adding more menu with items using slot fill ( #37255 )
...
* Refactored, adding slot fill, basic working via common components
* Pinning plugins dep
* More menu style tweaks
* Fixing merge issues
* Adding product header item slotfill to support more menu modal
* Fixing moved imports
* Adding changelogs
* Adding hover state for more menu toggle btn
* Fixing typo
* Refactoring to use WooHeaderItem instead of adding new slot-fill
* Removing unneeded fragment
* Adding admin layout changelog
* PR feedback
* Fix up lock file after rebase
---------
Co-authored-by: Joshua Flowers <joshuatf@gmail.com>
2023-03-22 07:30:06 -03:00
Gan Eng Chin
186f1fb850
Merge branch 'trunk' into feature/37127-marketing-reload-installed-extensions
2023-03-22 18:28:39 +08:00
rodelgc
06da097968
Merge branch 'trunk' into e2e/release-plugins-0
2023-03-22 18:04:42 +08:00
nigeljamesstevenson
c37080f29f
Add workflow to run API, k6 performance, and E2E tests on trunk after PR merge ( #37033 )
2023-03-22 09:44:36 +00:00
Gan Eng Chin
c0dc416700
Exclude marketing channels in "Installed extensions" and "Discover more marketing tools" cards ( #37126 )
2023-03-22 17:41:04 +08:00
rodelgc
5f8aa3671c
Merge branch 'trunk' into e2e/release-plugins-0
2023-03-22 17:29:08 +08:00
Gan Eng Chin
76379770a1
Fix hook file name with correct casing.
2023-03-22 16:51:25 +08:00
Gan Eng Chin
1f7a8120a3
Temporary rename file to fix casing issue.
2023-03-22 16:50:27 +08:00
Gan Eng Chin
3189f2b7f5
Reorganize code.
2023-03-22 16:44:44 +08:00
Gan Eng Chin
01492520d3
Fix JSDOC comment in UseRecommendedPluginsWithoutChannels.
2023-03-22 16:38:21 +08:00