PC 735 do not show seo optimization button in first time configuration when amount of unindexed indexables falls below threshold#19050
Conversation
Contributor
|
I removed the changelog item for
It's not necessary since there is no changes at all in |
FAMarfuaty
reviewed
Oct 14, 2022
Contributor
FAMarfuaty
left a comment
There was a problem hiding this comment.
CR: I think the code looks really nice! 🙌
I just have one suggestion, that I thought might be a better approach. It's the same check, just done more centrally. Would you mind taking a look? I can also check if it works as expected :)
FAMarfuaty
reviewed
Oct 14, 2022
Contributor
|
Tested until Scenario 2: more than 10 unindexed indexables |
…show-seo-optimization-button-in-first-time-configuration-when-amount-of-unindexed-indexables-falls-below-threshold
Contributor
Author
|
Aida already tested everything. Only scenario 4 needs to be re-tested. I did not change anything since she last tested it except finding a better way to test premium. |
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 instructions
Test instructions for the acceptance test before the PR gets merged
This PR can be acceptance tested by following these steps:
Prep
Documentation on how to un-index an indexable can be found here. NOTE: this documentation has been updated recently, so If you tested indexables before, make sure to look at it again.
Make sure to install the yoast test helper
An easy way to add posts in bulk if you want is the FakerPress plugin
Make sure YoastSEO is NOT activated.
Scenario 0: Fresh installation, less than 25 indexables.
sa-pluginsfolder.sa-pluginsfolderYoast SEO->General->First Time ConfigurationScenario 0.5: Fresh installation, more than 25 indexables.
yoast test helper. ClickReset Indexables tables & migrationsReset First time configuration progressin the yoast test helper.Yoast SEO->General->First Time ConfigurationStart SEO data optimization-buttonMake sure that YoastSEO free is installed and activated.
Scenario 1: less than 10 unindexed indexables
Reset First time configuration progressbuttonYoast SEO->General->First Time ConfigurationScenario 2: more than 10 unindexed indexables
Reset First time configuration progressbuttonYoast SEO->Generaland start the First-time SEO configuration by clicking on the link in the bannerStart SEO data optimizationbutton.Scenario 3: less than 4% of the indexables (but more than 10 indexables) unindexed
Make sure your site has at least 500 indexables (you can do so by using Generate Dummy posts, or by generating posts with FakerPress) and make sure that all posts are indexed.
In the yoast test helper, click the
Reset First time configuration progressbuttonUn-index between 10 and 20 posts.
Go to
Yoast SEO->General->First Time ConfigurationMake sure you get a green alert with the following feedback
Scenario 4: Premium
Reset First time configuration progressbuttonYoast SEO->General->First Time ConfigurationStart SEO data optimizationbutton.Start SEO data optimizationbutton.Scenario 5: Change permalink structure
Settings->Permalinks-> select another option -> hit save)Yoast SEO->General->First Time ConfigurationStart SEO data optimization-button appearsScenario 6: upgrade from previous version.
Yoast SEO->General->First Time ConfigurationStart SEO data optimization-button does not appear.Relevant test scenarios
Test instructions for QA when the code is in the RC
QA can test this PR by following these steps:
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
Fixes #