Commit Graph

50928 Commits

Author SHA1 Message Date
Barry Hughes 96100062c0
Switched matching of screen ID with the untranslated string. (#36854) 2023-02-17 13:31:36 -08:00
Saad Tarhi 0de41672f5
Update WooCommerce blocks package to 9.6.1 (#36852) 2023-02-17 22:17:42 +01:00
Nathan Silveira 2ad2b79ac6
Fix inconsistencies on Analytics > Orders table when using date_paid or date_completed (#36876)
* Fix inconsistencies on Analytics > Orders table when using date_paid or date_completed

* Fix sniff

* Fix unit test
2023-02-17 17:52:10 -03:00
github-actions[bot] aeab757b70
Update changelog.txt from release 7.4.0 (#36838)
* Prep trunk post release 7.4.0

* Correct release date in readme

---------

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
Co-authored-by: jonathansadowski <jonathansadowski@users.noreply.github.com>
2023-02-17 13:50:02 -06:00
Barry Hughes 8a9f7fdb76
Update plugins/woocommerce/changelog/fix-36474 2023-02-17 10:52:18 -08:00
Michael Pretty a11f5926b1 lint fixes and fix typo 2023-02-17 11:26:55 -05:00
Michael Pretty 28256951aa Tweak test_initiate_regeneration_creates_lookup_table to insert properly with pre-defined table columns 2023-02-17 11:20:07 -05:00
Saad Tarhi c1f232225a Keep only one changelog file 2023-02-17 17:06:18 +01:00
nigeljamesstevenson 4b8e24cc9f
Make the selector a bit more strict to avoid collision (#36499) 2023-02-17 15:56:07 +00:00
Saad Tarhi e434d021f1 Revert the .gitignore change 2023-02-17 16:48:56 +01:00
Michael Pretty 2728ffd5bd disabling lint rule for query 2023-02-17 10:48:28 -05:00
Michael Pretty 54151becc5 Avoid preparing the table name for truncate query 2023-02-17 10:33:36 -05:00
Saad Tarhi 1e1111f329 Run "pnpm --filter=woocommerce changelog add" 2023-02-17 16:15:31 +01:00
Saad Tarhi d940569d50 Run "composer update -W woocommerce/woocommerce-blocks" 2023-02-17 16:13:19 +01:00
Saad Tarhi d3c22d52c9 Bump Woo Blocks version to 9.6.1 in composer.json 2023-02-17 15:51:20 +01:00
Michael Pretty 91ef6ae8ba adding changelog entry 2023-02-17 09:15:18 -05:00
Michael Pretty 02055537ac Switch to the use of dbDelta and truncate for the product attribute lookup tables over drop/create table. 2023-02-17 09:12:42 -05:00
Nathan Silveira 9d7e503519
Add date sorting configuration for Analytics (#36492)
* Include fields date_paid and date_completed to wp_wc_order_stats

TODO: add script to create new columns in the database

* Add update script and new columns in get_schema

* Add new configuration in Analytics > Settings to configure type of date used in Revenue report

* Change date_column_name to date_paid

TODO: This will be configurable in future

* Add date type config field

* Use customizable date field in DataStore

* Change label

* Fix linter errors

* Remove blank line

* Put default column name back to date_created

* Make date_paid and date_completed nullable to help with unit tests

* Remove new table creation in update function and use query method instead of get_var

* Extend stats constructor

* Improve date type configuration description

* Set date column name default to date_created to test if build passes

* Fix phpcs issue on constructor

* Remove cache bypass added by mistake

* Improve changelog

* Fill date_paid and date_completed for refunds to avoid problems whem they are being used to sort
Fix unit tests when date_paid or date_completed are being used as sort date

* Change default to date_created

* Bump update script to 7.5.0

* Add prefix and postmeta variables for script
2023-02-17 10:29:36 -03:00
nigeljamesstevenson 3b58651bd6
Playwright 1.30.0 update (#36789) 2023-02-17 10:31:06 +00:00
nigeljamesstevenson e36d330afa
E2e/update command for e2e (#35287) 2023-02-17 10:28:15 +00:00
Chi-Hsuan Huang ad2f126a32
Have "Grow your store" appear first in marketing task by default (#36826)
* Have "Grow your store" appear first by default

* Add changelog

* Remove PLUGIN_LIST_DISPLAY_ORDER and use ALLOWED_PLUGIN_LISTS instead
2023-02-17 11:28:20 +08:00
Chi-Hsuan Huang dcba4456cf
Add SlotFill for marketing overview screen (#36828)
* Add slot for marketing overview section slotfill

* Add changelog

* Remove unneed changes

* Add changelog
2023-02-17 09:46:52 +08:00
Barry Hughes 28a6ed6656
Translate the labels for units of measure (#36708) 2023-02-16 17:16:30 -08:00
Barry Hughes 5b181c1f13
Update cart form quantity and coupon code input style (#29122)
Tweak cart quantity and coupon inputs under the Twenty Twenty-One theme.
2023-02-16 16:27:28 -08:00
barryhughes 86005db0d1 Changelog 2023-02-16 10:23:59 -08:00
hsing 1c24708e25 Update cart form quantity and coupon code input style 2023-02-16 10:19:35 -08:00
Fernando Marichal ab6d3a45af
Show attribute creation form when there are no attributes (#36606)
* Add attribute creation form

* Add changelog

* Check `Used for variations` by default

* Fix lint

* Fix lint

* Fix `create-variable-product.spec` e2e tests

* Fix do not show form with local attributes

* Fix lint

* Fix tests

* Refactor e2e test fix

* Replaced `wp_kses_post` with `esc_html_e`

* Fix lint

---------

Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2023-02-16 10:52:12 -04:00
louwie17 23d5c4d074
Update product editor packages (#36815)
* Add product section components back to Components package

* Fix imports

* Add a deprecated message

* Add changelog.
2023-02-16 10:43:23 -04:00
louwie17 f615c58714
Fix create ordered children helper function (#36831)
* Still pass injectProps into child props for slot fill helper

* Add changelog
2023-02-16 10:42:41 -04:00
Peter Fabian 8ccfedfa4f Hardcoding the string instead of refering to value
...that's only available later or not at all in some contexts.
2023-02-16 15:16:56 +01:00
Matt Sherman 465b3d0dd5
Use createSelector for getPermalinkParts selector to cache result (#36848) 2023-02-16 09:13:00 -05:00
Peter Fabian 0c254c03c3 Switched matching of screen ID with the untranslated string. 2023-02-16 14:31:35 +01:00
Saad Tarhi cef5009a21 Run "pnpm --filter=woocommerce changelog add" 2023-02-16 11:34:40 +01:00
Saad Tarhi 469eb72766 Run composer update woocommerce/woocommerce-blocks 2023-02-16 11:31:19 +01:00
Saad Tarhi a6241d8bc7 Bump Woo Blocks version to 9.6.0 in composer.json 2023-02-16 11:29:11 +01:00
aniketpatel32 0e7c13d883
Fix: Ampersand changed to &amp on product attribute export #36520 (#36525) 2023-02-16 09:15:03 +01:00
Corey McKrill 23f52e040c
Update plugins/woocommerce/src/Utilities/I18nUtil.php
Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>
2023-02-15 16:42:41 -08:00
Corey McKrill e016fb1093
Update plugins/woocommerce/src/Utilities/I18nUtil.php
Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>
2023-02-15 16:42:10 -08:00
Corey McKrill 76e7260362
Clean up linting errors 2023-02-15 15:20:25 -08:00
Corey McKrill b336652e0d
Return the input string if it's not a recognized unit of measure
Rather than returning an empty string as the label for an unknown
unit of measure, this allows a merchant to use a custom unit of measure
for something and still have it appear in the UI.
2023-02-15 15:10:36 -08:00
Corey McKrill 9691159d09
Switch back to context-less gettext for unit translations
While the extra context would be beneficial for translators, these
particular strings have already been translated for many lanugages
and adding the context would invalidate the translations, which could
cause a visual regression for merchants if the new strings don't get
reapproved before the next version is released.
2023-02-15 14:12:17 -08:00
Matt Sherman e05a191156
Use products data store for getPermalinkParts selector (#36706)
* Add generated_slug and permalink_template to Product

* Update getPermalinkParts to use products data store instead of posts data store

* Remove ts-expect-error directive

* Changelog

* Add resolver for getPermalinkParts
2023-02-15 11:02:55 -05:00
Nadir Seghir c28bb8708e fix function call 2023-02-15 16:58:26 +01:00
Nadir Seghir 2efe0a0f6a add tracking for local pickup 2023-02-15 16:41:26 +01:00
Matt Sherman 993f1f4879
Fix SelectControl and TreeControl styles (#36718)
* Change TreeItem background hover/focus color to $gray-100

* Remove errand importing of native colors

* Changelog
2023-02-15 09:12:21 -03:00
Atanas Penchev 55af1d1365
FlexSlider legacy browser code clean-up (#36690) 2023-02-14 12:08:07 +01:00
Nestor Soriano c4440b9586
Don't assume the character encoding parameter is present 2023-02-14 09:56:48 +01:00
Sam Seay e4303a7b25
Add smooth generator to the beta tester userscript (#36676) 2023-02-14 18:34:47 +13:00
Tomek Wytrębowicz c5cbc8d4ab
Update `config@3.3.7` (from `3.3.3`) (#33828)
* Update `config@3.3.7` (from `3.3.3`)

Add it to syncpack, to avoid `ReferenceError: node_env_var_name is not defined` when external extension imports and transforms the `admin-e2e-tests` directly from `node_modules`.

Include https://github.com/node-config/node-config/pull/642
2023-02-14 18:34:00 +13:00
github-actions[bot] a3e26fe9ea
Prepare Packages for Release (#36825)
Automated change: Prep @woocommerce/onboarding for release.

Co-authored-by: chihsuan <chihsuan@users.noreply.github.com>
2023-02-14 09:43:17 +08:00