io-sanita-theme 2.15.0 → 2.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.16.0](https://github.com/RedTurtle/io-sanita-theme/compare/2.15.0...2.16.0) (2025-05-22)
4
+
5
+ ### Features
6
+
7
+ * Add publiccode.yml ([e03ef83](https://github.com/RedTurtle/io-sanita-theme/commit/e03ef835891a0506e599df64ce7b4da9f192614f))
8
+
9
+ ### Bug Fixes
10
+
11
+ * codereview and fixed schemaOrg ([e66803e](https://github.com/RedTurtle/io-sanita-theme/commit/e66803e282feb2b8805d6d3661466a367314be1b))
12
+
3
13
  ## [2.15.0](https://github.com/RedTurtle/io-sanita-theme/compare/2.14.0...2.15.0) (2025-05-20)
4
14
 
5
15
  ### Features
Binary file
Binary file
package/docs/logo.png ADDED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "io-sanita-theme",
3
- "version": "2.15.0",
3
+ "version": "2.16.0",
4
4
  "description": "io-sanita-theme: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "license": "MIT",
package/publiccode.yml ADDED
@@ -0,0 +1,109 @@
1
+ publiccodeYmlVersion: "0.4"
2
+ name: io-Sanità - il sito web per ASL e strutture sanitarie
3
+ applicationSuite: io-Sanità
4
+ url: https://github.com/RedTurtle/io-sanita-theme
5
+ landingURL: https://www.io-sanita.it/
6
+ logo: https://github.com/RedTurtle/io-sanita-theme/blob/main/docs/logo.png
7
+ platforms:
8
+ - web
9
+ categories:
10
+ - website-builder
11
+ - content-management
12
+ usedBy:
13
+ - AUSL Ferrara
14
+ developmentStatus: stable
15
+ softwareType: standalone/web
16
+ description:
17
+ it:
18
+ shortDescription: Sito web conforme al modello ASL
19
+ longDescription: >
20
+ **[io-Sanità](https://www.io-sanita.it)** è una piattaforma web open
21
+ source progettata per rispondere alle esigenze comunicative e informative
22
+ delle Aziende Sanitarie Locali, in piena conformità con le **Linee guida
23
+ AgID** e i modelli promossi da **Designers Italia**. Il sistema adotta un
24
+ approccio "citizen-first", combinando una solida architettura informativa
25
+ con un’interfaccia utente accessibile, intuitiva e responsive, adatta sia
26
+ alla consultazione da desktop che da dispositivi mobili.
27
+
28
+
29
+ Il layout grafico, la struttura dei contenuti e i flussi di navigazione
30
+ seguono fedelmente i modelli ufficiali per i siti ASL, garantendo coerenza
31
+ con l’ecosistema digitale della Pubblica Amministrazione. L’interfaccia è
32
+ pensata per migliorare l’esperienza dell’utente finale, riducendo i tempi
33
+ di ricerca delle informazioni e semplificando l’accesso ai servizi
34
+ digitali.
35
+
36
+
37
+ Uno degli aspetti distintivi di io-Sanità è la **collaborazione attiva con
38
+ i redattori** delle aziende sanitarie durante il processo di sviluppo e
39
+ personalizzazione: la piattaforma è infatti progettata per essere
40
+ facilmente gestita dai team di comunicazione e URP, anche senza competenze
41
+ tecniche avanzate.
42
+
43
+
44
+ In termini di **trovabilità dei contenuti**, io-Sanità integra moduli e
45
+ pattern di navigazione suggeriti da Designers Italia, potenziati
46
+ dall’esperienza ventennale di **[RedTurtle](https://www.redturtle.it)**
47
+ nella gestione e pubblicazione di contenuti complessi. Il risultato è un
48
+ portale ad alta usabilità, che ottimizza la reperibilità delle
49
+ informazioni e garantisce un'esperienza coerente e fluida per cittadini,
50
+ operatori sanitari e stakeholder.
51
+
52
+
53
+ Basato su **[Plone](https://plone.org)**, uno dei CMS open source più
54
+ affidabili e sicuri, io-Sanità è una soluzione pronta all’uso, scalabile,
55
+ personalizzabile e costantemente aggiornata, pensata per accompagnare la
56
+ transizione digitale della sanità pubblica italiana.
57
+
58
+
59
+ io-Sanità è frutto della ventennale esperienza di RedTurtle come fornitore
60
+ qualificato della PA, in particolare grazie alla collaborazione con AUSL
61
+ Ferrara ed il Dipartimento per la Trasformazione Digitale, con lo scopo
62
+ finale di uniformare sul territorio nazionale i siti web delle aziende
63
+ sanitarie locali grazie al Modello ASL.
64
+ documentation: https://docs.google.com/document/d/1Vih0GDLa4bN16ac4g0wt7RVJIqwlJZgNPp_JdkKVURA/edit?tab=t.0
65
+ features:
66
+ - Sviluppato seguendo le linee guida del Modello ASL promosso da Designers
67
+ Italia.
68
+ - Gestione avanzata tramite content-type specifici conformi alle nuove
69
+ linee guida.
70
+ - Workflow di approvazione contenuti configurabili in base alle esigenze
71
+ specifiche.
72
+ - Gestione diretta ed esclusiva tramite un semplice browser senza plugin
73
+ aggiuntivi
74
+ - Creazione potenzialmente illimitata di pagine informative e relative
75
+ categorie.
76
+ - Editing in modalità "in context".
77
+ - Ricerca full-text nei contenuti, compresi i file in formato pdf.
78
+ - Predisposizione per gestione contenuti multilingua.
79
+ - Sistema di workflow per assegnare la redazione delle lingue aggiuntive
80
+ ad un gruppo di traduttori.
81
+ - Possibilità di integrazione con prodotti aggiuntivi, o di comunicazione
82
+ verso altri applicativi via API.
83
+ - Registrazione utenti per contenuti personalizzati o accesso ad area
84
+ riservata.
85
+ - Pubblicazione o ritiro contenuti temporizzabili con riferimento a date e
86
+ ore predefinite.
87
+ - Controllo in tempo reale di collegamenti e dell'integrità referenziale.
88
+ - Lock automatico dei contenuti per evitare sovrapposizione di modifiche
89
+ da parte di più redattori.
90
+ - Possibili connessioni con applicazioni e sistemi aziendali standard come
91
+ CRM e integrabile con web service, database SQL e NoSQL.
92
+ screenshots:
93
+ - https://github.com/RedTurtle/io-sanita-theme/blob/main/docs/01-io-sanita.png
94
+ - https://github.com/RedTurtle/io-sanita-theme/blob/main/docs/io-sanita-02.png
95
+ - https://github.com/RedTurtle/io-sanita-theme/blob/main/docs/io-sanita-03.png
96
+ legal:
97
+ license: LGPL-3.0-only
98
+ maintenance:
99
+ type: internal
100
+ contacts:
101
+ - name: Stefano Marchetti
102
+ email: info@redturtle.it
103
+ phone: "+3905321915958"
104
+ affiliation: RedTurtle Technology srl
105
+ localisation:
106
+ localisationReady: true
107
+ availableLanguages:
108
+ - it
109
+ - en
@@ -7,10 +7,6 @@
7
7
  }
8
8
 
9
9
  .map-wrapper {
10
- #geocoded-result {
11
- z-index: 0;
12
- }
13
-
14
10
  &.size_small {
15
11
  #geocoded-result {
16
12
  height: 400px;
@@ -7,6 +7,7 @@
7
7
  h5 {
8
8
  &.card-title {
9
9
  @include rem-size(font-size, 18);
10
+ word-break: break-word;
10
11
  }
11
12
  }
12
13
  .icon {
@@ -1,16 +1,12 @@
1
1
  import { toPublicURL } from '@plone/volto/helpers';
2
+ import { useLoadSteps } from 'io-sanita-theme/components/View/ComeFarePer/Steps/helpers';
2
3
  import {
3
4
  SchemaOrg,
4
5
  SchemaOrgUtils,
5
6
  richTextHasContent,
6
7
  } from 'io-sanita-theme/helpers';
7
8
 
8
- import { useLoadSteps } from 'io-sanita-theme/components/View/ComeFarePer/Steps/helpers';
9
- import { positions } from 'slate';
10
-
11
9
  const ComeFarePerSchemaOrg = ({ content }) => {
12
- const siteTitle = SchemaOrgUtils.getSiteTitle();
13
-
14
10
  let description = [];
15
11
  let _yield = [];
16
12
  let steps = content?.items?.filter((item) => item['@type'] === 'Step') ?? [];
@@ -5,7 +5,6 @@
5
5
 
6
6
  import React, { useState, useEffect } from 'react';
7
7
  import { useIntl, defineMessages } from 'react-intl';
8
- import { useDispatch, useSelector } from 'react-redux';
9
8
 
10
9
  import PropTypes from 'prop-types';
11
10
  import {
@@ -63,7 +62,6 @@ const messages = defineMessages({
63
62
  */
64
63
  const Steps = ({ content, steps = [] }) => {
65
64
  const intl = useIntl();
66
- const dispatch = useDispatch();
67
65
  const [activeItem, setActiveItem] = useState('');
68
66
  const [allOpen, setAllOpen] = useState(false);
69
67
 
@@ -24,7 +24,7 @@ export const useLoadSteps = (steps = []) => {
24
24
 
25
25
  return () => {
26
26
  steps.forEach((item) => {
27
- dispatch(resetContent(subrequest_id));
27
+ dispatch(resetContent(item['@id']));
28
28
  });
29
29
  };
30
30
  }, []);
@@ -46,7 +46,7 @@ const EventoSchemaOrg = ({ content }) => {
46
46
  addressCountry: 'IT',
47
47
  },
48
48
  };
49
- } else if (content.struttura_correlata.length > 0) {
49
+ } else if (content.struttura_correlata?.length > 0) {
50
50
  schemaOrg.location = {
51
51
  '@type': 'Place',
52
52
  name: content.struttura_correlata[0].title,
@@ -62,7 +62,7 @@ const EventoSchemaOrg = ({ content }) => {
62
62
  }
63
63
 
64
64
  // organizzatore interno
65
- if (content.organizzato_da_interno.length > 0) {
65
+ if (content.organizzato_da_interno?.length > 0) {
66
66
  schemaOrg.organizer = {
67
67
  '@type': 'Organization',
68
68
  name: content.organizzato_da_interno[0].title,
@@ -85,7 +85,7 @@ const EventoSchemaOrg = ({ content }) => {
85
85
  SchemaOrgUtils.fieldDataToPlainText(content.parteciperanno),
86
86
  );
87
87
  }
88
- if (content.persona_correlata.length > 0) {
88
+ if (content.persona_correlata?.length > 0) {
89
89
  attendeeList.push(content.persona_correlata.map((item) => item.title));
90
90
  }
91
91
  if (attendeeList.length > 0) {
@@ -102,7 +102,7 @@ const EventoSchemaOrg = ({ content }) => {
102
102
  SchemaOrgUtils.fieldDataToPlainText(content.a_chi_si_rivolge),
103
103
  );
104
104
  }
105
- if (content.a_chi_si_rivolge_tassonomia.length > 0) {
105
+ if (content?.a_chi_si_rivolge_tassonomia?.length > 0) {
106
106
  audienceList.push(
107
107
  content.a_chi_si_rivolge_tassonomia.map((item) => item.title),
108
108
  );
@@ -1,16 +1,11 @@
1
- import { useIntl } from 'react-intl';
2
1
  import { toPublicURL } from '@plone/volto/helpers';
3
- import { SiteProperty } from 'volto-site-settings';
4
2
  import {
5
- getSiteProperty,
6
3
  SchemaOrgUtils,
7
4
  richTextHasContent,
8
5
  SchemaOrg,
9
6
  } from 'io-sanita-theme/helpers';
10
7
 
11
8
  const NewsItemSchemaOrg = ({ content }) => {
12
- const intl = useIntl();
13
-
14
9
  let siteTitle = SchemaOrgUtils.getSiteTitle();
15
10
 
16
11
  let schemaOrg = {
@@ -1,13 +1,5 @@
1
1
  import { toPublicURL } from '@plone/volto/helpers';
2
- import {
3
- SchemaOrg,
4
- SchemaOrgUtils,
5
- richTextHasContent,
6
- } from 'io-sanita-theme/helpers';
7
-
8
- import { useLoadSteps } from 'io-sanita-theme/components/View/ComeFarePer/Steps/helpers';
9
- import { positions } from 'slate';
10
- import schema from '../../manage/Widgets/HeaderContactsWidget/schema';
2
+ import { SchemaOrg, SchemaOrgUtils } from 'io-sanita-theme/helpers';
11
3
 
12
4
  const PersonaSchemaOrg = ({ content }) => {
13
5
  const siteTitle = SchemaOrgUtils.getSiteTitle();
@@ -76,7 +76,7 @@ const ServizioSchemaOrg = ({ content }) => {
76
76
  : content.prenota_online_link;
77
77
  }
78
78
 
79
- if (content.struttura_correlata.length > 0) {
79
+ if (content.struttura_correlata?.length > 0) {
80
80
  schemaOrg.availableChannel.serviceLocation =
81
81
  content.struttura_correlata.map((struttura) => {
82
82
  return {
@@ -94,7 +94,7 @@ const ServizioSchemaOrg = ({ content }) => {
94
94
  }
95
95
 
96
96
  // di UO se ne possono selezionare soltanto una
97
- if (content.uo_correlata.length > 0) {
97
+ if (content.uo_correlata?.length > 0) {
98
98
  schemaOrg.provider = {
99
99
  '@type': 'Place',
100
100
  name: content.uo_correlata[0].title,
@@ -1,12 +1,9 @@
1
1
  .leaflet-container {
2
+ z-index: 0; //per evitare che vada sopra alla testata styicky del sito
3
+
2
4
  .marker-cluster {
3
5
  background-color: $accent;
4
6
  color: $accent-contrast-text;
5
7
  box-shadow: 0 0 1px 4px rgba($accent, 60%);
6
8
  }
7
9
  }
8
- .leaflet-pane,
9
- .leaflet-bottom,
10
- .leaflet-top {
11
- z-index: 0; //per evitare che vada sopra alla testata styicky del sito
12
- }