feat(content-management): expose SEO fields in Static Pages editor
Some checks failed
Architecture Governance / architecture (push) Has been cancelled

ContentPage.seo (title/description/keywords/canonical/ogTitle/ogDescription/
ogImage) was already modeled and serialized to bootstrap JSON but had no
editable UI. Added updateSeo() to the component and a translated SEO fieldset
using app-form-field/app-input. Added seoSection/seoTitle/seoDescription/
seoKeywords/seoCanonical/seoOgTitle/seoOgDescription/seoOgImage translation
keys to en/ru/hy and the Translations type.

Verified in browser at /edit/static-pages: SEO section renders with
translated labels for all three mock pages.
This commit is contained in:
sdarbinyan
2026-07-15 04:11:18 +04:00
parent f11b02134c
commit 97bd4b2b95
7 changed files with 77 additions and 1 deletions

View File

@@ -465,6 +465,14 @@ export const en: Translations = {
orderLabel: 'Order',
translationTitle: 'Translation Title',
htmlPreview: 'HTML',
seoSection: 'SEO',
seoTitle: 'SEO Title',
seoDescription: 'SEO Description',
seoKeywords: 'Keywords',
seoCanonical: 'Canonical URL',
seoOgTitle: 'OG Title',
seoOgDescription: 'OG Description',
seoOgImage: 'OG Image',
visible: 'Visible',
layoutLabel: 'Layout',
columns: 'Columns',

View File

@@ -465,6 +465,14 @@ export const hy: Translations = {
orderLabel: 'Հերթականություն',
translationTitle: 'Թարգմանության վերնագիր',
htmlPreview: 'HTML',
seoSection: 'SEO',
seoTitle: 'SEO վերնագիր',
seoDescription: 'SEO նկարագրություն',
seoKeywords: 'Հիմնաբառեր',
seoCanonical: 'Canonical URL',
seoOgTitle: 'OG վերնագիր',
seoOgDescription: 'OG նկարագրություն',
seoOgImage: 'OG պատկեր',
visible: 'Տեսանելի',
layoutLabel: 'Layout',
columns: 'Սյուներ',

View File

@@ -465,6 +465,14 @@ export const ru: Translations = {
orderLabel: 'Порядок',
translationTitle: 'Заголовок перевода',
htmlPreview: 'HTML',
seoSection: 'SEO',
seoTitle: 'SEO заголовок',
seoDescription: 'SEO описание',
seoKeywords: 'Ключевые слова',
seoCanonical: 'Canonical URL',
seoOgTitle: 'OG заголовок',
seoOgDescription: 'OG описание',
seoOgImage: 'OG изображение',
visible: 'Видимость',
layoutLabel: 'Layout',
columns: 'Колонки',

View File

@@ -463,6 +463,14 @@ export interface Translations {
orderLabel: string;
translationTitle: string;
htmlPreview: string;
seoSection: string;
seoTitle: string;
seoDescription: string;
seoKeywords: string;
seoCanonical: string;
seoOgTitle: string;
seoOgDescription: string;
seoOgImage: string;
visible: string;
layoutLabel: string;
columns: string;