Собственные SEO-поля товара и категории с вкладкой в карточке - #792
Open
Ibochkarev wants to merge 2 commits into
Open
Ibochkarev wants to merge 2 commits into
Ibochkarev wants to merge 2 commits into
Conversation
Add ms3_resource_seo rows, manager tab/API, and public seo overlay (native → TV map → resource defaults) so editors no longer need a TV map JSON dance for per-item titles and Open Graph.
align attachSeoToList return docs with list payloads and pass int status codes into Response::error for PHPStan level 5.
This was referenced Sep 26, 2026
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.
Описание
У товара и категории появляются собственные SEO-переопределения (
ms3_resource_seo) и вкладка в карточке менеджера. Публичный блокseoрезолвится так: native →ms3_public_seo_tv_map→ поля ресурса;msOnGetPublicSeoпо-прежнему последний. Карта TV иinclude_seoне ломаются. Мета в шаблонах MODX и SERP-превью сознательно не трогались.Тип изменений
Связанные Issues
Closes #790
Как это было протестировано?
Полный
npm run buildдляcategory-seovue-dist на этой машине не гонялся — entry зарегистрирован вvite.config.js.composer ci:php/composer test,npm run lint:ci,composer stan/ GitHub Actions CI)Конфигурация тестирования:
Скриншоты (если применимо)
Чеклист
composer stan/ CI jobPHPStan)npm run lint:ciдля Vue)Дополнительные заметки
GET/PUT /api/mgr/product-data/{id}/seo(msproduct_save),GET/PUT /api/mgr/categories/{id}/seo(mscategory_save).OnResourceDeleteу плагина (для cleanup SEO у категорий).