Stops showing the introduction modals in the FTC#22489
Merged
Conversation
Pull Request Test Coverage Report for Build 07ede00b851a4d772f8c4dea47e6335593a19b03Warning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Details
💛 - Coveralls |
17 tasks
14 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Context
Summary
This PR can be summarized in the following changelog entry:
Relevant technical choices:
Test with Premium introduction modals (for devs only)section._yoast_wpseo_introductionsusermeta key was replaced with theIntroductions_Seen_Repository::USER_META_KEY, to allow devs find the usage of that key easier in the future.Test instructions
Test instructions for the acceptance test before the PR gets merged
This PR can be acceptance tested by following these steps:
_yoast_wpseo_introductionsusermeta deleted from the db), open the General page, but straight to the FTC/wp-admin/admin.php?page=wpseo_dashboard#/first-time-configuration), or you can install the plugin in a fresh site and you will be presented with a link to the FTCNote: The fact that you don't see the introduction when you go to the FTC and then navigate to
DashboardorAlert centeris a known limitation of the current implementation and described here.Test with Premium introduction modals (for devs only):
return false;early inAI_Brand_Insights_Pre_Launch::should_show()and empty the initial components (const initialComponents = {};) inpackages\js\src\introductions\initialize.jsreturn true;inAI_Optimize_Classic_Introduction::should_show()assets\js\src\introductions\initialize.jsreplace the register withregister( "ai-optimize-classic", () => <div style={ { position: "absolute", alignSelf: "center", justifySelf: "center", inset: 0, fontSize: "20rem" } }>HELLO!!</div> );/wp-json/yoast/v1/introductions/ai-optimize-classic/seen?_locale=userrequestRelevant test scenarios
Test instructions for QA when the code is in the RC
Impact check
This PR affects the following parts of the plugin, which may require extra testing:
UI changes
Other environments
[shopify-seo], added test instructions for Shopify and attached theShopifylabel to this PR.Documentation
Quality assurance
Innovation
innovationlabel.Fixes #