RJ
b74bd01ca1
fix: remove defaultProps in prep for react 19 ( #50266 )
2024-08-06 12:20:45 +00:00
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
Leif Singer
8ee74ede0e
Update Woo.com references to WooCommerce.com ( #46259 )
...
* replace capitalized Woo.com with WooCommerce.com
* replace http URLs
* replace https URLs
* replace developer.woo.com
* add missing version in `@since` tag
* unslash the HTTP_REFERER
* WordPress.Security.ValidatedSanitizedInput.InputNotSanitized
* add changelog file
* add more changelog files
* address linter errors
* address more linter errors
* fix test
* more linter errors
2024-04-09 09:50:15 +01:00
Paul Sealock
619804cff3
Stylelint: Update config to double quotes ( #45607 )
...
* Add eslint override
* bump versions stylelint config
* re pnpm install
* fix config
* move to double quotes in scss
* Add changefile(s) from automation for the following project(s): woocommerce-blocks, woocommerce
* lint fix new scss files
---------
Co-authored-by: github-actions <github-actions@github.com>
2024-03-26 10:41:34 -03: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
Leif Singer
808a0fc54f
update references to woocommerce.com to now reference woo.com
2023-11-10 15:49:08 +01:00
Gan Eng Chin
64bd683e0b
Simplify import.
2023-03-27 20:17:05 +08:00
Gan Eng Chin
ab2d56d8b3
Move card and slider into coupons directory.
2023-03-27 19:56:40 +08:00
Gan Eng Chin
48c50afcbf
Move RecommendedExtensions and KnowledgeBase into coupons directory.
2023-03-27 19:56:40 +08:00