Commit Graph

11013 Commits

Author SHA1 Message Date
Moon 53593061cf
Use the same checkbox styles on the platform selector (#39469)
* Use the same checkbox style

* Add changelog

* Update plugins/woocommerce-admin/client/core-profiler/components/multiple-selector/multiple-selector.scss

Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>

* Fix CSS lint issues

---------

Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
2023-08-01 17:18:38 -07:00
Corey McKrill c584d4041a
Guest verification: Be more precise when checking form submission data (#39479) 2023-08-01 16:52:27 -07:00
Jorge A. Torres 566d5092b2
Prevent possible fatal error when refreshing edit lock for orders (#39498)
* Remove return type from signature for order edit lock callbacks

* Add changelog
2023-08-01 15:05:48 -07:00
Jorge A. Torres 14d9760549
Prevent possible fatal error when user holds edit lock for a deleted order (#39497)
* Prevent possible fatal error when locked order is deleted

* Add changelog
2023-08-01 14:37:49 -07:00
github-actions[bot] 62645e0ba8
Delete changelog files based on PR 39478 (#39514)
Delete changelog files for 39478

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-08-01 10:28:26 -05:00
github-actions[bot] 851ca326ea
Delete changelog files based on PR 39502 (#39511)
Delete changelog files for 39502

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-08-01 09:24:57 -05:00
Matt Sherman 85e37739d1
Do not disable "Used for variations" checkbox (#39502) 2023-08-01 10:01:42 -04:00
louwie17 1ac824de2d
Dequeue conflicting styles within product editor (#39478)
* Dequeue conflicting styles within product editor

* Add changelog

* Fix lint errors

* Add check to only dequeue on admin/embed pages
2023-08-01 10:19:37 -03:00
Tomek Wytrębowicz e9042633eb
Remove non-existing method from TaskList docs. (#39454) 2023-08-01 14:49:52 +02:00
RJ 94e4682f01
add: feature flag for customize your store task (#39397)
* add: feature flag for customize your store task

* toggled core-profiler feature flag to true in dev mode
2023-08-01 20:28:39 +08:00
Chris Lilitsas b8c0e273bc
Update the admin's menu remaining tasks bubble CSS class and loosen the query selector for handling the runtime update (#39273)
* Modify dom structure, add a specific class and alter the querySelector

* Select all bubbles instead of only the first one

* Add changelog

* Cleanup

* Cleanup
2023-08-01 13:02:09 +03:00
Paul Sealock fb26613f03
WooCommerce Docs: Update manifest hash on content update (#39445) 2023-08-01 13:13:42 +12:00
Matt Sherman 144606f1fb Check if product_type query arg is set before using 2023-07-31 19:10:36 -04:00
Matt Sherman 479c4ed0eb Changelog 2023-07-31 19:00:08 -04:00
Matt Sherman 956aa7b84f Restore woocommerce_added_attribute trigger 2023-07-31 18:58:03 -04:00
Matt Sherman a38a867f20 Remove disable_or_enable_fields() implementation 2023-07-31 18:22:03 -04:00
Matt Sherman a78d4d6788 Do not disable Used for variations checkbox by default 2023-07-31 18:21:32 -04:00
Matt Sherman 850acd0ce2 Add the empty attribute when the attributes tab is shown, to account for product type switching 2023-07-31 18:13:58 -04:00
Matt Sherman 8f4b123d80 Trigger woocommerce_tab_shown when a tab is shown 2023-07-31 18:11:52 -04:00
Matt Sherman 119ab3c3bb Only set attribute as used for variation by default if product type is variable 2023-07-31 18:11:13 -04:00
rodelgc 296560b77a
E2E: Fix and simplify user id retrieval in `a user should see 3 sections by default` (#39472)
* Add changelog

* Simplify user id retrieval
2023-07-31 15:11:04 -07:00
nigeljamesstevenson 132aba1673
Fixes #38757 - pass time values on CSV importer (#39372) 2023-07-31 21:56:12 +01:00
nigeljamesstevenson fa2aba5256
Limit index length to 191 characters by default, additionally connect HPOS to verify DB tooling. (#39250) 2023-07-31 21:48:33 +01:00
github-actions[bot] 5e3df0b4cb
Delete changelog files based on PR 39492 (#39496)
Delete changelog files for 39492

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-07-31 12:34:07 -05:00
Luigi Teschio f65e77a6ef
Bump WC Blocks to 10.6.2 (#39492)
bump WC Blocks to 10.6.2
2023-07-31 18:38:49 +02:00
Moon 46d83e3861
Redirect to Jetpack connect page on plugins page skip (#39109)
* Redirect users to Jetpack Auth when the users deselect all plugins, but Jetpack is already installed

* Add changelog
2023-07-31 09:07:10 -07:00
Moon c810960bff
Align checkbox, logo, and title on the plugins page (core profiler) (#39394)
* Reset checkbox position

* Center align chekbox, logo, and the title

* Add changelog

* Remove use of classnames -- no longer needed

* Fix CSS lint issues
2023-07-31 09:06:50 -07:00
Ron Rennick 908bb20e8f
Add changelog file 2023-07-31 12:25:50 -03:00
Yashita Mittal e4bec8e378
Update task list items to show spinner on selection (#39270)
* Update task list to show a spinner on item click

There is an issue of a noticeable delay when clicking on product task list items, which leaves users waiting without any indication of the loading status.
To enhance the user experience, add a loading spinner that provides visual feedback during the transition to the next page.

Co-authored-by: yashita.mittal <yashita.mittal@a8c.com>
2023-07-31 18:42:09 +08:00
Panos (Panagiotis Synetos) 46b687830a
Use admin theme color for select2 (#39451) 2023-07-31 09:30:10 +03:00
Andrew Dawes 495a06c0fa Explicitly fallback to returning null 2023-07-29 19:54:56 -04:00
Andrew Dawes 9b19c9f21d Fix phpcs sniff error 2023-07-29 19:54:24 -04:00
Nathan Silveira 403c8ba8b8
[ Product Block Editor ] Create Variation options block (#39256)
* Add support for variable products

* Add 'hello world' block to variations tab

* Add product-section block to template

* Add AttributeControl component to screen

* Add changelog

* Change labels

* Make a copy of AttributeControl to VariationOptionsControl to allow the fields to evolve separately in future

* Fix tests

* Add changelog to woocommerce

* Fix alert error

* Remove copied control and start adapting attribute control to handle both scenarios

* Add -field to block name

* Revert "Add -field to block name"

This reverts commit 50e1ee66e27ffb2df22ea7f6a4f78d1577a273f5.

* Revert "Revert "Add -field to block name""

This reverts commit eee0441c6532f9fa8cf8383d9699fd503dd054ae.

* Extract more labels

* Hide drag handle in variation options
2023-07-28 14:40:18 -03:00
Nathan Silveira bf97630ad0
[Product Block Editor] Add require password block field (#39464)
* Add post password to API

* Add changelog

* Fix phpcs issue

* Remove post_password from tests

* Add additional property to test

* Increment number of properties in product schema

* Update the post when post_password changes

* Start adding password block

* Add css and import it

* Refactor attributes and erase password when checkbox is unchecked

* Add changelogs

* Remove unused imports

* Rename 'fields' to 'field'

* Refactor CSS

* Remove example object
2023-07-28 14:05:03 -03:00
Corey McKrill 12e5edf032
Removes the "for your state" string from the checkout page if there are no current payment methods available. (#39348)
The for your state element generates confusion for merchants and HEs alike because of the homonym state. There is regularly an assumption that this is referring to a geographical state (e.g., the state of California) instead of a system state.

Removing the for your state string from this message retains the original message but eliminates confusion that may be brought on by using the word state.
2023-07-27 16:30:27 -07:00
Corey McKrill 3e8c862464
Update template version 2023-07-27 15:18:10 -07:00
Leif Singer 63ce94ac37
Optimize system status tests (#39363) 2023-07-27 22:29:59 +02:00
Nathan Silveira b6b757a748
[Product Block Editor] Add post_password parameter to the Woo product REST api (#39438)
* Add post password to API

* Add changelog

* Fix phpcs issue

* Remove post_password from tests

* Add additional property to test

* Increment number of properties in product schema

* Update the post when post_password changes
2023-07-27 13:02:36 -03:00
Tomek Wytrębowicz 9cc5f87936 Add the changelog entry. 2023-07-27 15:51:37 +02:00
Tomek Wytrębowicz 463d91c16c Remove non-existing method from TaskList docs. 2023-07-27 15:46:56 +02:00
Panos (Panagiotis) Synetos 96a52b5923
👌 Use admin theme color for select2 2023-07-27 15:47:54 +03:00
Leif Singer 77af817444
Shard unit test runs (#39362) 2023-07-27 14:06:55 +02:00
nigeljamesstevenson 66f852fc26
Include postcode in Vietnam address format (#39403) 2023-07-26 19:13:58 +01:00
Panos (Panagiotis Synetos) 4ec75f7b26
Fix hardcoded admin colors, use admin theme colors (#39182) 2023-07-26 14:43:05 +03:00
Corey McKrill d513c7c73e
Use the LegacyProxy to invoke get_plugins, remove CodeHacking usage 2023-07-25 11:07:52 -07:00
Corey McKrill faa478d610
Add changelog file 2023-07-25 10:52:09 -07:00
Corey McKrill 18e8e5c148
WC Tracker: Add unit test for plugin feature compat data
In #38849 a change was made that allowed the class mocking necessary
for this test to happen in a way that wouldn't interfere with other
unit tests.

Fixes #38720
2023-07-25 10:52:08 -07:00
Jorge Torres bc1bb61f26 Add changelog 2023-07-25 11:25:49 -03:00
Jorge Torres bf174f314e Include postcode in Vietnam address format 2023-07-25 11:25:29 -03:00
Vedanshu Jain 9b7570f8b2
Support inserting NULL values for strict DB mode (#39396)
* Support inserting NULL values for strict DB mode

* Set default date for placeholder order to support strict MySQL.

* Add unit test to verify strict mode also works.

* Make HPOS behavior of modified date consistent with WP_Post.

In HPOS we were leaving modified date to be empty, while WP_Post set it to the created date if modified date is null.
2023-07-25 09:30:03 -03:00