fix: manifest-aware layout picker, real carousel items-per-page, hero arrows/swipe/2-panel
Some checks failed
Architecture Governance / architecture (push) Has been cancelled

Sprint E: homepage section editor now filters the layout-strategy picker
to each widget's widget-manifest.json supportedLayouts instead of always
showing all 5 strategies. columns field gated to widgets that read it
(hero, product-collection carousel).

Sprint F: closes client bug report (no items-per-page control, hero
carousel not manually/automatically scrollable, no 1-2 slide big-carousel
option). Product carousel item width now driven by layout.columns
(reused, was already editable but dead). Hero widget gains prev/next
arrows, touch swipe, and 1-2 panel mode via the same field.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
sdarbinyan
2026-08-05 19:25:34 +04:00
parent 3e3185cb6e
commit 55b379bd6d
9 changed files with 217 additions and 20 deletions

View File

@@ -1116,6 +1116,8 @@ export const en: Translations = {
slidesLabel: 'Slides',
previousProducts: 'Previous products',
nextProducts: 'Next products',
previousSlide: 'Previous slide',
nextSlide: 'Next slide',
closeDialog: 'Close dialog',
dismiss: 'Dismiss',
qrCode: 'QR Code',

View File

@@ -1116,6 +1116,8 @@ export const hy: Translations = {
slidesLabel: 'Սլայդներ',
previousProducts: 'Նախորդ ապրանքները',
nextProducts: 'Հաջորդ ապրանքները',
previousSlide: 'Նախորդ սլայդը',
nextSlide: 'Հաջորդ սլայդը',
closeDialog: 'Փակել պատուհանը',
dismiss: 'Փակել',
qrCode: 'QR կոդ',

View File

@@ -1116,6 +1116,8 @@ export const ru: Translations = {
slidesLabel: 'Слайды',
previousProducts: 'Предыдущие товары',
nextProducts: 'Следующие товары',
previousSlide: 'Предыдущий слайд',
nextSlide: 'Следующий слайд',
closeDialog: 'Закрыть диалог',
dismiss: 'Скрыть',
qrCode: 'QR-код',

View File

@@ -1115,6 +1115,8 @@ export interface Translations {
slidesLabel: string;
previousProducts: string;
nextProducts: string;
previousSlide: string;
nextSlide: string;
closeDialog: string;
dismiss: string;
qrCode: string;