faisal-alvi
bf83d61af9
add a changelog
2023-04-20 14:36:59 +05:30
Csaba Maulis
53276e786d
Fix CS
2023-04-20 16:38:00 +08:00
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
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
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
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
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
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
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
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
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
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