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
Peter Fabian
906c84b85e
Make the "state" checkout field optional for BG and HU ( #36701 )
...
* Make state optional for BG and HU.
* Add changelog.
* PHPCS spacing fix
* Hide State field for Hungary.
* Unhide the State in Hungary.
Some extensions might still use it e.g. for shipping purposes.
* Merge branch 'trunk' into fix/hu-and-bg-state-optional
2023-02-13 15:45:54 -08:00
github-actions[bot]
2da44aea66
Delete changelog files based on PR 36624 ( #36631 )
...
Delete changelog files for 36624
Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-02-13 14:18:36 -06:00
github-actions[bot]
19afaccb9d
Delete changelog files based on PR 36736 ( #36744 )
...
Delete changelog files for 36736
Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-02-13 14:17:00 -06:00
github-actions[bot]
55fc851dba
Delete changelog files based on PR 36714 ( #36717 )
...
Delete changelog files for 36714
Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-02-13 14:16:43 -06:00
github-actions[bot]
98f325c776
Delete changelog files based on PR 36456 ( #36582 )
...
Delete changelog files for 36456
Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-02-13 14:16:22 -06:00
Corey McKrill
9eb6437d19
Remove opinionated styles from buttons in block themes so they inherit theme styles more accurately ( #36651 )
...
This PR removes several CSS lines that were enforcing specific styles (mostly padding) to buttons. This is in order to better inherit the styles provided by the theme.
2023-02-13 11:47:07 -08:00
Nestor Soriano
13a130fe37
Add changelog file
2023-02-13 17:24:08 +01:00
Nestor Soriano
2061778b3f
Add an encoding selector to the product importer
2023-02-13 17:22:48 +01:00
github-actions[bot]
fb3183d2c4
Prepare Packages for Release ( #36814 )
...
Automated change: Prep @woocommerce/create-woo-extension for release.
Co-authored-by: psealock <psealock@users.noreply.github.com>
2023-02-14 04:12:09 +13:00
Sam Seay
79fa0b9413
Fix permissions for NPM package prepare script ( #36732 )
...
Contents write is needed to write to pull requests.
2023-02-14 00:27:50 +13:00
Alejandro López Ariza
3681b84a4c
Add checkbox to the pull request template to ask the PR author to read the testing instructions guide before writing them. ( #36577 )
2023-02-13 11:34:22 +01:00
Fernando Marichal
f6e325bfab
Refactor createOrderedChildren ( #36707 )
...
* Refactor createOrderedChildren
* Add changelog
* Add getChildrenAndProps method
* Change method comments
* Change comment
* Change comment `injectProps`
* Add comment to explain check
---------
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2023-02-13 04:42:26 -04:00
Ron Rennick
73a6475a3d
ensure unit test install ABSPATH is a real path ( #36641 )
...
Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
2023-02-13 09:13:57 +01:00
Sam Seay
6ba45889b6
Turn on code-cov for PR checking of unit test coverage ( #36548 )
2023-02-09 22:08:36 +13:00
Corey McKrill
5b27b02508
Fix linting issues
2023-02-08 22:44:24 +01:00
Jon Lane
4927dc0352
Changelog
2023-02-08 10:57:44 +01:00
Jon Lane
f9f14f5b00
Update Playwright 1.28.0 -> 1.30.0
2023-02-08 10:52:54 +01:00
Jon Lane
3739c0869a
Need to run config after starting
2023-02-08 10:31:16 +01:00
Jon Lane
c8863ddb3c
Incorporated feedback from review
2023-02-07 16:41:49 +01:00
Ahmed
dc616bd4c6
update changelog
2023-02-07 11:14:40 +01:00
Ahmed
35384a4fe6
Fix decimal points for NOK
2023-02-07 11:10:59 +01:00
Moon
f1c2b28608
Add codistoconnect to pluginNames ( #36766 )
...
* Add codistoconnect to pluginNames
* Add changelog
2023-02-06 18:10:25 -08:00
Jon Lane
d5cf0b4fd5
Merge branch 'trunk' into e2e/update-command-for-e2e
...
# Conflicts:
# plugins/woocommerce/tests/e2e-pw/README.md
2023-02-06 13:53:12 +01:00
Gan Eng Chin
1a06d5bfeb
Add Channels card into Multichannel Marketing page ( #36541 )
2023-02-04 03:20:34 +08:00
Gan Eng Chin
b717ce9645
Merge branch 'trunk' into feature/34906-marketing-channels-card
2023-02-04 02:33:01 +08:00
Albert Juhé Lluveras
4971eaa350
Increase TT2 styles specificity so they aren't overridden by block theme styles
2023-02-03 11:33:03 +01:00
Albert Juhé Lluveras
659566ed0d
Fix variable products options and add to cart form not wrapping on different lines
2023-02-03 11:27:11 +01:00
Kevin Ruscoe
3828aabbef
clean up sass variable names ( #28908 )
2023-02-03 10:54:45 +01:00
Vedanshu Jain
b5ae765b93
Use correct class name.
2023-02-03 14:17:54 +05:30
Vedanshu Jain
c678ce7248
Remove get_from_datastore as it was not being used.
2023-02-03 14:14:26 +05:30
Corey McKrill
a42eede13a
Add unit tests
2023-02-02 16:51:50 -08:00
Corey McKrill
ad561d81bf
Update remaining labels for dimensions units
2023-02-02 16:33:43 -08:00
Seghir Nadir
7459aec50e
Bump WooCommerce blocks package to 9.4.3 ( #36736 )
...
* Update woocommerce-blocks to 9.4.3
* Add changelog file
---------
Co-authored-by: Jonathan Sadowski <sadowski@automattic.com>
2023-02-02 18:17:34 -06:00
Corey McKrill
54de988f25
Update labels for weight units
2023-02-02 16:08:44 -08:00
Moon
604ffe3fec
Mark purchase tests skipped temporarily ( #36741 )
...
* Mark tests skipped due to change in endpoint behavior
* Add changelog
2023-02-02 17:43:13 -06:00
Joshua T Flowers
89438cf873
Remove variations logic from the AttributeControl component ( #36563 )
...
* Move attribute data changes out of attribute control
* Move dynamic text to props
* Add onModalOpen callback
* Add onModal close prop
* Add changelog entry
* Use closeModal for edit attribute modal
* Add onEdit callback
* Extract util to get unique attribute id
* Rename editingAttribute to currentAttribute
* Rename showAttributeModal to isNewModalVisible
* Rename AddAttributeModal to NewAttributeModal
* Fix up handle add attributes
* Add onRemove callback for attibutes
* Fix up modal styling classes
* Fix up closing edit modal
* Fix up modal title for options
* Handle PR feedback
* Separate handlers for edit and new modal callbacks
* Update event names to be option/attribute specific
* Use default callback functions
* Handle PR feedback
2023-02-02 13:04:32 -08:00