@eeacms/volto-cca-policy 0.3.127 → 0.3.129

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
@@ -4,17 +4,29 @@ All notable changes to this project will be documented in this file. Dates are d
4
4
 
5
5
  Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
6
6
 
7
- ### [0.3.127](https://github.com/eea/volto-cca-policy/compare/1.0.0-alpha.3...0.3.127) - 27 May 2026
7
+ ### [0.3.129](https://github.com/eea/volto-cca-policy/compare/1.0.0-alpha.4...0.3.129) - 8 June 2026
8
+
9
+ ### [1.0.0-alpha.4](https://github.com/eea/volto-cca-policy/compare/1.0.0-alpha.3...1.0.0-alpha.4) - 8 June 2026
10
+
11
+ #### :rocket: Dependency updates
12
+
13
+ - Release @eeacms/volto-openlayers-map@2.0.1 [EEA Jenkins - [`21f4352`](https://github.com/eea/volto-cca-policy/commit/21f4352bb61fc29edfe4fda1e25cde9117c37884)]
8
14
 
9
15
  #### :bug: Bug Fixes
10
16
 
17
+ - fix: code cleanup [kreafox - [`7e7dd21`](https://github.com/eea/volto-cca-policy/commit/7e7dd21d8ac6ee3e1faa33bcba92e2ad9d1b6c3a)]
11
18
  - fix: resolve remaining lint warnings in WorkflowLinkIntegrityModal [Tiberiu Ichim - [`f1add88`](https://github.com/eea/volto-cca-policy/commit/f1add881c7240ba12dd223bfccb0c4ac86f83056)]
12
19
  - fix: resolve lint warnings and a11y errors in WorkflowLinkIntegrityModal [Tiberiu Ichim - [`bc60ca6`](https://github.com/eea/volto-cca-policy/commit/bc60ca604f30f62d6fb225bb319f76bab700ff04)]
13
20
  - fix: update warning message in link integrity workflow state change modal [Tiberiu Ichim - [`1244b2e`](https://github.com/eea/volto-cca-policy/commit/1244b2e826590050c6b10506651482cd615b8c92)]
14
21
  - fix: resolve workflow state transition failure when confirming via link integrity warning modal [Tiberiu Ichim - [`2fd0d89`](https://github.com/eea/volto-cca-policy/commit/2fd0d899fc421b4944de5488902f4bc35f5102d9)]
15
22
 
23
+ #### :nail_care: Enhancements
24
+
25
+ - change: remove info message from AdaptationOptionView - refs #296805 [kreafox - [`b023e1c`](https://github.com/eea/volto-cca-policy/commit/b023e1c3e26bf9ed8f2f962ddee0552525f1f69b)]
26
+
16
27
  #### :house: Internal changes
17
28
 
29
+ - style: enhance tab block layout for call-to-action links [kreafox - [`e2bbe40`](https://github.com/eea/volto-cca-policy/commit/e2bbe40f62d243a7978d927580a50a4de05d1fb4)]
18
30
  - style: Automated code fix [eea-jenkins - [`8ca0234`](https://github.com/eea/volto-cca-policy/commit/8ca0234d1d429ed5964061989dad13cd6b44b027)]
19
31
  - style: Automated code fix [eea-jenkins - [`1e4caaf`](https://github.com/eea/volto-cca-policy/commit/1e4caafffd7b026c565887d6ace3c7ec87866bfe)]
20
32
 
@@ -25,6 +37,10 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
25
37
  - docs: reorganize link integrity workflow artifacts, adding README specification and index overview [Tiberiu Ichim - [`1208c96`](https://github.com/eea/volto-cca-policy/commit/1208c9619ff4097a4d954e355895382978b326dc)]
26
38
  - docs: add specification for link integrity check during workflow transitions [Tiberiu Ichim - [`842da3d`](https://github.com/eea/volto-cca-policy/commit/842da3d371f0c5c38a538e3d519bc5eb79705e34)]
27
39
 
40
+ #### :hammer_and_wrench: Others
41
+
42
+ - test: update ASTNavigationView unit tests [kreafox - [`0c09018`](https://github.com/eea/volto-cca-policy/commit/0c09018398cfd886d0107a3ce798b5d035c40f76)]
43
+ - test: add unit tests [kreafox - [`5afd39f`](https://github.com/eea/volto-cca-policy/commit/5afd39f4d67045c58eafd2abae8bd0221ec2c85a)]
28
44
  ### [1.0.0-alpha.3](https://github.com/eea/volto-cca-policy/compare/1.0.0-alpha.2...1.0.0-alpha.3) - 22 May 2026
29
45
 
30
46
  #### :bug: Bug Fixes
@@ -73,7 +89,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
73
89
  - Refs #296263 - styles and messages [iugin - [`359f2fc`](https://github.com/eea/volto-cca-policy/commit/359f2fcd207a6e58bc9e32d514ca23183ea6ca8e)]
74
90
  - Refs #296263 - jenkins update [iugin - [`b424df5`](https://github.com/eea/volto-cca-policy/commit/b424df51271e975a9721e4c0712c3009b68e53fa)]
75
91
  - Refs #296263 - init [iugin - [`01bff47`](https://github.com/eea/volto-cca-policy/commit/01bff4757de9d2b01b9476f19b61715a7983999b)]
76
- ### [1.0.0-alpha.1](https://github.com/eea/volto-cca-policy/compare/0.3.126...1.0.0-alpha.1) - 20 May 2026
92
+ ### [1.0.0-alpha.1](https://github.com/eea/volto-cca-policy/compare/0.3.128...1.0.0-alpha.1) - 20 May 2026
77
93
 
78
94
  #### :rocket: New Features
79
95
 
@@ -120,6 +136,31 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
120
136
  - test: update snapshots [kreafox - [`420d51d`](https://github.com/eea/volto-cca-policy/commit/420d51d1e88323db7295752dc1a184888d3d504e)]
121
137
  - test: mock withScrollToTarget in Spotlight.test.jsx [kreafox - [`5fe54fb`](https://github.com/eea/volto-cca-policy/commit/5fe54fb44960bacc9ff0fe1d91bbbeec2bc58e83)]
122
138
  - update language import path [iugin - [`1217dcc`](https://github.com/eea/volto-cca-policy/commit/1217dcc9e6aa3971bf30c07bb93203cb73949c23)]
139
+ ### [0.3.128](https://github.com/eea/volto-cca-policy/compare/0.3.127...0.3.128) - 3 June 2026
140
+
141
+ #### :rocket: Dependency updates
142
+
143
+ - Release @eeacms/volto-openlayers-map@2.0.1 [EEA Jenkins - [`21f4352`](https://github.com/eea/volto-cca-policy/commit/21f4352bb61fc29edfe4fda1e25cde9117c37884)]
144
+
145
+ #### :nail_care: Enhancements
146
+
147
+ - change: remove info message from AdaptationOptionView - refs #296805 [kreafox - [`b023e1c`](https://github.com/eea/volto-cca-policy/commit/b023e1c3e26bf9ed8f2f962ddee0552525f1f69b)]
148
+
149
+ ### [0.3.127](https://github.com/eea/volto-cca-policy/compare/0.3.126...0.3.127) - 27 May 2026
150
+
151
+ #### :bug: Bug Fixes
152
+
153
+ - fix: resolve remaining lint warnings in WorkflowLinkIntegrityModal [Tiberiu Ichim - [`f1add88`](https://github.com/eea/volto-cca-policy/commit/f1add881c7240ba12dd223bfccb0c4ac86f83056)]
154
+ - fix: resolve lint warnings and a11y errors in WorkflowLinkIntegrityModal [Tiberiu Ichim - [`bc60ca6`](https://github.com/eea/volto-cca-policy/commit/bc60ca604f30f62d6fb225bb319f76bab700ff04)]
155
+
156
+ #### :house: Internal changes
157
+
158
+ - style: Automated code fix [eea-jenkins - [`8ca0234`](https://github.com/eea/volto-cca-policy/commit/8ca0234d1d429ed5964061989dad13cd6b44b027)]
159
+
160
+ #### :house: Documentation changes
161
+
162
+ - docs: update link-integrity artifact spec to reflect Portal-based modal [Tiberiu Ichim - [`f697e7e`](https://github.com/eea/volto-cca-policy/commit/f697e7e5b453a31032feeb862526d97a1c995483)]
163
+
123
164
  ### [0.3.126](https://github.com/eea/volto-cca-policy/compare/0.3.125...0.3.126) - 26 May 2026
124
165
 
125
166
  #### :bug: Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-cca-policy",
3
- "version": "0.3.127",
3
+ "version": "0.3.129",
4
4
  "description": "@eeacms/volto-cca-policy: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: IDM2 A-Team",
@@ -35,7 +35,7 @@
35
35
  "@eeacms/volto-embed": "*",
36
36
  "@eeacms/volto-globalsearch": "4.0.1",
37
37
  "@eeacms/volto-group-block": "^9.0.0",
38
- "@eeacms/volto-openlayers-map": "2.0.0",
38
+ "@eeacms/volto-openlayers-map": "2.0.1",
39
39
  "@eeacms/volto-searchlib": "^2.1.10",
40
40
  "@eeacms/volto-slate-label": "2.0.1",
41
41
  "@eeacms/volto-tabs-block": "^9.0.3",
@@ -237,17 +237,6 @@ function AdaptationOptionView(props) {
237
237
 
238
238
  <Container>
239
239
  <PortalMessage content={content} />
240
-
241
- <div className="styled-group info-section">
242
- <p>
243
- <span className="small-text">
244
- This page is currently under construction, so it may look a bit
245
- different than you're used to. We're in the process of preparing a
246
- new layout to improve your experience. A fresh new look for the
247
- adaptation options pages is coming soon.
248
- </span>
249
- </p>
250
- </div>
251
240
  <Grid>
252
241
  <Grid.Row columns={12}>
253
242
  <Grid.Column
@@ -11,26 +11,12 @@ const ccaConfig = {
11
11
  ...views,
12
12
  };
13
13
 
14
+ /*
15
+ We define our own runtime_mappings in cca_build_runtime_mappings
16
+ */
14
17
  export const clusters = {
15
18
  name: 'op_cluster',
16
- // field: 'objectProvides',
17
- clusters: [
18
- {
19
- name: 'Climate-ADAPT',
20
- icon: { name: 'file text' },
21
- values: ['climate'],
22
- },
23
- {
24
- name: 'Health Observatory',
25
- icon: { name: 'compass' },
26
- values: ['observatory'],
27
- },
28
- {
29
- name: 'Mission Portal',
30
- icon: { name: 'compass' },
31
- values: ['mission'],
32
- },
33
- ].map((cluster) => ({
19
+ clusters: [].map((cluster) => ({
34
20
  ...cluster,
35
21
  defaultResultView: 'ClusterHorizontalCardItem',
36
22
  })),
@@ -41,9 +27,10 @@ cca_build_runtime_mappings['op_cluster'] = {
41
27
  type: 'keyword',
42
28
  script: {
43
29
  source:
44
- "def objectProvides = ['Adaptation option','Case study','Guidance','Video','Indicator','Information portal','Organisation','Publication reference','Research and knowledge project','Video','Tool'];def vals = doc['objectProvides'];for (defVal in objectProvides) {for (objVal in vals) {if (objVal.contains(defVal)) {emit('Climate-ADAPT')}}}emit('_all_');if (doc['cca_include_in_search_observatory'][0]) {for (defVal in objectProvides) {for (objVal in vals) {if (objVal.contains(defVal)){emit('Health Observatory')}}}} if (doc['cca_include_in_mission.keyword'][0].toString() == 'true') {emit('Mission Portal')} else {if (doc['id.keyword'].length==1) { if(doc['id.keyword'][0].toString().contains('climate-adapt.eea.europa.eu/en/mission')) {emit('Mission Portal')}}}",
30
+ "def objectProvides = ['Adaptation option','Case study','Guidance','Video','Indicator','Information portal','Organisation','Publication reference','Research and knowledge project','Video','Tool'];def vals = doc['objectProvides'];for (defVal in objectProvides) {for (objVal in vals) {if (objVal.contains(defVal)) {emit('Climate-ADAPT')}}}emit('_all_');if (doc['cca_include_in_search_observatory'][0]) {for (defVal in objectProvides) {for (objVal in vals) {if (objVal.contains(defVal)){emit('Health Observatory')}}}}",
45
31
  },
46
32
  };
33
+ // "def objectProvides = ['Adaptation option','Case study','Guidance','Video','Indicator','Information portal','Organisation','Publication reference','Research and knowledge project','Video','Tool'];def vals = doc['objectProvides'];for (defVal in objectProvides) {for (objVal in vals) {if (objVal.contains(defVal)) {emit('Climate-ADAPT')}}}emit('_all_');if (doc['cca_include_in_search_observatory'][0]) {for (defVal in objectProvides) {for (objVal in vals) {if (objVal.contains(defVal)){emit('Health Observatory')}}}} if (doc['cca_include_in_mission.keyword'][0].toString() == 'true') {emit('Mission Portal')} else {if (doc['id.keyword'].length==1) { if(doc['id.keyword'][0].toString().contains('climate-adapt.eea.europa.eu/en/mission')) {emit('Mission Portal')}}}",
47
34
 
48
35
  export default function installMainSearch(config) {
49
36
  const envConfig = ccaConfig;
@@ -427,21 +427,6 @@ div.image-upload-widget {
427
427
  }
428
428
  }
429
429
 
430
- .info-section {
431
- padding: 0.7rem;
432
- margin-top: 0 !important;
433
- margin-bottom: 1.5em !important;
434
- background-color: @ccaYellowColor;
435
- box-shadow:
436
- 0px 0px 0px 1px #e1d098 inset,
437
- 0px 0px 0px 0px rgba(0, 0, 0, 0);
438
-
439
- p,
440
- p .small-text {
441
- font-size: 15px !important;
442
- }
443
- }
444
-
445
430
  #field-relevant_eu_policies {
446
431
  .react-select__menu {
447
432
  .ReactVirtualized__Grid {
@@ -386,6 +386,16 @@ hr {
386
386
  width: 100%;
387
387
  }
388
388
 
389
+ .tabs-block .tabs .tab .column-grid .three.wide.computer.column {
390
+ .block.call-to-action a {
391
+ width: 100%;
392
+ height: 100%;
393
+ margin-top: 0 !important;
394
+ min-height: 57px;
395
+ align-content: center;
396
+ }
397
+ }
398
+
389
399
  #page-edit {
390
400
  .eea.banner .image {
391
401
  background-image: none;