From eda8b07647be24519c97b4d29b2eb30a71997df4 Mon Sep 17 00:00:00 2001 From: sabrina-bongiovanni <116291154+sabrina-bongiovanni@users.noreply.github.com> Date: Thu, 28 Nov 2024 12:25:27 +0100 Subject: [PATCH 01/12] fix: added conditional chaining to images for uo in argomento view (#824) * fix: added conditional chaining to images for uo in argomento view * fix: removed additional conditional chaining --- .../View/PaginaArgomentoView/PaginaArgomentoView.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/ItaliaTheme/View/PaginaArgomentoView/PaginaArgomentoView.jsx b/src/components/ItaliaTheme/View/PaginaArgomentoView/PaginaArgomentoView.jsx index 28c35d942..8d3a1ac9b 100644 --- a/src/components/ItaliaTheme/View/PaginaArgomentoView/PaginaArgomentoView.jsx +++ b/src/components/ItaliaTheme/View/PaginaArgomentoView/PaginaArgomentoView.jsx @@ -109,8 +109,8 @@ const PaginaArgomentoView = ({ content }) => { {uo_object && - (uo_object.image_scales.image.length > 0 || - uo_object.image_scales.preview_image.length > + (uo_object.image_scales?.image?.length > 0 || + uo_object.image_scales?.preview_image?.length > 0) && (
Date: Thu, 28 Nov 2024 12:41:06 +0100 Subject: [PATCH 02/12] docs: updated publiccode --- publiccode.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/publiccode.yml b/publiccode.yml index a1cd97d19..f63b389fe 100644 --- a/publiccode.yml +++ b/publiccode.yml @@ -229,7 +229,7 @@ platforms: - web releaseDate: '2024-11-28' softwareType: standalone/web -softwareVersion: 11.25.1 +softwareVersion: 11.25.2 url: 'https://github.com/italia/design-comuni-plone-theme' usedBy: - ASP Comuni Modenesi Area Nord From b821cce2e4b59ba8892becfca075538b05d9469b Mon Sep 17 00:00:00 2001 From: Martina Bustacchini Date: Thu, 28 Nov 2024 12:41:39 +0100 Subject: [PATCH 03/12] chore: release v12.0.0-alpha.30 --- CHANGELOG.md | 12 ++++++++++++ package.json | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 94aa296dd..d136a470e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,17 @@ # Changelog +## [12.0.0-alpha.30](https://github.com/RedTurtle/design-comuni-plone-theme/compare/v12.0.0-alpha.29...v12.0.0-alpha.30) (2024-11-28) + + +### Bug Fixes + +* added conditional chaining to images for uo in argomento view ([#824](https://github.com/RedTurtle/design-comuni-plone-theme/issues/824)) ([eda8b07](https://github.com/RedTurtle/design-comuni-plone-theme/commit/eda8b07647be24519c97b4d29b2eb30a71997df4)) + + +### Documentation + +* updated publiccode ([0af8039](https://github.com/RedTurtle/design-comuni-plone-theme/commit/0af8039f55c19023b39464d479dc98f0fce5d304)) + ## [12.0.0-alpha.29](https://github.com/RedTurtle/design-comuni-plone-theme/compare/v12.0.0-alpha.28...v12.0.0-alpha.29) (2024-11-28) diff --git a/package.json b/package.json index 3cfa884c8..c12f84b25 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "design-comuni-plone-theme", "description": "Volto Theme for Italia design guidelines", "license": "GPL-v3", - "version": "12.0.0-alpha.29", + "version": "12.0.0-alpha.30", "main": "src/index.js", "repository": { "type": "git", From 0e2f1ff427e5fe36f13843dd484c2e154602951d Mon Sep 17 00:00:00 2001 From: Piero Nicolli Date: Thu, 12 Dec 2024 16:49:46 +0100 Subject: [PATCH 04/12] docs: updated publiccode and release log --- RELEASE.md | 17 +++++++++++------ publiccode.yml | 4 ++-- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/RELEASE.md b/RELEASE.md index 9c4caf121..8ad7c3aa6 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -41,6 +41,12 @@ - ... --> +## Versione 11.25.3 (12/12/2024) + +### Migliorie + +- Aggiornate diverse traduzioni italiane. + ## Versione 11.25.1 (28/11/2024) ### Fix @@ -54,7 +60,6 @@ - Rimossa dal CT Evento la data di scadenza del CT per evitare confusione con le date effettive dell'evento - Durante la ricerca nel sito dalla popup che compare cliccando sul bottone 'Cerca' nella testa del sito, viene mostrato un loader in overlay durante il caricamento della pagina dei risultati perchè questo potrebbe richiedere un po' di tempo. Prima di questa modifica non era chiaro se la ricerca fosse iniziata. - Nel CT Evento per una rassegna, se gli eventi figli hanno una ricorrenza o un periodo di date impostato, il range di date verrà mostrato nella card all'interno dell'evento padre. -- uniformato il colore dei link tra modalità di edit e view in alcuni blocchi - Se l'url di una immagine è rotto, viene mostrato un avviso al posto dell'immagine rotta. ### Novità @@ -129,7 +134,7 @@ ### Fix -- Rimosso il campo "ID lighthouse" dal blocco elenco con variazione Card con Testo Animato perchè entra in contrasto con asseveratore. +- Rimosso il campo "ID lighthouse" dal blocco elenco con variazione Card con Testo Animato perchè entra in contrasto con asseveratore ## Versione 11.22.0 (05/09/2024) @@ -244,16 +249,16 @@ ## Versione 11.12.6 (30/05/2024) -### Novità - -- Per ragioni di conformità alle linee guida Agid, inibito l'inserimento di CT File nella cartella modulistica. - ### Fix - Il layout delle card con immagini rimane corretto anche selezionando l'opzione "Non alterare le dimensioni naturali dell'immagine". ## Versione 11.12.5 (30/05/2024) +### Novità + +- Per ragioni di conformità alle linee guida Agid, inibito l'inserimento di CT File nella cartella modulistica. + ### Fix - Sistemato il layout "Card con immagine" dei blocchi elenco quando gli elementi non hanno immagine. diff --git a/publiccode.yml b/publiccode.yml index f63b389fe..376348a2e 100644 --- a/publiccode.yml +++ b/publiccode.yml @@ -227,9 +227,9 @@ maintenance: name: io-Comune - Il sito AgID per Comuni ed Enti Pubblici platforms: - web -releaseDate: '2024-11-28' +releaseDate: '2024-12-12' softwareType: standalone/web -softwareVersion: 11.25.2 +softwareVersion: 11.25.3 url: 'https://github.com/italia/design-comuni-plone-theme' usedBy: - ASP Comuni Modenesi Area Nord From 20e5ef87c76776385581ac478cce1096301ba05e Mon Sep 17 00:00:00 2001 From: Piero Nicolli Date: Thu, 12 Dec 2024 16:43:53 +0100 Subject: [PATCH 05/12] fix: translations --- package.json | 2 +- src/config/italiaConfig.js | 2 +- src/theme/_cms-ui.scss | 20 ++++++++++++++++++++ yarn.lock | 2 +- 4 files changed, 23 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index c12f84b25..4318caa26 100644 --- a/package.json +++ b/package.json @@ -202,7 +202,7 @@ "stylelint-prettier": "4.0.2" }, "peerDependencies": { - "@plone/volto": "17.19.0" + "@plone/volto": "17.20.2" }, "packageManager": "yarn@3.2.3" } diff --git a/src/config/italiaConfig.js b/src/config/italiaConfig.js index 4a72e32b7..c2bf0a634 100644 --- a/src/config/italiaConfig.js +++ b/src/config/italiaConfig.js @@ -186,7 +186,7 @@ export default function applyConfig(voltoConfig) { ...(config.settings.controlpanels ?? []), { '@id': '/release-log', - group: 'Generali', + group: 'General', title: 'Novità ultimi rilasci', id: 'release-log', }, diff --git a/src/theme/_cms-ui.scss b/src/theme/_cms-ui.scss index cf8f9b59a..393b63b3a 100644 --- a/src/theme/_cms-ui.scss +++ b/src/theme/_cms-ui.scss @@ -458,6 +458,14 @@ body.cms-ui { } &.section-controlpanel { + .grid > .row { + // HIDE TAXONOMIES CONTROLPANEL UNTIL #62343 IS DONE + > .column:has([href='/controlpanel/taxonomies']), + > .column:has([href='/controlpanel/volto-settings']) { + display: none; + } + } + a { text-decoration: none; @@ -471,6 +479,18 @@ body.cms-ui { display: none; } } + // Hide the help text in the configuration widgets + // TODO this is a temporary fix, a release needs to be made on every add-on to fix this + .footer-configuration-widget .stretched.twelve.wide.column:has(p.help), + .slimheader-configuration-widget + .wrapper:has(label[for='menu-configuration']), + .subfooter-configuration-widget + .wrapper:has(label[for='menu-configuration']), + .secondary-menu-configuration-widget + .wrapper:has(label[for='menu-configuration']), + .menu-configuration-widget .wrapper:has(label[for='menu-configuration']) { + display: none !important; + } } [data-rbd-draggable-context-id] { diff --git a/yarn.lock b/yarn.lock index 93599561b..863c4f67e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8267,7 +8267,7 @@ __metadata: volto-venue: 4.1.0 webpack-image-resize-loader: ^5.0.0 peerDependencies: - "@plone/volto": 17.19.0 + "@plone/volto": 17.20.2 languageName: unknown linkType: soft From e452f982aa77834b4903dbaf508cad2dbfb060b3 Mon Sep 17 00:00:00 2001 From: Piero Nicolli Date: Thu, 12 Dec 2024 16:51:35 +0100 Subject: [PATCH 06/12] chore: release v12.0.0-alpha.31 --- CHANGELOG.md | 12 ++++++++++++ package.json | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d136a470e..cd04e4518 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,17 @@ # Changelog +## [12.0.0-alpha.31](https://github.com/RedTurtle/design-comuni-plone-theme/compare/v12.0.0-alpha.30...v12.0.0-alpha.31) (2024-12-12) + + +### Bug Fixes + +* translations ([20e5ef8](https://github.com/RedTurtle/design-comuni-plone-theme/commit/20e5ef87c76776385581ac478cce1096301ba05e)) + + +### Documentation + +* updated publiccode and release log ([0e2f1ff](https://github.com/RedTurtle/design-comuni-plone-theme/commit/0e2f1ff427e5fe36f13843dd484c2e154602951d)) + ## [12.0.0-alpha.30](https://github.com/RedTurtle/design-comuni-plone-theme/compare/v12.0.0-alpha.29...v12.0.0-alpha.30) (2024-11-28) diff --git a/package.json b/package.json index 4318caa26..d111c770f 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "design-comuni-plone-theme", "description": "Volto Theme for Italia design guidelines", "license": "GPL-v3", - "version": "12.0.0-alpha.30", + "version": "12.0.0-alpha.31", "main": "src/index.js", "repository": { "type": "git", From 57589e316665d360e43772000e8c104c60171d41 Mon Sep 17 00:00:00 2001 From: Piero Nicolli Date: Fri, 13 Dec 2024 11:00:23 +0100 Subject: [PATCH 07/12] build: upgrade to volto 17.20.3 --- .github/workflows/main.yml | 2 +- .github/workflows/prs.yml | 2 +- .github/workflows/release.yml | 2 +- .github/workflows/withnewsletter.yml | 2 +- Makefile | 2 +- package.json | 2 +- yarn.lock | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3331049b1..4ed7118c0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -31,7 +31,7 @@ jobs: build-args: | ADDON_NAME=design-comuni-plone-theme ADDON_PATH=design-comuni-plone-theme - VOLTO_VERSION=17.19.0 + VOLTO_VERSION=17.20.3 # - name: Deploy to rancher # uses: redturtle/rancher-deploy-action@v0.2.0 diff --git a/.github/workflows/prs.yml b/.github/workflows/prs.yml index 620098079..ce858a609 100644 --- a/.github/workflows/prs.yml +++ b/.github/workflows/prs.yml @@ -34,4 +34,4 @@ jobs: build-args: | ADDON_NAME=design-comuni-plone-theme ADDON_PATH=design-comuni-plone-theme - VOLTO_VERSION=17.19.0 + VOLTO_VERSION=17.20.3 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5210f9b07..fa5df33b2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -35,4 +35,4 @@ jobs: build-args: | ADDON_NAME=design-comuni-plone-theme ADDON_PATH=design-comuni-plone-theme - VOLTO_VERSION=17.19.0 + VOLTO_VERSION=17.20.3 diff --git a/.github/workflows/withnewsletter.yml b/.github/workflows/withnewsletter.yml index 38d78bddb..a8eff7f24 100644 --- a/.github/workflows/withnewsletter.yml +++ b/.github/workflows/withnewsletter.yml @@ -31,7 +31,7 @@ jobs: build-args: | ADDON_NAME=design-comuni-plone-theme ADDON_PATH=design-comuni-plone-theme - VOLTO_VERSION=17.19.0 + VOLTO_VERSION=17.20.3 - name: Deploy to rancher uses: redturtle/rancher-deploy-action@v0.2.0 diff --git a/Makefile b/Makefile index 2a636e5cb..5531b24dc 100644 --- a/Makefile +++ b/Makefile @@ -27,7 +27,7 @@ CURRENT_DIR:=$(shell dirname $(realpath $(lastword $(MAKEFILE_LIST)))) # ADDON ?= "design-comuni-plone-theme" PLONE_VERSION=6 -VOLTO_VERSION=17.19.0 +VOLTO_VERSION=17.20.3 ADDON_NAME='design-comuni-plone-theme' ADDON_PATH='design-comuni-plone-theme' diff --git a/package.json b/package.json index d111c770f..78bebced5 100644 --- a/package.json +++ b/package.json @@ -202,7 +202,7 @@ "stylelint-prettier": "4.0.2" }, "peerDependencies": { - "@plone/volto": "17.20.2" + "@plone/volto": "17.20.3" }, "packageManager": "yarn@3.2.3" } diff --git a/yarn.lock b/yarn.lock index 863c4f67e..11af1b717 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8267,7 +8267,7 @@ __metadata: volto-venue: 4.1.0 webpack-image-resize-loader: ^5.0.0 peerDependencies: - "@plone/volto": 17.20.2 + "@plone/volto": 17.20.3 languageName: unknown linkType: soft From 556158c86aceda40f2b6494067f67390088ab72a Mon Sep 17 00:00:00 2001 From: Giulia Ghisini <51911425+giuliaghisini@users.noreply.github.com> Date: Mon, 16 Dec 2024 14:58:19 +0100 Subject: [PATCH 08/12] fix: enable ImageWithErrors to return null value (#841) --- .../ImageWithErrors/ImageWithErrors.jsx | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/components/ImageWithErrors/ImageWithErrors.jsx b/src/components/ImageWithErrors/ImageWithErrors.jsx index d4eb6c94e..fe0f4b66f 100644 --- a/src/components/ImageWithErrors/ImageWithErrors.jsx +++ b/src/components/ImageWithErrors/ImageWithErrors.jsx @@ -3,16 +3,16 @@ import React from 'react'; import { Image } from '@plone/volto/components'; const ImageWithErrors = (props) => { - return ( - { - currentTarget.onerror = null; // prevents looping - currentTarget.src = - 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA8AAAAMcCAMAAACo9Dz9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyFpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYm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AJYEsCSAJYAlgSwJIAlASwBLAlgSQBLAEsCWBLAkgCWAJYEsCSAJQEsASwJYEkASwBLAlgSwJIAlgCWBLAkgCUBLAEsCWBJAEsASwJYEsCSAJYAlgSwJIAlgCUBLAlgSQBLAEsCWBLAkgCWAJYEsCSAJYAlASwJYEkASwBLAlgSwJIAlgCWBLAkgCWAJQEsCWBJAEsASwJYEsCSAJYAlgSwJIAlgCUBLAlgSQBLAEsCWBLAEsCSAJYEsCSAJYAlASwJYEkASwBLAlgSwBLAkgCWBLAkgCWAJQEsCWBJAEsASwJYEsASwJIAlgSwJIAlgCUBLAlgSQBLAEsCWBLAEsCSAJYEsCSAJYAlASwJYAlgSQBLAlgSwBLAkgCWBLAkgCWAJQEsCWAJYEkASwJYEsASwJIAlgSwJIAlgCUBLAlgCWBJAEsCWBLAEsCSAJYEsASwj0ACWBLAkgCWAJYEsCSAJQEsASwJYEkASwBLAlgSwJIAlgCWBLAkgCUBLAEsCWBJAEsASwJYEsCSAJYAlgSwJIAlASwBLAlgSQBLAEsCWBLAkgCWAJYEsCSAJYAlASwJYEkASwBLAlgSwJIAlgCWBLAkgCWAJQEsCWBJAEsASwJYEsCSAJYAlgSwJIAlgCUBLAlgSQBLAEsCWBLAkgCWAJb0MJU+Amlu+38MX/XOo4IBUwAAAABJRU5ErkJggg=='; - currentTarget.style = 'max-width: 200px;'; - }} - /> - ); + const RenderImage = Image({ + ...props, + onError: ({ currentTarget }) => { + currentTarget.onerror = null; // prevents looping + currentTarget.src = + 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA8AAAAMcCAMAAACo9Dz9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyFpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bW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JYAlgSwJIAlASwBLAlgSQBLAEsCWBLAkgCWAJYEsCSAJQEsASwJYEkASwBLAlgSwJIAlgCWBLAkgCUBLAEsCWBJAEsASwJYEsCSAJYAlgSwJIAlgCUBLAlgSQBLAEsCWBLAkgCWAJYEsCSAJYAlASwJYEkASwBLAlgSwJIAlgCWBLAkgCWAJQEsCWBJAEsASwJYEsCSAJYAlgSwJIAlgCUBLAlgSQBLAEsCWBLAEsCSAJYEsCSAJYAlASwJYEkASwBLAlgSwBLAkgCWBLAkgCWAJQEsCWBJAEsASwJYEsASwJIAlgSwJIAlgCUBLAlgSQBLAEsCWBLAEsCSAJYEsCSAJYAlASwJYAlgSQBLAlgSwBLAkgCWBLAkgCWAJQEsCWAJYEkASwJYEsASwJIAlgSwJIAlgCUBLAlgCWBJAEsCWBLAEsCSAJYEsASwj0ACWBLAkgCWAJYEsCSAJQEsASwJYEkASwBLAlgSwJIAlgCWBLAkgCUBLAEsCWBJAEsASwJYEsCSAJYAlgSwJIAlASwBLAlgSQBLAEsCWBLAkgCWAJYEsCSAJYAlASwJYEkASwBLAlgSwJIAlgCWBLAkgCWAJQEsCWBJAEsASwJYEsCSAJYAlgSwJIAlgCUBLAlgSQBLAEsCWBLAkgCWAJb0MJU+Amlu+38MX/XOo4IBUwAAAABJRU5ErkJggg=='; + currentTarget.style = 'max-width: 200px;'; + }, + }); + + return RenderImage; }; export default ImageWithErrors; From 1830541fb10ea74e976dc2b7d3cd435d3f803500 Mon Sep 17 00:00:00 2001 From: Piero Nicolli Date: Mon, 16 Dec 2024 15:01:46 +0100 Subject: [PATCH 09/12] docs: updated publiccode --- publiccode.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/publiccode.yml b/publiccode.yml index 376348a2e..6bd255cd3 100644 --- a/publiccode.yml +++ b/publiccode.yml @@ -227,9 +227,9 @@ maintenance: name: io-Comune - Il sito AgID per Comuni ed Enti Pubblici platforms: - web -releaseDate: '2024-12-12' +releaseDate: '2024-12-16' softwareType: standalone/web -softwareVersion: 11.25.3 +softwareVersion: 11.25.4 url: 'https://github.com/italia/design-comuni-plone-theme' usedBy: - ASP Comuni Modenesi Area Nord From 2504f8d666ae3a3b5daf2a2596ae048121369e50 Mon Sep 17 00:00:00 2001 From: Piero Nicolli Date: Mon, 16 Dec 2024 15:05:01 +0100 Subject: [PATCH 10/12] chore: release v12.0.0-alpha.32 --- CHANGELOG.md | 17 +++++++++++++++++ package.json | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cd04e4518..71c9e7825 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,22 @@ # Changelog +## [12.0.0-alpha.32](https://github.com/RedTurtle/design-comuni-plone-theme/compare/v12.0.0-alpha.31...v12.0.0-alpha.32) (2024-12-16) + + +### Bug Fixes + +* enable ImageWithErrors to return null value ([#841](https://github.com/RedTurtle/design-comuni-plone-theme/issues/841)) ([556158c](https://github.com/RedTurtle/design-comuni-plone-theme/commit/556158c86aceda40f2b6494067f67390088ab72a)) + + +### Maintenance + +* upgrade to volto 17.20.3 ([57589e3](https://github.com/RedTurtle/design-comuni-plone-theme/commit/57589e316665d360e43772000e8c104c60171d41)) + + +### Documentation + +* updated publiccode ([1830541](https://github.com/RedTurtle/design-comuni-plone-theme/commit/1830541fb10ea74e976dc2b7d3cd435d3f803500)) + ## [12.0.0-alpha.31](https://github.com/RedTurtle/design-comuni-plone-theme/compare/v12.0.0-alpha.30...v12.0.0-alpha.31) (2024-12-12) diff --git a/package.json b/package.json index 78bebced5..26f50907b 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "design-comuni-plone-theme", "description": "Volto Theme for Italia design guidelines", "license": "GPL-v3", - "version": "12.0.0-alpha.31", + "version": "12.0.0-alpha.32", "main": "src/index.js", "repository": { "type": "git", From 81090ca6400bc3186c8d39ec91cdd82be1982949 Mon Sep 17 00:00:00 2001 From: Giulia Ghisini <51911425+giuliaghisini@users.noreply.github.com> Date: Thu, 19 Dec 2024 15:13:41 +0100 Subject: [PATCH 11/12] fix: table styles in edit mode (#826) --- src/theme/_cms-ui.scss | 42 +++++++++++++++++++++++++++++++++++ src/theme/extras/_tables.scss | 25 ++++++++++----------- 2 files changed, 54 insertions(+), 13 deletions(-) diff --git a/src/theme/_cms-ui.scss b/src/theme/_cms-ui.scss index 393b63b3a..b083b24ad 100644 --- a/src/theme/_cms-ui.scss +++ b/src/theme/_cms-ui.scss @@ -74,6 +74,48 @@ body.cms-ui { .block.text { line-height: 1.555; } + + &.table { + @import 'bootstrap/scss/reboot'; + @import 'bootstrap/scss/tables'; + @import 'bootstrap-italia/src/scss/custom/tables'; + @import 'extras/tables'; + + .ui.table { + &.inverted { + th, + td { + border-color: inherit !important; + } + } + thead th { + font-weight: bold; + text-transform: unset; + color: var(--bs-table-color); + } + + &.very.basic { + &:not(.sortable):not(.striped) { + th:first-child, + td:first-child { + padding-left: 0.5rem; + } + thead tr:first-child th { + padding-top: 0.5rem; + } + td:last-child { + padding-right: 0.5rem; + } + } + } + + &.striped { + tbody tr:nth-child(2n) { + background-color: rgba(0, 0, 50, 0.02) !important; + } + } + } + } } &.contenttype-document, diff --git a/src/theme/extras/_tables.scss b/src/theme/extras/_tables.scss index d0cb834e5..17573f205 100644 --- a/src/theme/extras/_tables.scss +++ b/src/theme/extras/_tables.scss @@ -20,31 +20,30 @@ &.very.basic { border: none; - tbody > tr { + th, + td { &:first-of-type { - th, - td { - border-top: none; - } + border-left: none; } &:last-of-type { + border-right: none; + } + } + + tbody > tr { + &:first-of-type { th, td { - border-bottom: none; + border-top: none; } } th, td { - &:first-of-type { - border-left: none; - } - - &:last-of-type { - border-right: none; - } + border-bottom: none; } + border-width: 0; } } From f558351d59750bc347a6841bffc7437636fd71bc Mon Sep 17 00:00:00 2001 From: sabrina-bongiovanni <116291154+sabrina-bongiovanni@users.noreply.github.com> Date: Thu, 19 Dec 2024 15:37:14 +0100 Subject: [PATCH 12/12] fix: removed no_value option from recurrence widget (#828) Co-authored-by: Piero Nicolli --- RELEASE.md | 14 ++++++++++++++ .../Widgets/RecurrenceWidget/RecurrenceWidget.jsx | 1 + 2 files changed, 15 insertions(+) diff --git a/RELEASE.md b/RELEASE.md index 8ad7c3aa6..ca8a71a31 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -41,6 +41,20 @@ - ... --> +## Versione X.X.X (dd/mm/yyyy) + +### Migliorie + +- ... + +### Novità + +- ... + +### Fix + +- Rimossa l'opzione non selezionabile "nessun valore" dal widget ricorrenza. + ## Versione 11.25.3 (12/12/2024) ### Migliorie diff --git a/src/customizations/volto/components/manage/Widgets/RecurrenceWidget/RecurrenceWidget.jsx b/src/customizations/volto/components/manage/Widgets/RecurrenceWidget/RecurrenceWidget.jsx index 7f80eee13..912dacfd0 100644 --- a/src/customizations/volto/components/manage/Widgets/RecurrenceWidget/RecurrenceWidget.jsx +++ b/src/customizations/volto/components/manage/Widgets/RecurrenceWidget/RecurrenceWidget.jsx @@ -990,6 +990,7 @@ class RecurrenceWidget extends Component { )} value={formValues.freq} onChange={this.onChangeRule} + noValueOption={false} /> {OPTIONS.frequences[formValues.freq].interval && (