New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CYS on Core] Display the theme switch modal only if the current active theme is not TT4 #45296
Conversation
…s different than TT4
Apart from reviewing the code changes, please make sure to review the testing instructions as well. You can follow this guide to find out what good testing instructions should look like: |
Test Results SummaryCommit SHA: ae6538b
To view the full API test report, click here. To view the full E2E test report, click here. To view all test reports, visit the WooCommerce Test Reports Dashboard. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for working on this! LGTM!
⚠️ Further changes are planned to be implemented as part of a separate PR to identify if the TT4 theme has been modified by the user.
It makes sense! 🚀
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👌
…ctive-tt4-theme-has-been-already-modified-by-the-user
…ve theme is not TT4 (#45296) * Ensure the active theme switch modal is displayed only if the theme is different than TT4 * Add changefile(s) from automation for the following project(s): woocommerce --------- Co-authored-by: github-actions <github-actions@github.com>
Submission Review Guidelines:
Changes proposed in this Pull Request:
Ensure the theme switch warning modal in the transitional page of the CYS is displayed exclusively for WordPress installs with a theme different than TT4.
Add a new recording event called
'customize_your_store_agree_to_theme_switch_click'
whenever the user clicks on the "Design a new theme" button.Closes #45281
How to test the changes in this Pull Request:
Using the WooCommerce Testing Instructions Guide, include your detailed testing instructions:
Initial Setup
customize-store
Test Scenario One: The user has a theme different than TT4
Test Scenario Two: The user has the TT4 theme enabled
Changelog entry
Significance
Type
Message
Display the theme switch modal in the Customize Your Store flow only if the currently active theme is not TT4
Comment