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
Mahdi Taleghani
5d0c82f5c3
Change order of checkout address fields for Iran ( #36491 )
...
* add Iran country to get_country_locale
* create changelog file
* fix Code sniff convention for spacing
2023-02-02 10:58:49 -08:00
Gan Eng Chin
c9214abe1f
Merge branch 'feature/34906-marketing-channels-card' into feature/34905-marketing-campaigns-card
2023-02-03 00:54:51 +08:00
Gan Eng Chin
67c09f63ea
Merge branch 'trunk' into feature/34906-marketing-channels-card
2023-02-03 00:53:21 +08:00
Gan Eng Chin
7bb042fcd2
Simplify CSS for CardHeaderDescription.
2023-02-02 21:50:36 +08:00
nigeljamesstevenson
7c84271ee2
update smoke test daily workflow to run api tests first ( #36494 )
2023-02-02 12:04:47 +00:00
Gan Eng Chin
048906ad80
Change Campaigns CSS to use @include font-size().
2023-02-02 19:06:17 +08:00
Leif Singer
d0a2b582fe
Consolidate eslint versions ( #36700 )
...
* pin eslint in .syncpackrc
run `pnpm run sync-dependencies` to ensure pinned version is used across projects, then run `pnpm install` to update `pnpm-lock.yaml`
* add changelog files
ran `pnpm run --no-bail --filter='[HEAD^1]' changelog add --significance=patch --type=dev --entry='Update eslint to 8.32.0 across the monorepo.'`
* re-run `pnpm install` to fix what broke while merging
2023-02-02 23:25:04 +13:00
Gan Eng Chin
7b068bf908
Code refactor for Campaigns card CSS.
2023-02-02 17:52:22 +08:00
Gan Eng Chin
c17f336acc
Code refactor for Campaigns card.
2023-02-02 17:47:42 +08:00
Gan Eng Chin
0abe368962
Display error state in Campaigns card.
2023-02-02 17:17:29 +08:00
Barry Hughes
463082fb28
Revert/36294 ( #36714 )
...
* Revert "Update spelling of Cancelled to Canceled for US English. (#36294 )"
This reverts commit e588c560bf
.
* Changelog note
2023-02-01 13:59:42 -06:00
Maikel David Pérez Gómez
5570f6a3e8
Add tree-control expand/collapse on click the expander button or by a custom logic ( #36434 )
...
* Add tree-control expand/collapse on click the expander button or by a custom logic
* Update changelog
* Clean up styles
* Update isItemExpanded code doc
* Rename expanded props
* Destructure expander
* Update shouldItemBeExpanded code doc
* Remove useCallback from story
* Remove useCallback from shouldItemBeExpanded code doc
---------
Co-authored-by: Matt Sherman <matt@jam123.com>
2023-02-01 12:04:50 -05:00
Gan Eng Chin
743c0e5085
Set per_page to 100 for getCampaigns.
...
100 is the maximum limit allowed by the API.
We do this because the API does not return total number of rows, so we use 100 to get "all" rows, to support pagination in the UI.
2023-02-02 01:03:15 +08:00
Sam Seay
e4a18edf64
Update turborepo to 1.7.0 ( #36677 )
...
Update turbo to 1.7.0
2023-02-02 04:44:37 +13:00
Gan Eng Chin
183fc48132
Show CardFooter and Pagination only when it is needed.
...
This means when total is more than perPage.
2023-02-01 20:29:32 +08:00
Gan Eng Chin
eda6f194b9
Use perPage constant instead of literal 5.
2023-02-01 20:27:07 +08:00
Gan Eng Chin
274ea3dd60
Use Link component in Campaigns.
...
This allows fast client-side navigation.
2023-02-01 20:23:14 +08:00
Gan Eng Chin
29154425cb
Check description before rendering FlexItem.
...
This is to eliminate the unneeded flex gap when there is no description.
2023-02-01 20:17:53 +08:00
Gan Eng Chin
c342cbb98d
Change to color variable in Campaigns CSS.
2023-02-01 20:09:17 +08:00
Gan Eng Chin
cd7b5f2c96
Fetch and display campaigns with wp.data.
2023-02-01 19:02:03 +08:00
Corey McKrill
cdff039569
Update products settings to use I18nUtil for unit labels
2023-01-31 17:26:14 -08:00
Corey McKrill
31d5b45443
Add changelog file
2023-01-31 17:16:32 -08:00
Corey McKrill
45069b1bf7
Update weight/dim formatting to use translated labels
2023-01-31 17:14:07 -08:00
Corey McKrill
21bae97e82
Add I18nUtil class
2023-01-31 17:12:11 -08:00
Corey McKrill
f5bdbbaa20
Add i18n file for units
2023-01-31 17:11:27 -08:00
IanDelMar
eeebcb9a6c
Properly deprecate woocommerce_my_account_my_orders_columns filter ( #36356 )
...
* Use WC_Deprecated_Filter_Hooks to deprecate filter
* Add changelog file
* fix since tag in comment
* Revert docblock changes
2023-01-31 13:02:42 -08:00
Gan Eng Chin
46adb0dc25
Rename Channels to RegisteredChannels.
2023-02-01 02:58:49 +08:00
Barry Hughes
ab0378634a
Disable product info in Status Widget when stock management is disabled ( #36703 )
2023-01-31 10:48:36 -08:00
barryhughes
4c427ef6da
Changelog.
2023-01-31 09:56:43 -08:00
Gan Eng Chin
630bd0ab17
Merge branch 'feature/34906-marketing-channels-card' into feature/34905-marketing-campaigns-card
2023-02-01 00:52:48 +08:00
Gan Eng Chin
f050bb79b5
Rename Channel to RegisteredChannel.
...
This is for better clarity and consistency.
2023-02-01 00:52:35 +08:00
Angelo Ghigi
09a1634bb2
Disable product info in Status Widget when stock management is disabled
...
There's no need to show the two products cells in Status Widget table when stock management is disabled, otherwise you'll get 2 links pointing nowhere (specific report pages are disabled and you'll get an "unauthorized" error)
2023-01-31 17:39:10 +01:00
Gan Eng Chin
177fc59dea
Simplify rendering code in MarketingOverviewMultichannel.
2023-02-01 00:29:38 +08:00
nigeljamesstevenson
add0c4a5be
update after code review
2023-01-31 16:29:15 +00:00