Tung Du
|
862477f9aa
|
Remove compatibility notice from Mini Cart block (https://github.com/woocommerce/woocommerce-blocks/pull/6803)
|
2022-08-01 18:01:57 +02:00 |
Tung Du
|
84039af8b3
|
Fix: use custom compatibility notice style (https://github.com/woocommerce/woocommerce-blocks/pull/5147)
|
2021-11-22 08:48:27 +07:00 |
Tung Du
|
bd3e7126f8
|
Mini Cart block: display a compatibility notice when the user first adds the block in the editor (https://github.com/woocommerce/woocommerce-blocks/pull/4945)
|
2021-10-21 16:07:20 +07:00 |
Mike Jolley
|
b9d07173d4
|
Import `createInterpolateElement ` from `@wordpress/element` (https://github.com/woocommerce/woocommerce-blocks/pull/4368)
* change import for interpolate element
* remove dependency
* fix package lock
Co-authored-by: Nadir Seghir <nadir.seghir@gmail.com>
|
2021-07-07 13:27:50 +01:00 |
Albert Juhé Lluveras
|
b6403bd66c
|
Show compatibility notice when adding the Cart and Checkouts blocks in the editor (https://github.com/woocommerce/woocommerce-blocks/pull/3937)
* add guide
* Add missing translation strings
* Use localStorageState so dismissing the compatibility notice is persisted
* Add types
* Split notice text in two paragraphs
* Update notice texts
* Remove unnecessary empty line
* Cleanup
* Prevent Gutenberg stealing focus (and closing) guide modal
* Add tests
* Don't show compatibility notice in WP <= 5.4
* Don't have tests inside if clauses
* Fix test breaking in latest Gutenberg version
* Remove unnecessary openDocumentSettingsSidebar
* Rename CompatibilityNotice to CartCheckoutCompatibilityNotice
* Add try/catch blocks around JSON operations in useLocalStorageState
* Create useCompatibilityNotice hook
Co-authored-by: Seghir Nadir <nadir.seghir@gmail.com>
|
2021-03-19 11:05:42 +01:00 |