@eeacms/volto-cca-policy 0.3.128 → 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 +20 -2
- package/package.json +1 -1
- package/src/search/cca/config.js +6 -19
- package/theme/globals/views.less +10 -0
package/CHANGELOG.md
CHANGED
|
@@ -4,7 +4,9 @@ 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.
|
|
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
|
|
8
10
|
|
|
9
11
|
#### :rocket: Dependency updates
|
|
10
12
|
|
|
@@ -12,6 +14,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
12
14
|
|
|
13
15
|
#### :bug: Bug Fixes
|
|
14
16
|
|
|
17
|
+
- fix: code cleanup [kreafox - [`7e7dd21`](https://github.com/eea/volto-cca-policy/commit/7e7dd21d8ac6ee3e1faa33bcba92e2ad9d1b6c3a)]
|
|
15
18
|
- fix: resolve remaining lint warnings in WorkflowLinkIntegrityModal [Tiberiu Ichim - [`f1add88`](https://github.com/eea/volto-cca-policy/commit/f1add881c7240ba12dd223bfccb0c4ac86f83056)]
|
|
16
19
|
- fix: resolve lint warnings and a11y errors in WorkflowLinkIntegrityModal [Tiberiu Ichim - [`bc60ca6`](https://github.com/eea/volto-cca-policy/commit/bc60ca604f30f62d6fb225bb319f76bab700ff04)]
|
|
17
20
|
- fix: update warning message in link integrity workflow state change modal [Tiberiu Ichim - [`1244b2e`](https://github.com/eea/volto-cca-policy/commit/1244b2e826590050c6b10506651482cd615b8c92)]
|
|
@@ -23,6 +26,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
23
26
|
|
|
24
27
|
#### :house: Internal changes
|
|
25
28
|
|
|
29
|
+
- style: enhance tab block layout for call-to-action links [kreafox - [`e2bbe40`](https://github.com/eea/volto-cca-policy/commit/e2bbe40f62d243a7978d927580a50a4de05d1fb4)]
|
|
26
30
|
- style: Automated code fix [eea-jenkins - [`8ca0234`](https://github.com/eea/volto-cca-policy/commit/8ca0234d1d429ed5964061989dad13cd6b44b027)]
|
|
27
31
|
- style: Automated code fix [eea-jenkins - [`1e4caaf`](https://github.com/eea/volto-cca-policy/commit/1e4caafffd7b026c565887d6ace3c7ec87866bfe)]
|
|
28
32
|
|
|
@@ -33,6 +37,10 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
33
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)]
|
|
34
38
|
- docs: add specification for link integrity check during workflow transitions [Tiberiu Ichim - [`842da3d`](https://github.com/eea/volto-cca-policy/commit/842da3d371f0c5c38a538e3d519bc5eb79705e34)]
|
|
35
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)]
|
|
36
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
|
|
37
45
|
|
|
38
46
|
#### :bug: Bug Fixes
|
|
@@ -81,7 +89,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
81
89
|
- Refs #296263 - styles and messages [iugin - [`359f2fc`](https://github.com/eea/volto-cca-policy/commit/359f2fcd207a6e58bc9e32d514ca23183ea6ca8e)]
|
|
82
90
|
- Refs #296263 - jenkins update [iugin - [`b424df5`](https://github.com/eea/volto-cca-policy/commit/b424df51271e975a9721e4c0712c3009b68e53fa)]
|
|
83
91
|
- Refs #296263 - init [iugin - [`01bff47`](https://github.com/eea/volto-cca-policy/commit/01bff4757de9d2b01b9476f19b61715a7983999b)]
|
|
84
|
-
### [1.0.0-alpha.1](https://github.com/eea/volto-cca-policy/compare/0.3.
|
|
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
|
|
85
93
|
|
|
86
94
|
#### :rocket: New Features
|
|
87
95
|
|
|
@@ -128,6 +136,16 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
128
136
|
- test: update snapshots [kreafox - [`420d51d`](https://github.com/eea/volto-cca-policy/commit/420d51d1e88323db7295752dc1a184888d3d504e)]
|
|
129
137
|
- test: mock withScrollToTarget in Spotlight.test.jsx [kreafox - [`5fe54fb`](https://github.com/eea/volto-cca-policy/commit/5fe54fb44960bacc9ff0fe1d91bbbeec2bc58e83)]
|
|
130
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
|
+
|
|
131
149
|
### [0.3.127](https://github.com/eea/volto-cca-policy/compare/0.3.126...0.3.127) - 27 May 2026
|
|
132
150
|
|
|
133
151
|
#### :bug: Bug Fixes
|
package/package.json
CHANGED
package/src/search/cca/config.js
CHANGED
|
@@ -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
|
-
|
|
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')}}}}
|
|
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;
|
package/theme/globals/views.less
CHANGED
|
@@ -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;
|