Gan Eng Chin
|
6d72c2bbe1
|
Fix failed test for Campaigns component.
|
2023-03-09 01:08:28 +08:00 |
Gan Eng Chin
|
66e46d8942
|
Run lint:css-fix.
|
2023-03-09 00:34:20 +08:00 |
Gan Eng Chin
|
42ac7e4d28
|
Better logic for displaying buttons in IntroductionBanner.
|
2023-03-08 02:54:43 +08:00 |
Gan Eng Chin
|
8fe3781266
|
Use ref instead of location hash to scroll to add channels section.
|
2023-03-08 02:06:06 +08:00 |
Gan Eng Chin
|
0cb2fb1cd0
|
Display CreateNewCampaignModal upon button click in IntroductionBanner.
|
2023-03-08 00:37:55 +08:00 |
Gan Eng Chin
|
a9b696d28c
|
Move CreateNewCampaignModal to shared components folder.
|
2023-03-08 00:34:09 +08:00 |
Gan Eng Chin
|
7c9eedbbb4
|
Merge branch 'feature/34909-marketing-create-campaign-modal' into feature/34904-marketing-introduction-banner
Conflicts:
plugins/woocommerce-admin/client/marketing/hooks/index.ts
plugins/woocommerce-admin/client/marketing/overview-multichannel/Channels/RecommendedChannels.tsx
plugins/woocommerce-admin/client/marketing/overview-multichannel/MarketingOverviewMultichannel.tsx
|
2023-03-07 00:46:38 +08:00 |
Gan Eng Chin
|
3e620c41c6
|
Add tests for CreateNewCampaignModal.
|
2023-03-04 01:02:46 +08:00 |
Gan Eng Chin
|
15c57bf712
|
Fix and add tests for Campaigns card.
|
2023-03-03 03:25:00 +08:00 |
Gan Eng Chin
|
913f7176b2
|
Refetch registered channels after installing channel in Campaigns card.
|
2023-03-03 02:34:16 +08:00 |
Gan Eng Chin
|
ec15697d44
|
Load campaign types in Campaigns card.
|
2023-03-03 01:08:21 +08:00 |
Gan Eng Chin
|
e13112875b
|
Move useNewCampaignTypes to shared hooks directory.
|
2023-03-03 01:05:14 +08:00 |
Gan Eng Chin
|
2443bfd7a0
|
Merge branch 'feature/34905-marketing-campaigns-card' into feature/34909-marketing-create-campaign-modal
Conflicts:
plugins/woocommerce-admin/client/marketing/data-multichannel/action-types.ts
plugins/woocommerce-admin/client/marketing/data-multichannel/actions.ts
plugins/woocommerce-admin/client/marketing/data-multichannel/resolvers.ts
|
2023-03-03 00:11:35 +08:00 |
Gan Eng Chin
|
4b87f0a4ed
|
Add JSDOC.
|
2023-03-02 03:15:38 +08:00 |
Gan Eng Chin
|
8e9f344478
|
Test code refactor with createTestCampaign.
|
2023-03-02 00:59:22 +08:00 |
Gan Eng Chin
|
d111370d1e
|
Make UI work with wp.data new campaign types.
|
2023-02-28 00:51:34 +08:00 |
Gan Eng Chin
|
418e4fba02
|
Fix build error after merging.
|
2023-02-27 23:49:50 +08:00 |
Gan Eng Chin
|
f420a0ed9e
|
Merge branch 'feature/34905-marketing-campaigns-card' into feature/34909-marketing-create-campaign-modal
Conflicts:
plugins/woocommerce-admin/client/marketing/components/RecommendedChannelsList.tsx
plugins/woocommerce-admin/client/marketing/overview-multichannel/Campaigns/Campaigns.scss
plugins/woocommerce-admin/client/marketing/overview-multichannel/Campaigns/Campaigns.tsx
plugins/woocommerce-admin/client/marketing/overview-multichannel/Channels/Channels.tsx
plugins/woocommerce-admin/client/marketing/overview-multichannel/Channels/RecommendedChannels.tsx
|
2023-02-27 23:46:30 +08:00 |
Gan Eng Chin
|
e57181b987
|
Add tests for Campaigns component.
|
2023-02-27 02:23:11 +08:00 |
Gan Eng Chin
|
f62b44ae2f
|
Set numberOfRows for TablePlaceholder in Campaigns card.
|
2023-02-24 23:48:04 +08:00 |
Gan Eng Chin
|
92762ca9b0
|
Better pagination with TablePlaceholder in Campaigns card.
|
2023-02-24 17:09:42 +08:00 |
Gan Eng Chin
|
cc5345db4e
|
Campaigns pagination UI logic.
|
2023-02-24 02:13:20 +08:00 |
Gan Eng Chin
|
048906ad80
|
Change Campaigns CSS to use @include font-size().
|
2023-02-02 19:06:17 +08: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 |
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 |
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
|
177fc59dea
|
Simplify rendering code in MarketingOverviewMultichannel.
|
2023-02-01 00:29:38 +08:00 |
Gan Eng Chin
|
3384ad576d
|
Remove unused import.
|
2023-02-01 00:20:04 +08:00 |
Gan Eng Chin
|
d69f7f00b7
|
Fix ids typescript error in Campaigns.
|
2023-02-01 00:18:53 +08:00 |
Gan Eng Chin
|
76102143ff
|
Merge branch 'feature/34906-marketing-channels-card' into feature/34905-marketing-campaigns-card
Conflicts:
plugins/woocommerce-admin/client/marketing/overview-multichannel/MarketingOverviewMultichannel.tsx
|
2023-01-31 23:50:03 +08:00 |
Gan Eng Chin
|
d59e7e5721
|
Edit and arrange imports in MarketingOverviewMultichannel.
|
2023-01-31 23:39:02 +08:00 |
Gan Eng Chin
|
e700232415
|
Simplify Channels component.
|
2023-01-29 01:28:14 +08:00 |
Gan Eng Chin
|
15200103cc
|
Simplify Channels CSS.
|
2023-01-28 01:16:31 +08:00 |
Gan Eng Chin
|
0eb318c1f5
|
Simplify and remove RecommendedChannels and RecommendedChannelsList components.
|
2023-01-28 01:12:36 +08:00 |
Gan Eng Chin
|
14511ae4d6
|
Code refactor with SyncStatus and IssueStatus components.
|
2023-01-28 00:14:50 +08:00 |
Gan Eng Chin
|
316aad8b2e
|
Simplify RegisteredChannelCardBody CSS.
|
2023-01-27 21:15:40 +08:00 |
Gan Eng Chin
|
1af1524b83
|
Rename CSS installed-channel to registered-channel.
|
2023-01-21 02:38:00 +08:00 |
Gan Eng Chin
|
ef669d8ca2
|
Rename InstalledChannel to RegisteredChannel.
|
2023-01-21 02:36:39 +08:00 |
Gan Eng Chin
|
3cc568b4ed
|
Remove duplicated RecommendedChannel type.
|
2023-01-21 02:20:06 +08:00 |
Gan Eng Chin
|
cd0402a10c
|
Refetch registered channels after install and activate recommended channels.
|
2023-01-20 01:02:41 +08:00 |
Gan Eng Chin
|
2d7c8db2e5
|
Map product_listings_status to syncStatus.
|
2023-01-19 01:32:38 +08:00 |
Gan Eng Chin
|
f616d688d8
|
Call marketing channels API with wp.data.
|
2023-01-18 02:04:42 +08:00 |
Gan Eng Chin
|
f92f4d3dee
|
Code refactor with useIsLocationHashAddChannels.
|
2022-12-28 01:09:37 +08:00 |