From 5f3de3ec2d4fd73e679124956850e056a7d4682b Mon Sep 17 00:00:00 2001 From: sabrina-bongiovanni <116291154+sabrina-bongiovanni@users.noreply.github.com> Date: Mon, 9 Sep 2024 15:17:33 +0200 Subject: [PATCH] fix: removed id_lighthouse field in cardWithSlideUpTextTemplate (#762) --- RELEASE.md | 14 ++++++++++++++ .../ListingOptions/cardWithSlideUpTextTemplate.js | 7 ++++++- 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/RELEASE.md b/RELEASE.md index 1ca81f8b8..64f539220 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -41,6 +41,20 @@ - ... --> +## Versione X.X.X (dd/mm/yyyy) + +### Migliorie + +- ... + +### Novità + +- ... + +### Fix + +- Rimosso il campo "ID lighthouse" dal blocco elenco con variazione Card con Testo Animato perchè entra in contrasto con asseveratore. Pianificato evento per ripristinarlo. + ## Versione 11.22.0 (05/09/2024) ### Migliorie diff --git a/src/config/Blocks/ListingOptions/cardWithSlideUpTextTemplate.js b/src/config/Blocks/ListingOptions/cardWithSlideUpTextTemplate.js index a0848969b..96f91c3fd 100644 --- a/src/config/Blocks/ListingOptions/cardWithSlideUpTextTemplate.js +++ b/src/config/Blocks/ListingOptions/cardWithSlideUpTextTemplate.js @@ -13,7 +13,12 @@ export const addCardWithSlideUpTextTemplateOptions = ( ) => { let pos = position; - pos = addLighthouseField(schema, intl, pos); + // hidden to avoid use of lighthouse on this block + // which creates problems with asseverazione + // 1. clients instructed not to use this variation when data-element is needed + // 2. planned intervention to change structure of variation to allow use of + // data element without wrapping entire card in link + // pos = addLighthouseField(schema, intl, pos); pos = addDefaultOptions(schema, formData, intl, pos);