woocommerce/plugins
Karol Manijak 5a54dd6527
Product Collection: Disable client side navigation if blocks incompatible with Interactivity API are detected (#45435)
* Add dummy Force Page Reload control to Inspector Advanced Control

* Add enhancedPagination attribute that decides if client side navigation is enabled

* Consume the enhancedPagination attribute

* Force client side navigation when incompatible blocks detected

* Dummy util to detect incompatible blocks

* Detect incompatible blocks in the Editor

* Switch to WordPress Interactivity package in Product Collection

* Add initial implementation of the incompatible blocks detection in frontend

* Remove leftover

* Revert to using internal version of interactivity API

* There's no Interactivity store config available in the internal Interactivity implementation so remove it

* Disable client side navigation if the incompatible block is detected

* Add default attribute value

* Switch from enmhancedPagination attribute to forcePageReload

* Fixed some misclicked line order change

* Switch from enhancedPagination to forcePageReload in PHP code

* Apply the correct filter

* Fix the incorrect condition to detect incompatible block

* Initial implementation of orange dot to bring attention

* Cleanup

* Remove the orange dot indicator

* Refactor checking for unsupported blocks

* Add changelog

* Fix PHP lint errors

* Bring back empty line at the end of pnpm-lock

* Bring pnpm-lock.yaml file to original state

* Fix incorrect function call

* Add visibility description to function

* Switch private method to public

* More linted fixes
2024-03-18 08:24:03 +01:00
..
woo-ai [DOC] Resolve incorrect branch references in Gutenberg links (#44566) 2024-02-15 14:13:28 -03:00
woocommerce Product Collection: Disable client side navigation if blocks incompatible with Interactivity API are detected (#45435) 2024-03-18 08:24:03 +01:00
woocommerce-admin CYS - Core: fix Product Rating block renders (#45600) 2024-03-15 17:01:56 +00:00
woocommerce-beta-tester Add remote spec rule validator UI (#45099) 2024-02-28 15:47:15 -08:00
woocommerce-blocks Product Collection: Disable client side navigation if blocks incompatible with Interactivity API are detected (#45435) 2024-03-18 08:24:03 +01:00