1070 task list cta of the seo or readability child tasks land on the post seo readability analysis opened#23015
Open
vraja-pro wants to merge 17 commits intofeature/task-list-phase-3from
Conversation
FAMarfuaty
reviewed
Mar 2, 2026
FAMarfuaty
reviewed
Mar 3, 2026
Because social appearance is set as initial open but we don't want the focus in that case.
f65f2a0 to
605a4be
Compare
…he-seo-or-readability-child-tasks-land-on-the-post-seo-readability-analysis-opened
Pull Request Test Coverage Report for Build cb7f498541079450d092741e23be6abfd122e9d4Details
💛 - Coveralls |
FAMarfuaty
reviewed
Mar 4, 2026
FAMarfuaty
reviewed
Mar 4, 2026
FAMarfuaty
reviewed
Mar 4, 2026
FAMarfuaty
reviewed
Mar 4, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates Task list child-task CTAs so that clicking “Improve readability” / “Improve SEO” deep-links into the post editor with the relevant Yoast analysis section opened and focused.
Changes:
- Add a
yoast-tabquery parameter to the child-task CTA edit links for SEO/readability and update CTA labels. - In the block editor, auto-open the Yoast SEO sidebar when
yoast-tabis present and expand the matching analysis panel. - In the classic editor metabox, handle
yoast-tabby activating/focusing the matching metabox tab/collapsible.
Reviewed changes
Copilot reviewed 10 out of 10 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
src/task-list/application/tasks/child-tasks/improve-content-seo-child.php |
Adds yoast-tab=seo to the CTA link and updates CTA label. |
src/task-list/application/tasks/child-tasks/improve-content-readability-child.php |
Adds yoast-tab=readability to the CTA link and updates CTA label. |
tests/Unit/Task_List/Application/Tasks/Improve_Content_SEO_Child/Improve_Content_SEO_Child_Call_To_Action_Test.php |
Updates unit test expectations for label and query-arg link building. |
tests/Unit/Task_List/Application/Tasks/Improve_Content_Readability_Child/Improve_Content_Readability_Child_Call_To_Action_Test.php |
Updates unit test expectations for label and query-arg link building. |
packages/js/src/initializers/metabox-tabs.js |
Adds URL param handling to focus/open the right metabox UI on load. |
packages/js/src/initializers/block-editor-integration.js |
Opens Yoast sidebar in block editor when yoast-tab is present. |
packages/js/src/components/contentAnalysis/SeoAnalysis.js |
Opens SEO analysis collapsible by default when yoast-tab=seo. |
packages/js/src/components/contentAnalysis/ReadabilityAnalysis.js |
Opens Readability analysis collapsible by default when yoast-tab=readability (sidebar). |
packages/js/src/components/SidebarCollapsible.js |
Adds initialIsOpen support and focuses the toggle when initially opened. |
packages/js/src/components/MetaboxCollapsible.js |
Passes through initialIsOpen explicitly to the underlying component. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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:
Improve readability.Improve SEO.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.[yoast-doc-extension], added test instructions for Yoast SEO for Google Docs and attached theGoogle Docs Add-onlabel to this PR.Documentation
Quality assurance
grunt build:imagesand commited the results, if my PR introduces new images or SVGs.Innovation
innovationlabel.Fixes https://github.com/Yoast/reserved-tasks/issues/1070