644 use manual page selection for llmstxt generation backend side#22395
Conversation
… of github.com:Yoast/wordpress-seo into 644-use-manual-page-selection-for-llmstxt-generation-backend-side
… of github.com:Yoast/wordpress-seo into 644-use-manual-page-selection-for-llmstxt-generation-backend-side
…ction-for-llmstxt-generation-backend-side
leonidasmi
left a comment
There was a problem hiding this comment.
CR so far: 🏗️ some remarks.
Also, in the same spirit of my last CR feedback items, I would love if we could make a single source of truth also for the automatic/manual filters of the posts that get into the file.
Explaining: For example, for manual selection when indexables are enabled, we check if ( $indexable->is_public === null || $indexable->is_public == 1 ) before adding a content type entry in the file. We do the very same check when we have an automatic selection: ->where_raw( '( is_public IS NULL OR is_public = 1 )' ).
It would be awesome if that check is in a single place. Same with the manual/automatic selection filters when indexables are not enabled.
Let's talk and maybe find a way that makes sense?
…ckend-side' of github.com:Yoast/wordpress-seo into 644-use-manual-page-selection-for-llmstxt-generation-backend-side
Pull Request Test Coverage Report for Build ef7ed4595c313cf8f240aab9ba12185e18bddb9bWarning: 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 |
…ckend-side' of github.com:Yoast/wordpress-seo into 644-use-manual-page-selection-for-llmstxt-generation-backend-side
…in manual and automatic selection
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:
About us pagesection. (or any other page in there)About us page.Relevant 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 #