Patricia Hillebrandt
5dd7713346
[Performance]: Replace `classnames` usage with `clsx` ( #47760 )
...
* Replace classnames with clsx within woocommerce-blocks.
* Undo unnecessary change to getClassnames const.
* Replace classnames with clsx within woocommerce-admin.
* Add changelog.
* Update the pnpm lock file
* Address lint.
* Address lint errors for the block-library.
2024-05-31 05:49:36 +02:00
Gan Eng Chin
de66873c33
Add `source` event props for `marketing_recommended_extension` track events to differentiate recommendations from woo.com API or default fallback data ( #44714 )
...
* Add getRecommendationSource util.
* Add `source` eventprop for `marketing_recommended_extension` track event.
* Make test pass with updated track event.
* Add tests for getRecommendationSource.
* Add JSDoc for getRecommendationSource.
* Better test descriptions.
* Add changelog.
2024-02-20 19:44:28 +08:00
Gan Eng Chin
990af1f534
Rename "Install plugin" button text to "Install extension".
2023-07-06 23:50:56 +08:00
Gan Eng Chin
1aaa26e07d
Reload installed extensions data after installing recommended channels.
...
This is because the channel may not have registered itself as a marketing channel and it should show up in the Installed extensions card.
2023-03-18 00:47:54 +08:00
Gan Eng Chin
d69f078fd5
Replace useIsPluginInstalled with useIsPluginInstalledNotActivated.
2023-01-20 01:36:39 +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
02ce7cccc5
Modify PluginCardBody to accept className, and change description type.
2022-12-13 21:35:01 +08:00
Gan Eng Chin
5da2385d41
Add SmartPluginCardBody component.
2022-12-10 02:29:58 +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