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
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