Commit Graph

52947 Commits

Author SHA1 Message Date
Vedanshu Jain a0a231f804 Preserve original meta value. 2023-07-31 16:38:47 +05:30
Vedanshu Jain e557241a6b Account for meta value being array when compared. 2023-07-31 16:38:47 +05:30
Vedanshu Jain fc38e07da4 Add changelog. 2023-07-31 16:38:47 +05:30
Vedanshu Jain 1285f45a83 Use direct post calls for meta CRUD for performance. 2023-07-31 16:38:47 +05:30
Vedanshu Jain 85d89140e0 Use seperate variables for backfilling and sync on read.
Also add explaining comments.
2023-07-31 16:38:47 +05:30
Vedanshu Jain 286a222bfb Add changelog. 2023-07-31 16:38:47 +05:30
Vedanshu Jain d1f3a0e042 Fixup - use correct syntax for removing element. 2023-07-31 16:38:47 +05:30
Vedanshu Jain 456ef55b3d Prevent read on sync while inside a backfill. 2023-07-31 16:38:47 +05:30
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
Paul Sealock 2f872ebd4d
Monorepo Utils: Fix no merge base in changefile script (#39467)
* when checking out remote branch, ensure git history is there to find common ancestor for git diff

* remove unshallow
2023-07-28 11:10:29 +12: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
Vedanshu Jain f0648faa34
WC Tracker: Add unit test for plugin feature compatibility data (#38931) 2023-07-26 16:53:29 +05:30
Sam Seay 26851bd3ce
WooCommerce Docs: Fix a bug where passing full file urls made ids unstable. (#39357)
Fix a bug where passing full file urls made ids unstable.
2023-07-26 16:54:45 +12:00
Chris Runnells d44cc51182 Added changelog 2023-07-25 13:51:28 -10: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
Paul Sealock 58dfbd2c4e
WooCommerce Docs: Handle multiple category posts (#39352) 2023-07-25 15:29:43 +12:00
Chris Runnells a80aaaa0e0 Replace 'end' CSS props with 'flex-end' which has broader browser support 2023-07-24 12:37:41 -10:00
Paul Sealock 62f02e36f8
Monrepo Utils code-freeze: Update version bump to modify release branches (#39243) 2023-07-25 10:03:01 +12:00
github-actions[bot] b57f988044
Delete changelog files based on PR 39327 (#39388)
Delete changelog files for 39327

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-07-24 14:21:47 -05:00
Moon b8a8d48474
Update/39325 typo in core profiler data sharing copy (#39327)
* Fix grammar in data-sharing agreement copy

* Add changelog

* Put ,

* Add brackets

* Move learn more link inside the bracket

* Update test snapshot

* Fix grammar

* Update test snapshot
2023-07-24 12:13:13 -07:00
RJ 615393be39
dev: core profiler pages storybook (#39046)
* dev: core profiler pages storybook

* changed css path to pre-build zip path
2023-07-24 20:34:38 +08:00
nigeljamesstevenson e5b26f0b7d
E2E: fix flakiness in `analytics-overview.spec.js` (#39308) 2023-07-23 21:12:01 +01:00
nigeljamesstevenson d41d61ea41
Run all tests on daily run (#39351) 2023-07-23 21:00:42 +01:00
Andrew Dawes 665fb04611 Fixes #38757 - pass time values on CSV importer
Validate datestrings and convert Unix timestamps to datestrings with UTC timezone specified.
2023-07-22 21:03:58 -04:00
Sam Seay 7553f2b26e
WooCommerce Docs: Add support for more core block conversion (#39244)
* WIP extend support for frontmatter in manifests.

* Change some of the prop names in the frontmatter support, add tests.

* WIP support new frontmatter in plugin.

* Improve category processing.

* restructure the docs to have a nested category with no index.

* Add WP test stubs to dev.

* Add tests for the ManifestProcessor.

* Add param docs to function

* Store post meta on posts when they are updated or created. Add supporting tests.

* WIP supporting more core block types.

* Fix bugs in conversion.

* Adjust conversion for issues with tables, blockquotes, code.

* Resolve pnpm lock conflicts

* Return manifest to state in trunk.

* Return pnpm lock to trunk state.

* Update fixture for new md content.
2023-07-22 12:22:55 +08:00
Jon Lane 296f2aa382 Skip tax rates test if CI 2023-07-21 13:22:07 -07:00
Panos (Panagiotis) Synetos 155420f79c
Merge branch 'trunk' into fix/admin-colors-use-theme 2023-07-21 12:12:06 +03:00
Jon Lane 2c75de6648 Changelog 2023-07-20 15:50:50 -07:00
Jon Lane 32d3724bd8 Skip failing tests 2023-07-20 15:49:02 -07:00
Jon Lane a1bf55ff5f Update config to use API URL 2023-07-20 14:28:40 -07:00
Jon Lane 9c571c97ce Update API URL in workflow and run all API tests 2023-07-20 14:26:59 -07:00