woocommerce/plugins/woocommerce-admin/client/customize-store/design-with-ai
Alba Rincón 88cbceb6fa
[CYS] Update the intro page (#46916)
* Change the modal condition to check if the theme is a block theme

* Only switch to TT4 if the theme is not a block theme

* Remove unnecessary code

* Add new Intro cards when the theme is customized

* Redirect to the customizer if the active theme is a classic one

* Update the "Start designing" link depending on the type of theme

* Fix lint errors

* Fix more lint errors

* Fix tests

* Remove only

* Add tests for the customize button

* Update copy

* Fix lint errors

* Try to fix tests

* Fix tests

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

* Remove commented out css code

* Fix tests

* Remove unused

* Add margin to the cards

* Change active theme has mods by customize task completed

* Add events to the new intro page

* Fix color palette tests

* Remove unused 'fetchActiveThemeHasMods' function

This fixes the "select( 'core' ).getCurrentThemeGlobalStylesRevisions() is deprecated since version 6.5.0" warning

* Revert allowing any block theme in the assembler

* Prevent other block themes to go to the assembler

* Fix linting errors, restore test

* Remove only from test

Co-authored-by: Luigi Teschio <gigitux@gmail.com>

* Fix lint error

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Luigi Teschio <gigitux@gmail.com>
2024-06-05 16:54:29 +02:00
..
components [Performance]: Replace `classnames` usage with `clsx` (#47760) 2024-05-31 05:49:36 +02:00
entrepreneur-flow CYS - AI Flow: hide X button on the entrepreneur flow (#46800) 2024-04-23 10:27:32 +00:00
pages Entrepreneur Signup: Add Skip button to Design With AI steps. (#47667) 2024-05-22 08:40:31 +00:00
prompts [CYS] Remove `getLookAndTone` AI request from the business description step (#41497) 2023-11-17 19:40:43 +08:00
stories Make CYS loader smoother (#41772) 2023-12-07 12:14:57 +08:00
tests CYS - AI flow: Replace recordEvent with trackEvent (#46823) 2024-04-23 19:38:06 +02:00
actions.ts CYS - AI flow: Replace recordEvent with trackEvent (#46823) 2024-04-23 19:38:06 +02:00
events.ts CYS - Add LookAndFeel and ToneOfVoice pages (#39979) 2023-09-06 14:21:09 +08:00
index.tsx [CYS] Update the intro page (#46916) 2024-06-05 16:54:29 +02:00
services.ts [CYS] Fix error when repeating the prompt on consecutives runs (#46872) 2024-04-29 10:24:48 +02:00
state-machine.tsx [CYS] Update the intro page (#46916) 2024-06-05 16:54:29 +02:00
style.scss [CYS - Core] Handling errors during the setup for the `NoAI` flow (#43810) 2024-01-25 12:04:44 +01:00
types.ts [CYS] Update the intro page (#46916) 2024-06-05 16:54:29 +02:00