Conversation
…le/slug/meta description
Pull Request Test Coverage Report for Build f927edb1341c892e21266c012e585289989d16c4Details
💛 - Coveralls |
…off-the-bat-assessments
…off-the-bat-assessments
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:
editFieldNameproperty of the assessment result is now used instead of theidentifierproperty to determine where the edit button should jump to. Theidentifieris no longer a reliable way to know which field to jump to, because for the keyphrase in slug, keyphrase in meta description, and keyphrase in SEO title assessments we want it to jump to the keyphrase field when the keyphrase is missing, but to another field when the keyphrase is added.__( "slug", "wordpress-seo" )) that was used as a replacement variable in the translation string for the button's aria label. That's not the case anymore.editFieldAriaLabel, was added to the assessment result. This property contains the translation string that should be used for the aria label of the button (e.g.__( "Edit your slug", "wordpress-seo" )). This also makes the string more translatable, compared to the previous approach where we pass the name of the field as a replacement variable to the string (e.g.__( "Edit your %1$s", "wordpress-seo" ))Test instructions
Test instructions for the acceptance test before the PR gets merged
This PR can be acceptance tested by following these steps:
Edit button for the keyphrase length assessment
grain free cat food for senior catsEdit button for the function words in keyphrase assessment
ofEdit button for the meta description length assessment
Edit button for the keyphrase in meta description assessment
Edit button for the SEO title width assessment
Edit button for the keyphrase in SEO title assessment
Edit button for the keyphrase in slug assessment
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:
Other environments
[shopify-seo], added test instructions for Shopify and attached theShopifylabel to this PR.Documentation
Quality assurance
Innovation
innovationlabel.Fixes https://github.com/Yoast/lingo-other-tasks/issues/558