Gan Eng Chin
1d7b663186
Remove the unneeded "Create new campaign" button for now.
2022-12-24 01:45:59 +08:00
Gan Eng Chin
8e39098256
Show Campaigns card only when there is at least one registered channel.
2022-12-24 01:43:09 +08:00
Gan Eng Chin
ee6fa9508e
Merge branch 'feature/34903-multichannel-marketing-frontend/34906-channels-card' into feature/34903-multichannel-marketing-frontend/34905-campaigns-card
...
Conflicts:
plugins/woocommerce-admin/client/marketing/overview-multichannel/MarketingOverviewMultichannel.tsx
2022-12-24 01:39:57 +08:00
Gan Eng Chin
52dd8845cc
Load registered and recommended channels in MarketingOverviewMultichannel.
...
The data will be used to conditionally display Campaigns card later.
2022-12-24 01:14:02 +08:00
Gan Eng Chin
e950417542
Move useRegisteredChannels and useRecommendedChannels into shared hooks directory.
2022-12-24 00:48:03 +08:00
Gan Eng Chin
7bd32ba638
Remove useChannels and use useRegisteredChannels and useRecommendedChannels directly.
2022-12-24 00:32:23 +08:00
Gan Eng Chin
9e0b71ff1c
Rename CollapsibleRecommendedChannels to RecommendedChannels.
2022-12-23 22:12:16 +08:00
Gan Eng Chin
af2f4eb904
CSS for "Add channels" button.
2022-12-23 22:08:50 +08:00
Gan Eng Chin
31b635b888
Code refactor: move CSS code to corresponding SCSS file.
2022-12-23 21:53:42 +08:00
Gan Eng Chin
06a303fc33
Types for useRegisteredChannels.
2022-12-23 21:21:52 +08:00
Gan Eng Chin
4fa4f802e9
Check for empty recommended channels.
2022-12-23 21:19:00 +08:00
Gan Eng Chin
558ddf2609
Use Campaign type in useCampaigns.
2022-12-19 20:54:01 +08:00
Gan Eng Chin
c67e479162
Add Campaign type.
2022-12-19 20:53:31 +08:00
Gan Eng Chin
cbc616a9f3
Set cost column as numeric in Campaigns card.
...
This makes the column right-aligned.
2022-12-18 20:38:07 +08:00
Gan Eng Chin
32cf8d1341
Add pagination to Campaigns card.
2022-12-18 20:37:25 +08:00
Gan Eng Chin
c444dbd126
CSS for campaign rows in Campaigns card.
2022-12-18 20:08:21 +08:00
Gan Eng Chin
f5799c8721
Display campaign data in table in Campaigns card.
2022-12-18 19:34:16 +08:00
Gan Eng Chin
af4f79ab28
Add loading state for Campaigns card.
2022-12-17 21:08:14 +08:00
Gan Eng Chin
30d316886c
Add empty state Campaigns card.
2022-12-16 01:13:32 +08:00
Gan Eng Chin
2e8b5227e4
Move RecommendedChannel type.
2022-12-14 20:54:29 +08:00
Gan Eng Chin
6f4e05945b
Add dummy data for testing in useRecommendedChannels.
2022-12-14 20:19:20 +08:00
Gan Eng Chin
6c127d70c8
Add dummy data for testing.
2022-12-14 20:11:40 +08:00
Gan Eng Chin
6b80109754
Code refactor with RecommendedChannelsList.
2022-12-14 02:07:35 +08:00
Gan Eng Chin
4a2205bcd1
Display recommended channels in a collapsible list in Channels card.
2022-12-14 01:13:00 +08:00
Gan Eng Chin
9963fd07ab
Display description and button based on channel setup status in Channels card.
2022-12-13 23:23:13 +08:00
Gan Eng Chin
f713c01f56
Add more properties into InstalledChannel type.
2022-12-13 23:22:27 +08:00
Gan Eng Chin
e6e6dc19ef
Display issue status in Channels card.
2022-12-13 22:47:16 +08:00
Gan Eng Chin
437ebb20a8
Display sync status in Channels card.
2022-12-13 21:36:09 +08:00
Gan Eng Chin
02ce7cccc5
Modify PluginCardBody to accept className, and change description type.
2022-12-13 21:35:01 +08:00
Gan Eng Chin
36cdf7fed5
Add changelog.
2022-12-10 02:41:24 +08:00
Gan Eng Chin
be621df8da
Add more data for testing.
2022-12-10 02:29:58 +08:00
Gan Eng Chin
a9010ffd68
Add InstalledChannelCardBody to Channels.
2022-12-10 02:29:58 +08:00
Gan Eng Chin
92112e27a1
Add InstalledChannel type.
2022-12-10 02:29:58 +08:00
Gan Eng Chin
7852448a7a
Use SmartPluginCardBody in Channels component.
2022-12-10 02:29:58 +08:00
Gan Eng Chin
5da2385d41
Add SmartPluginCardBody component.
2022-12-10 02:29:58 +08:00
Gan Eng Chin
542b26e346
Move and rename type Plugin to RecommendedPlugin.
2022-12-10 02:29:58 +08:00
Gan Eng Chin
0229354da0
Rename file Plugin to InstalledPlugin.
2022-12-10 02:29:58 +08:00
Gan Eng Chin
56dbf53a35
Rename type Plugin to InstalledPlugin.
2022-12-10 02:29:57 +08:00
Gan Eng Chin
5cd1d0fe3f
Add CardHeaderDescription in Channels card.
2022-12-10 02:29:57 +08:00
Gan Eng Chin
995fb7e02d
Code refactor with CardHeaderTitle component.
...
This component will be used in other components later.
2022-12-10 02:29:57 +08:00
Gan Eng Chin
a8c8be7c26
Use CenteredSpinner in Channels.
2022-12-10 02:29:57 +08:00
Gan Eng Chin
5216643465
Code refactor with CenteredSpinner.
2022-12-10 02:29:57 +08:00
Gan Eng Chin
dc7a233cb1
Add Channels card into Marketing page.
2022-12-10 02:29:57 +08:00
Néstor Soriano
2cd799e76a
Add a states migrator helper method and migrate states for New Zealand and Ukraine ( #35669 )
2022-12-09 09:20:33 +01:00
Melebius
02fec371f4
Fix payment instruction location in on-hold email ( #31880 ) ( #31886 )
...
* Fix payment instruction location in on-hold email
* Update template version tags.
* Changelog.
* Update version tag to 7.3.0.
* Update version tag to 7.3.0.
Co-authored-by: barryhughes <3594411+barryhughes@users.noreply.github.com>
2022-12-08 09:17:50 -08:00
Néstor Soriano
0b4811d83e
Make HPOS feature and "Delete custom order tables" tool work nicely together ( #35357 )
...
* Make linter happy by (very painfully) introducing Yoda conditions.
* Change how the COT related tools work combined with the COT feature.
- Enabling the feature will now automatically create the tables
if they don't exist already.
- In fact, enabling the feature is now the only way to create the tables.
- The "Delete tables" tool will be shown as disabled in the feature
is enabled.
* Add changelog file
* Fix code sniffer issues
2022-12-08 07:12:16 -08:00
jonathansadowski
be73733be4
Update stable tag and readme for 7.1.1 ( #35883 )
...
* Update changelog.txt
* Update stable tag in readme.txt
2022-12-08 08:31:15 -06:00
Peter Fabian
fc4e28b33e
array_key_exists shall not be called on non array ( #35598 )
2022-12-08 09:40:12 +01:00
Barry Hughes
084abd9908
[HPOS] Avoid error noise during plugin activation ( #35820 )
...
Do not try to query for orders by type, if no order types are registered.
If DataSynchronizer::get_current_orders_pending_sync_count() is called very early in the request then order types may not yet have been registered. This can for example happen during plugin activation/installation.
2022-12-07 11:59:07 -08:00
Maikel David Pérez Gómez
788b3ef59b
Add async filtering support to the select-control component ( #35839 )
...
* Add async filtering support to the select-control component
* Apply comment suggestions
* Apply more comment suggestions
2022-12-07 14:24:32 -03:00