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
3513ef51a1
Merge branch 'trunk' into feature/34905-marketing-campaigns-card
2023-02-25 00:39:37 +08:00
Gan Eng Chin
f62b44ae2f
Set numberOfRows for TablePlaceholder in Campaigns card.
2023-02-24 23:48:04 +08:00
Gan Eng Chin
f7a1ef2123
Code refactor with getTotalFromResponse in getCampaigns.
2023-02-24 23:45:10 +08:00
Gan Eng Chin
a4e11924fd
Change meta.total to optional in receiveCampaignsSuccess.
2023-02-24 23:44:47 +08:00
Gan Eng Chin
f5ba6d94ac
Remove unused fetchWithHeaders control.
2023-02-24 23:35:40 +08:00
Gan Eng Chin
a982b7be21
Error handling in getCampaigns.
2023-02-24 18:32:33 +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
60d815c582
wp.data for campaigns data pagination.
2023-02-24 02:10:37 +08:00
Gan Eng Chin
20ae504be0
Add controls with fetchWithHeaders.
2023-02-24 02:08:59 +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
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
7bb042fcd2
Simplify CSS for CardHeaderDescription.
2023-02-02 21:50:36 +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
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
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
46adb0dc25
Rename Channels to RegisteredChannels.
2023-02-01 02:58:49 +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
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
449da4e91c
Merge branch 'trunk' into feature/34906-marketing-channels-card
2023-01-29 01:29:31 +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
49032b98db
Make data undefined on first load in useRecommendedChannels.
2023-01-27 21:38:38 +08:00
Gan Eng Chin
316aad8b2e
Simplify RegisteredChannelCardBody CSS.
2023-01-27 21:15:40 +08:00
Gan Eng Chin
c2aad26473
Simplify CardHeaderTitle CSS.
...
- Use `@include font-size ( 20 )` to generate relative size in rem.
- Use unitless number value for line-height; this is the preferred way according to MDN.
- `font-weight` and `letter-spacing` are not needed.
The UI looks the same before and after this change.
2023-01-27 01:26:37 +08:00
Gan Eng Chin
d70fb07f31
Modify PluginCardBody to accept className, and change description type.
2023-01-21 23:13:13 +08:00
Gan Eng Chin
6baa403071
Move and rename type Plugin to RecommendedPlugin.
2023-01-21 23:12:04 +08:00
Gan Eng Chin
d252922110
Rename file Plugin to InstalledPlugin.
...
(cherry picked from commit 0229354da0
)
2023-01-21 23:11:47 +08:00
Gan Eng Chin
8873252c45
Rename type Plugin to InstalledPlugin.
...
(cherry picked from commit 56dbf53a35
)
2023-01-21 23:11:36 +08:00
Gan Eng Chin
0fe028d8c2
Code refactor with CardHeaderTitle component.
...
This component will be used in other components later.
(cherry picked from commit 995fb7e02d
)
2023-01-21 23:10:31 +08:00
Gan Eng Chin
3f56382cf1
Code refactor with CenteredSpinner.
...
(cherry picked from commit 5216643465
)
2023-01-21 23:09:06 +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
8754003fb0
Add mapping for sync-failed product listings status.
2023-01-21 02:26:19 +08:00
Gan Eng Chin
2a15f09514
Remove TODO comments.
2023-01-21 02:22:30 +08:00
Gan Eng Chin
3cc568b4ed
Remove duplicated RecommendedChannel type.
2023-01-21 02:20:06 +08:00
Gan Eng Chin
0b1ab21836
Rename types.
2023-01-21 02:14:36 +08:00
Gan Eng Chin
d69f078fd5
Replace useIsPluginInstalled with useIsPluginInstalledNotActivated.
2023-01-20 01:36:39 +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
9fa6ea4a25
Display activate button for channels that are not yet activated.
2023-01-20 00:36:34 +08:00
Gan Eng Chin
223ea4d712
Filter recommended channels to get "not installed" or "not activated" channels.
2023-01-19 22:23:00 +08:00
Gan Eng Chin
cf4c62e707
Fix loading bug in useRecommendedChannels.
2023-01-19 19:50:56 +08:00
Gan Eng Chin
b708cc18ff
Get recommended channels from API.
2023-01-19 19:33:51 +08:00
Gan Eng Chin
2d7c8db2e5
Map product_listings_status to syncStatus.
2023-01-19 01:32:38 +08:00
Gan Eng Chin
0a36d7a4fe
Map errors_count to issueType and issueText.
2023-01-19 01:12:50 +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
Gan Eng Chin
86cc1181bf
Focus on Add Channels section when users click on Add Channels button.
2022-12-28 00:56:59 +08:00
Gan Eng Chin
35375c6fab
Rename UseIntroductionBannerType to UseIntroductionBanner.
2022-12-27 22:13:21 +08:00
Gan Eng Chin
e1a82c5b94
Display and dismiss introduction banner with wp_options.
2022-12-27 22:01:46 +08:00
Gan Eng Chin
a2419dbf44
Display buttons in introduction banner with large illustration.
2022-12-27 21:06:26 +08:00
Gan Eng Chin
82db71c94f
Add close button to introduction banner card.
2022-12-27 20:47:14 +08:00
Gan Eng Chin
b6eec1e1bf
Add introduction banner card to marketing page.
2022-12-27 02:05:58 +08:00
Gan Eng Chin
c89b28157d
Merge branch 'feature/34903-multichannel-marketing-frontend/34905-campaigns-card' into feature/34903-multichannel-marketing-frontend/34909-create-campaign-modal
...
Conflicts:
plugins/woocommerce-admin/client/marketing/hooks/index.ts
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
plugins/woocommerce-admin/client/marketing/overview-multichannel/Channels/useChannels.ts
2022-12-24 02:07:15 +08:00
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
d0de1b5c21
Add border and change padding for recommended channels in create campaign modal.
2022-12-23 02:00:45 +08:00
Gan Eng Chin
07894d42e3
Code refactor for Campaigns component, remove unneeded CampaignsCardHeader.
2022-12-22 01:52:24 +08:00
Gan Eng Chin
a3c8680789
Use perPage variable instead of duplicated number.
2022-12-22 01:34:46 +08:00
Gan Eng Chin
321145eb2e
Better code clarity with woocommerce-marketing-campaigns-table class name.
2022-12-21 23:12:10 +08:00
Gan Eng Chin
894b77dc96
Code refactor with CreateNewCampaignModal.
2022-12-21 22:56:22 +08:00
Gan Eng Chin
5caffb6c63
Make create campaign button open in new tab depending on createUrl origin.
2022-12-21 21:26:57 +08:00
Gan Eng Chin
6b3fbdf16b
Display new campaign types in create campaign modal.
2022-12-21 02:38:56 +08:00
Gan Eng Chin
24d59f7316
Hide the recommended channels section if it is empty.
2022-12-20 22:39:00 +08:00
Gan Eng Chin
17f2072d9f
Display recommended channels in create campaign modal.
2022-12-20 02:37:02 +08:00
Gan Eng Chin
5f50e63a1e
Move useRecommendedChannels to shared hooks directory.
2022-12-20 02:35:37 +08:00
Gan Eng Chin
6de95c78a1
Move RecommendedChannelsList to shared components directory.
2022-12-20 02:33:35 +08:00
Gan Eng Chin
33998743d6
Remove unneeded imports in RecommendedChannelsList.
2022-12-20 02:29:42 +08:00
Gan Eng Chin
08661353eb
Add CampaignsCardHeader component with modal.
2022-12-20 01:17:30 +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
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
Gan Eng Chin
a811009a06
Add one-click installation for recommended extensions in multichannel Marketing page ( #35542 )
2022-11-24 21:46:08 +08:00
Gan Eng Chin
9e697cdf0a
Add tests for UI Revamp on Marketing page ( #34840 )
2022-09-27 22:25:48 +08:00
Gan Eng Chin
4b4b5f36e2
Feature integration: UI Revamp on Marketing Page ( #34642 )
...
Co-authored-by: Nima <nima.karimi@automattic.com>
Co-authored-by: Nima Karimi <73110514+nima-karimi@users.noreply.github.com>
2022-09-14 15:43:30 +08:00
Gan Eng Chin
a197622df1
Replace Facebook icon ( #34592 )
...
* Replace facebook icon.
* Use facebook.svg file instead of duplicating svg.
* Add changelog.
2022-09-07 22:45:05 +08:00
aezazs-multidots
f9642fedc8
fix-marketing-slider-image-size ( #34589 )
2022-09-07 16:32:46 +08:00
Gan Eng Chin
945a55adbc
Update Google logo icon ( #34471 )
...
* Update Google logo icon.
* Update Google logo icon to use img element with svg file.
* Simplify ProductIcon CSS with size prop.
This applies to svg and image icons, not just svg.
* Add changelog.
* Set style for Google logo icon.
We set white background to override the gray backgroun in ProductIcon.
Padding is used to make it look visually similar size with other icons.
* Update style for Google logo.
2022-08-26 19:24:19 +08:00
Rodrigue
0b772e31e3
Add back FB extension to Installed marketing extensions list. ( #34259 )
...
* Update FB icon component SVG to latest FB icon.
2022-08-26 19:36:44 +09:30
Chi-Hsuan Huang
7068c78101
Fix JS lint errors ( #33484 )
...
* Fix @woocommerce/data lint errors
* Fix internal-e2e-builds lint error
* Fix lint errors
2022-06-21 16:37:34 +08:00
RJChow
26ec889111
Manually change i18n text domain from 'woocommerce-admin' to 'woocommerce' in WCA Client .md files
2022-04-01 11:41:32 +08:00
RJChow
1ba60ee69d
Codemod to change i18n text domain from 'woocommerce-admin' to 'woocommerce' in WCA Client
2022-04-01 11:41:32 +08:00
Chi-Hsuan Huang
c05ed7777a
Update dependencies to support react 17 ( https://github.com/woocommerce/woocommerce-admin/pull/8305 )
...
* Upgrade dependencies to support react17
Update pkg
Update @wordpress/api-fetch and gridicons
* Update test snapshots
* Update SnackbarList with latest react-spring
* Mock data.dispatch for task-list-item.test.tsx
* Remove '@wordpress/components/src/visually-hidden/style' import
wp-components has included it
* Update interpolateComponents import path
* Fix display-options test
* Add changelogs
Update changelogs
* Add @automattic/explat-client-react-helpers back
* Update webpack.config for explat-client-react-helpers
Update webpack config comment
Fix grammar
2022-02-21 10:34:25 +08:00
louwie17
83e1addd82
Fix minor process issues ( https://github.com/woocommerce/woocommerce-admin/pull/8279 )
2022-02-08 18:22:26 -04:00
louwie17
3998f88597
Remove unpublished wc-admin-settings package and update getSetting usage ( https://github.com/woocommerce/woocommerce-admin/pull/8057 )
...
* Remove use of wc-admin-settings from packages
* Move getSetting to getAdminSetting and remove wc-admin-settings package
* Add changelog
* Update package.json and remove last use of wc-admin-settings
2022-01-06 08:53:30 -04:00
And Finally
1a48569af9
Allow for 9 items in Marketing recommended lists ( https://github.com/woocommerce/woocommerce-admin/pull/7887 )
...
* - Increased `per_page` parameter of API request in `getRecommendedPlugins` from 6 to 9, to accommodate additional MailPoet item.
- Added new `mailpoet.js` with SVG icon for MailPoet, and corresponding entry to list of product icons.
* Changelog for this change.
* Renamed changelog.
* Added PR number to changelog content.
* Fix formatting
Co-authored-by: Adrian Duffell <9312929+adrianduffell@users.noreply.github.com>
2021-11-05 12:08:35 +08:00
Rua Haszard
0225ffdb8d
show Pinterest for WooCommerce in `Marketing > Installed` ( https://github.com/woocommerce/woocommerce-admin/pull/7417 )
...
* show Pinterest for WooCommerce in `Marketing > Installed`
* tweak Pinterest bounding rect so padding is consistent with other icons
* add changelog entry
* add testing instructions
* tweak wording for clarity
* link to correct Pinterest admin settings URL
* detect if Pinterest is set up & link to onboarding if appropriate
* add utm_medium campaign link tracker tag to docs link
* change all the logs 🪵
* Remove redundant changelog entry from readme
Co-authored-by: Adrian Duffell <9312929+adrianduffell@users.noreply.github.com>
* remove todo for Pinterest onboarded/setup status (now implemented)
Co-authored-by: Rua Haszard <rua@automattic.com>
Co-authored-by: Adrian Duffell <9312929+adrianduffell@users.noreply.github.com>
2021-08-26 15:47:17 +12:00
louwie17
022f7a173a
Remove depreciated shared settings hook ( https://github.com/woocommerce/woocommerce-admin/pull/7480 )
...
* Initial set up for the WCAdminSettingsRegistry
* Make use of filter for admin settings
* Add wc/settings package and remove depreciated dropzone wrapper
* Make use of the getSetting function instead of accessing window directly
* Add comments
* Add changelog
* Remove un needed changes
* Update dropzone provider logic and fix styling
* Remove old css
2021-08-24 08:39:48 -03:00
Sam Seay
27e7c5831c
Update outgoing woocommerce.com links to include `utm_medium=product` ( https://github.com/woocommerce/woocommerce-admin/pull/7408 )
2021-08-04 08:56:43 +12:00
Jeff Stieler
8e61f55017
Allow packages to be built in isolation. ( https://github.com/woocommerce/woocommerce-admin/pull/7286 )
...
* Use yarn instead of npm.
In prep for workspaces, since we're locked to npm < 7. See: https://github.com/woocommerce/woocommerce-admin/pull/7126#issue-661287749
* Initial workspace creation.
* Add initial tsc build to @woocommerce/number.
* Attempt to build experimental package.
* Try currency package.
* Define all packages as workspaces.
* Use tsconfig common to packages.
* Fix currency package build.
* Build csv-export with tsc.
* Try to build customer-effort-score with tsc.
* Fix JSX pragma.
* Build data package with tsc.
* Build date package with tsc.
* Build experimental package with tsc.
* Try to build explat package with tsc.
* Build navigation package with tsc.
* Build notices package with tsc.
* Build onboarding package with tsc.
* Build components package with tsc.
* Swap in package JS build into main script.
* Fix experimental package build.
* Try per-package css build with components.
* Try to run components package tests in isolation.
Broken on JSX in test files not being transformed.
* Move @woocommerce/wc-admin-settings into a package.
* Try to fix components package tests.
Fails because we aren't setting up the jest/jest-dom globals.
* Move JS test code to reusable (private) package.
* Enable incremental TS builds.
* Use workspaces to run JS tests.
* Use new jest configs for update snapshot scripts.
* Fix style builds.
* Fix package version in components.
* Fix client test debug and watch scripts.
* Update yarn lock.
* Update test-staged behavior.
* Try to fix storybook.
* Fix storybook.
* Update more npm commands to yarn.
* Add changelog.
* Fix lint errors.
* Update packages readme script references.
* Clean up unused gitignore match.
* Fix another npm command.
* Fix JS builds on watch.
* Fix start script.
* Fix start scripts for packages.
* Use tsc to build packages before tests
* yarn -> npm.
# Conflicts:
# package-lock.json
# package.json
* Fix linter error.
* Remove workspace definitions.
* Fix missing Fragment import.
* Fix package lock.
* Fix missing reference.
* Only build commonjs module for js-tests helper.
* Remove errant dependency from components.
* Remove noop scripts.
* Fix package JS build before testing.
* Revert noisy formatting changes.
* Fix precommit and test scripts.
* Fix minimum expected recommended extension count.
Japan test case breaks this.
* Revert babel config changes.
* chore(release): publish
- @woocommerce/components@7.2.0
- @woocommerce/csv-export@1.4.0
- @woocommerce/currency@3.2.0
- @woocommerce/customer-effort-score@1.1.0
- @woocommerce/data@1.4.0
- @woocommerce/date@3.1.0
- @woocommerce/dependency-extraction-webpack-plugin@1.7.0
- @woocommerce/eslint-plugin@1.3.0
- @woocommerce/experimental@1.5.0
- @woocommerce/explat@1.1.0
- @woocommerce/js-tests@1.1.0
- @woocommerce/navigation@6.1.0
- @woocommerce/notices@3.1.0
- @woocommerce/number@2.2.0
- @woocommerce/onboarding@1.1.0
- @woocommerce/tracks@1.1.0
- @woocommerce/wc-admin-settings@1.1.0
* Add script for running 'start' in a package.
* Remove yarn from gitignore.
* Update package changelogs, prep versions for release.
* Try to fix E2E tests after main merge.
* Some cleanup.
* Add changelog.
Co-authored-by: Paul Sealock <psealock@gmail.com>
2021-07-14 16:38:57 -04:00
Ilyas Foo
3b7c05a845
WordPress 5.8 compatibility UI fixes ( https://github.com/woocommerce/woocommerce-admin/pull/7255 )
...
* Add appropriate text props to supplement variant revamp
* Add font styles to navigation title since its removed in wp.components
* Add more missing styles
* Accidental change
* Add changelog
* Fix lint
* Update jest snapshots
2021-06-28 09:14:59 +08:00
Mik
3240132eb2
Replace marketing extension - Google Listings and Ads - fix ( https://github.com/woocommerce/woocommerce-admin/pull/7029 )
...
* Replace list of installed extensions
* Remove clipping path from Google icon
* Add changelog entry
2021-05-24 16:39:04 +08:00
Mik
820bf30e29
Replace marketing extension - Google Listings and Ads ( https://github.com/woocommerce/woocommerce-admin/pull/6939 )
...
* Replace google icon
* Remove note for Google Ads extension
* Replace extension in API OnboardingProfile
* Record event for new extension
* Replace extension in onboarding flow
* Replace extension benefits
* Change background colour of Google icon
* Fix svg warnings
* Add changelog entry
* Fix prettier error
* Add old note to obsolete list for removal
2021-05-10 10:56:47 +01:00
Darren Ethier
4210b6f0a8
Update @wordpress/eslint-plugin dependency to latest version. ( https://github.com/woocommerce/woocommerce-admin/pull/5856 )
...
* update @wordpress/eslint-plugin dependency to latest version
* local prettier config isn’t needed anymore because of fix in upstream package
* add jsdoc config to use typescript format for jsdocs
* update changelog
* update packages and include .prettierrc.js back in for code editor support of prettier
* add docs
* minor prettier fix in test file
* Convert all new eslint rules throwing errors to warnings temporarily to be handled in separate prs
* updated changelog
* fix package-lock.json
* prettier auto-fixes
* add prettier dependency at root
* sigh prettier is being finicky
* version bump
Co-authored-by: Paul Sealock <psealock@gmail.com>
2021-01-26 13:24:28 +13:00
Joshua T Flowers
bc998444a3
Future proof experimental components ( https://github.com/woocommerce/woocommerce-admin/pull/5961 )
...
* Possibly use safe Text component
* Possibly use safe navigation components
* Add experimental package
* Update components to import from woocommerce/experimental
* Make experimental package private
* Reference experimental package relatively
* Update packages/experimental/README.md
Co-authored-by: Paul Sealock <psealock@gmail.com>
* Update packages/experimental/CHANGELOG.md
Co-authored-by: Paul Sealock <psealock@gmail.com>
* Update history state instead of mocking getQuery in tests
* Handle PR feedback
* Create excluded externals array and return early
Co-authored-by: Paul Sealock <psealock@gmail.com>
2021-01-07 18:57:09 -05:00