woocommerce/plugins/woocommerce-admin/client/inbox-panel
Moon d64a276032 Introduce a 320 character limit for inbox note contents (https://github.com/woocommerce/woocommerce-admin/pull/7958)
* Introduce a 320 char limit for inbox notes

* Extract truncateRenderableHTML to utils and use truncate from lodash to support word break

* Replace omission with blank so that lodash does not add ... at the end

* Add test cases for truncateRenderableHTML

* Add a test case with unicode string

* Add changelog

* Add a test case for preserving whole words
2021-11-23 15:47:48 -08:00
..
test Introduce a 320 character limit for inbox note contents (https://github.com/woocommerce/woocommerce-admin/pull/7958) 2021-11-23 15:47:48 -08:00
dissmiss-all-modal.js Add dismiss all button for Inbox 2.0 (https://github.com/woocommerce/woocommerce-admin/pull/7871) 2021-11-16 21:56:05 -08:00
index.js Introduce a 320 character limit for inbox note contents (https://github.com/woocommerce/woocommerce-admin/pull/7958) 2021-11-23 15:47:48 -08:00
index.scss Add dismiss all button for Inbox 2.0 (https://github.com/woocommerce/woocommerce-admin/pull/7871) 2021-11-16 21:56:05 -08:00
utils.js Introduce a 320 character limit for inbox note contents (https://github.com/woocommerce/woocommerce-admin/pull/7958) 2021-11-23 15:47:48 -08:00