Add a check to remove optimisation notification for unindexed objects below threshold#19023
Open
iolandasequino wants to merge 7 commits intofeature/SEO-optimization-thresholdfrom
Conversation
…s are below threshold
…-not-show-optimization-notification-below-indexables-threshold
…/wordpress-seo into PC-684-do-not-show-optimization-notification-below-indexables-threshold
…/wordpress-seo into PC-684-do-not-show-optimization-notification-below-indexables-threshold
…/wordpress-seo into PC-684-do-not-show-optimization-notification-below-indexables-threshold
hansjovis
approved these changes
Oct 14, 2022
Contributor
hansjovis
left a comment
There was a problem hiding this comment.
Code looks good and clean to me!
…om/Yoast/wordpress-seo into PC-684-do-not-show-optimization-notification-below-indexables-threshold
Contributor
|
Acceptance testing:
|
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:
Test instructions are based on the Extended test plan and adapted to the purposes of this PR.
Build and activate Yoast SEO Free
Install and open Sequel Pro on your laptop to access the indexed database (here the instructions on how to connect to the database)
Install and activate Yoast Test Helper
Install and activate Transients Manager in your Wordpress plugins
Make sure your site has at least 276 posts (you can add them by using Fakerpress)
Running the first time configuration should not be necessary since the posts are automatically indexed when they are created through Fakerpress
To make sure that your posts are indexed, check that they appear in the database. Otherwise, run the first time configuration
Go to the Yoast Test tools and press the
Reset notificationsbutton in the Yoast SEO menuFollow these instructions to unindex your posts for the scenarios described below
Test a scenario where the site has just been optimised
Note: make sure that all your indexables are indexed. You can do so by pressing the
Reset the Indexables & table migrationsbutton in the Yoast SEO menu and then running the first time configuration optimisationTest a scenario where the number of unindexed posts is less than 10
Note: make sure that all your indexables are indexed. You can do so by pressing the
Reset the Indexables & table migrationsbutton in the Yoast SEO menu and then running the first time configuration optimisationReset notificationsbutton in the Yoast SEO menuDelete allbutton)Test a scenario where the number of unindexed posts is more than 10 but less than 4% of the total number of site posts
Note: make sure that all your indexables are indexed. You can do so by pressing the
Reset the Indexables & table migrationsbutton in the Yoast SEO menu and then running the first time configuration optimisationReset notificationsbutton in the Yoast SEO menuDelete allbutton)Test a scenario where the number of unindexed posts is more than 4% of the total number of site posts
Note: make sure that all your indexables are indexed. You can do so by pressing the
Reset the Indexables & table migrationsbutton in the Yoast SEO menu and then running the first time configuration optimisationReset notificationsbutton in the Yoast SEO menuDelete allbutton)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 https://yoast.atlassian.net/browse/PC-684