woocommerce/plugins/woocommerce-admin/client/customize-store/design-without-ai
Alba Rincón 7a3cbcded3
CYS > Patterns Migration: Ensure a message is displayed if the user did not allow fetching patterns via API and/or they are unavailable (#48095)
* Add the `Want more patterns` opt in message when tracking is not allowed

* Add notice for offline user

* Add new internal endpoint to fetch patterns

* Introduce a new step in the state machine to synchronously fetch patterns in the flow

* Remove unnecessary initialization

* Add new endpoint to check the patterns PTK availability

* Add `isPTKPatternsAPIAvailable` to context

* Add patterns opt in tracking message to homepage section

* Add tests

* Fix linting errors

* Add changefile(s) from automation for the following project(s): woocommerce

* Fix typo

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-06-05 15:09:35 +02:00
..
pages CYS > Patterns Migration: Ensure a message is displayed if the user did not allow fetching patterns via API and/or they are unavailable (#48095) 2024-06-05 15:09:35 +02:00
tests CYS - E2E tests: fix flaky assembler-hub test (#46030) 2024-04-02 08:35:15 +00:00
actions.ts Fix activeThemeHasMods undefined error (#45255) 2024-03-04 19:09:36 +00:00
fonts.ts CYS - Core: fix font load when user opts out of tracking (#45185) 2024-02-28 14:47:31 +00:00
guards.ts [CYS - Core] Before installing the fonts, ensure that the font library is available (#44358) 2024-02-06 11:28:26 +01:00
index.tsx CYS > Patterns Migration: Ensure a message is displayed if the user did not allow fetching patterns via API and/or they are unavailable (#48095) 2024-06-05 15:09:35 +02:00
services.ts CYS > Patterns Migration: Ensure a message is displayed if the user did not allow fetching patterns via API and/or they are unavailable (#48095) 2024-06-05 15:09:35 +02:00
state-machine.tsx CYS > Patterns Migration: Ensure a message is displayed if the user did not allow fetching patterns via API and/or they are unavailable (#48095) 2024-06-05 15:09:35 +02:00
types.ts CYS > Patterns Migration: Ensure a message is displayed if the user did not allow fetching patterns via API and/or they are unavailable (#48095) 2024-06-05 15:09:35 +02:00