woocommerce/plugins/woocommerce-admin/client/customize-store/intro
Alba Rincón 091141218e
CYS - Move the `private/patterns` endpoint to woocommerce admin API (#50400)
* CYS - Move the ai/store-title endpoint to woocommerce admin api

* Add middleware and callback

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

* Fix lint error

* CYS - Move the ai/business-description endpoint to woocommerce admin API

* CYS - Move the ai/store-info endpoint to woocommerce admin API

* Update endpoint

* CYS - Move the ai/images endpoint to woocommerce admin API

* CYS - Move the `ai/patterns` endpoint to woocommerce admin API

* CYS - Move the `ai/product` endpoint to woocommerce admin API

* CYS - Move the `ai/products` endpoint to woocommerce admin API

* CYS - Move the `private/patterns` endpoint to woocommerce admin API

* Remove unnecessary variable

* Replace endpoint

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

* Fix lint errors

* Fix some feedback

* Refactor route to return an error not an exception and add tests

* Fix lint errors

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-08-23 13:27:57 +02:00
..
readme CYS - Document possible Intro pages (#50171) 2024-08-01 10:33:03 +02:00
tests CYS - Improve the error when a request fails due to permissions (#50211) 2024-08-02 17:50:13 +02:00
README.md CYS - Document possible Intro pages (#50171) 2024-08-01 10:33:03 +02:00
actions.ts CYS - Improve the error when a request fails due to permissions (#50211) 2024-08-02 17:50:13 +02:00
color-palettes.tsx Update recommended themes for Customize Your Store (#40650) 2023-10-09 02:45:04 -05:00
index.tsx CYS - Improve the error when a request fails due to permissions (#50211) 2024-08-02 17:50:13 +02:00
intro-banners.tsx CYS - Update the intro pages for different type of themes (#49910) 2024-07-24 18:09:12 +02:00
intro-site-iframe.tsx Render site thumbnail in CYS intro screen (#41130) 2023-11-01 00:11:26 +08:00
intro.scss CYS - Fix the intro cards size to match the designs (#49297) 2024-07-10 09:13:41 +02:00
services.ts CYS - Move the `private/patterns` endpoint to woocommerce admin API (#50400) 2024-08-23 13:27:57 +02:00
theme-card.tsx Fix untranslated strings on CYS and marketplace (#48127) 2024-06-10 07:30:46 +00:00
types.ts Fix untranslated strings on CYS and marketplace (#48127) 2024-06-10 07:30:46 +00:00
warning-modals.tsx CYS - Update the intro pages for different type of themes (#49910) 2024-07-24 18:09:12 +02:00

README.md

Intro page

The logic for the Intro page is complex, and it varies based on multiple factors like:

  • The active theme
  • The status of the Customize your store tasks (completed or not)
  • The flow type (AI flow or not)

Core flow (no AI)

Theme Task completed Intro page
TT4 No tt4-no
TT4 Yes The "Customize your theme" and "Use the store designer" buttons go to the assembler. tt4-yes
Block - The "Go to the Editor" button opens the Editor (wp-admin/site-editor.php). "Use the store designer" opens a modal to inform the user their theme will change if they accept and it will start the CYS flow. block
Classic - The "Go to the Customizer" button opens the Customizer (wp-admin/customize.php). "Use the store designer" opens a modal to inform the user their theme will change if they accept and it will start the flow. classic

AI flow

AI generated theme Task completed Intro page
- No task-completed
No Yes The "Use the store designer" button shows a modal to warn about a theme switch. no-yes
Yes Yes The "Use the store designer" button shows a modal to warn about a theme switch. yes-yes

Other

Network offline

offline