@eeacms/volto-cca-policy 0.3.67 → 0.3.68
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,14 +4,16 @@ 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.68](https://github.com/eea/volto-cca-policy/compare/1.0.0-alpha.0...0.3.68) - 17 July 2025
|
|
8
8
|
|
|
9
9
|
#### :rocket: Dependency updates
|
|
10
10
|
|
|
11
|
+
- Release @eeacms/volto-searchlib@2.1.1 [EEA Jenkins - [`a625e3d`](https://github.com/eea/volto-cca-policy/commit/a625e3d4cf3de11644db824b8ddf46fcd56ea7e9)]
|
|
11
12
|
- Release @eeacms/volto-searchlib@2.1.0 [EEA Jenkins - [`e5fc813`](https://github.com/eea/volto-cca-policy/commit/e5fc813f97922df335be28673d6303cb81b3c888)]
|
|
12
13
|
|
|
13
14
|
#### :bug: Bug Fixes
|
|
14
15
|
|
|
16
|
+
- fix: remove unused import [kreafox - [`72e419d`](https://github.com/eea/volto-cca-policy/commit/72e419d8d46a05c1fc2c2314f625bf9c4a08a64d)]
|
|
15
17
|
- fix: eslint [kreafox - [`7887ef4`](https://github.com/eea/volto-cca-policy/commit/7887ef453f9099f1606a54b2ae06bfcad03ca5f8)]
|
|
16
18
|
- fix: issues reported by sonarqube [kreafox - [`ccf5bcd`](https://github.com/eea/volto-cca-policy/commit/ccf5bcde698444d9bed9b138edb54841f78e27af)]
|
|
17
19
|
- fix: resolve sonarqube code quality issues - refs #289841 [kreafox - [`f9e2bd0`](https://github.com/eea/volto-cca-policy/commit/f9e2bd07bc4db00cc452dd4a2837b28dae7c3d64)]
|
|
@@ -19,6 +21,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
19
21
|
|
|
20
22
|
#### :nail_care: Enhancements
|
|
21
23
|
|
|
24
|
+
- change: remove sitemap from header, add sitemap link to the <head> - refs #288920 [kreafox - [`cf2da0a`](https://github.com/eea/volto-cca-policy/commit/cf2da0af294ec97b36d2b711ff7d05a937512a02)]
|
|
22
25
|
- change(header): add sitemap link - refs #288920 [kreafox - [`0b51b76`](https://github.com/eea/volto-cca-policy/commit/0b51b7649a13f250390cc78e88f6946d370c4c59)]
|
|
23
26
|
|
|
24
27
|
#### :house: Internal changes
|
|
@@ -40,7 +43,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
40
43
|
- Add some loadable for components [Tiberiu Ichim - [`1793962`](https://github.com/eea/volto-cca-policy/commit/179396211c66a6a2465b2d1b6c0f2afc40fc7189)]
|
|
41
44
|
- Refs #284961 - test [Tripon Eugen - [`c989f1f`](https://github.com/eea/volto-cca-policy/commit/c989f1f8638c0c5233c5c49f8673c9a2cdc7937e)]
|
|
42
45
|
- Refs #284961 - add translations [Tripon Eugen - [`04ee988`](https://github.com/eea/volto-cca-policy/commit/04ee988c086d393b9b37ce1ea8d24f5e84f266aa)]
|
|
43
|
-
### [1.0.0-alpha.0](https://github.com/eea/volto-cca-policy/compare/0.3.
|
|
46
|
+
### [1.0.0-alpha.0](https://github.com/eea/volto-cca-policy/compare/0.3.67...1.0.0-alpha.0) - 15 July 2025
|
|
44
47
|
|
|
45
48
|
#### :bug: Bug Fixes
|
|
46
49
|
|
|
@@ -83,6 +86,27 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
83
86
|
- test: Update to volto 17 PR30 [valentinab25 - [`ed03286`](https://github.com/eea/volto-cca-policy/commit/ed032865efa051d6353844737616019b202ea562)]
|
|
84
87
|
- test: update snapshots [ana-oprea - [`94608ad`](https://github.com/eea/volto-cca-policy/commit/94608adc1b3b3655c7ecd5c39dde1f0fcd4b41e9)]
|
|
85
88
|
- test: Update to volto 17 PR30 [valentinab25 - [`2e81033`](https://github.com/eea/volto-cca-policy/commit/2e810334e08366ca77ba62383c064770dde643a1)]
|
|
89
|
+
### [0.3.67](https://github.com/eea/volto-cca-policy/compare/0.3.66...0.3.67) - 17 July 2025
|
|
90
|
+
|
|
91
|
+
#### :bug: Bug Fixes
|
|
92
|
+
|
|
93
|
+
- fix: eslint [kreafox - [`7887ef4`](https://github.com/eea/volto-cca-policy/commit/7887ef453f9099f1606a54b2ae06bfcad03ca5f8)]
|
|
94
|
+
|
|
95
|
+
#### :house: Internal changes
|
|
96
|
+
|
|
97
|
+
- style: Automated code fix [eea-jenkins - [`88386b8`](https://github.com/eea/volto-cca-policy/commit/88386b8d31edcf5aec1b2591840af3d5a6f0357a)]
|
|
98
|
+
- style: Automated code fix [eea-jenkins - [`4c5b5f3`](https://github.com/eea/volto-cca-policy/commit/4c5b5f3f4e0474a7fc2ba1f634229f8fc99c3fb0)]
|
|
99
|
+
|
|
100
|
+
#### :hammer_and_wrench: Others
|
|
101
|
+
|
|
102
|
+
- Undo [Tiberiu Ichim - [`d90fe59`](https://github.com/eea/volto-cca-policy/commit/d90fe596d97753a63796feaa42451b010cd80aec)]
|
|
103
|
+
- Depend on latest volto-matomo [Tiberiu Ichim - [`2ec3d30`](https://github.com/eea/volto-cca-policy/commit/2ec3d3099a8ba0f6823125209439631a2db18bac)]
|
|
104
|
+
- Use secondary site id [Tiberiu Ichim - [`461a204`](https://github.com/eea/volto-cca-policy/commit/461a20409ccf8e3b1baea17ee7727378dbb38e23)]
|
|
105
|
+
- Add suport for custom site id for mission [Tiberiu Ichim - [`3a32dfc`](https://github.com/eea/volto-cca-policy/commit/3a32dfc40127a060ea86651a71f043ef7137876b)]
|
|
106
|
+
- add nn missing translations [Tripon Eugen - [`62511df`](https://github.com/eea/volto-cca-policy/commit/62511df2351b231b3973a9a748f307e78ff7f993)]
|
|
107
|
+
- Add some loadable for components [Tiberiu Ichim - [`1793962`](https://github.com/eea/volto-cca-policy/commit/179396211c66a6a2465b2d1b6c0f2afc40fc7189)]
|
|
108
|
+
- Refs #284961 - test [Tripon Eugen - [`c989f1f`](https://github.com/eea/volto-cca-policy/commit/c989f1f8638c0c5233c5c49f8673c9a2cdc7937e)]
|
|
109
|
+
- Refs #284961 - add translations [Tripon Eugen - [`04ee988`](https://github.com/eea/volto-cca-policy/commit/04ee988c086d393b9b37ce1ea8d24f5e84f266aa)]
|
|
86
110
|
### [0.3.66](https://github.com/eea/volto-cca-policy/compare/0.3.65...0.3.66) - 17 July 2025
|
|
87
111
|
|
|
88
112
|
#### :bug: Bug Fixes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eeacms/volto-cca-policy",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.68",
|
|
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-globalsearch": "2.1.2",
|
|
36
36
|
"@eeacms/volto-hero-block": "^7.1.0",
|
|
37
37
|
"@eeacms/volto-openlayers-map": "1.0.1",
|
|
38
|
-
"@eeacms/volto-searchlib": "2.1.
|
|
38
|
+
"@eeacms/volto-searchlib": "2.1.1",
|
|
39
39
|
"@eeacms/volto-slate-label": "^0.6.0",
|
|
40
40
|
"@eeacms/volto-tabs-block": "^7.5.1",
|
|
41
41
|
"@elastic/search-ui": "1.21.2",
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
import React from 'react';
|
|
7
7
|
import { compose } from 'recompose';
|
|
8
|
-
import { withRouter
|
|
8
|
+
import { withRouter } from 'react-router-dom';
|
|
9
9
|
import { Dropdown, Image } from 'semantic-ui-react';
|
|
10
10
|
import { connect, useDispatch, useSelector } from 'react-redux';
|
|
11
11
|
import { UniversalLink } from '@plone/volto/components';
|
|
@@ -65,7 +65,6 @@ const DirectLinkLogo = ({
|
|
|
65
65
|
*/
|
|
66
66
|
const EEAHeader = (props) => {
|
|
67
67
|
const { pathname, token, items, subsite } = props;
|
|
68
|
-
const currentLang = useSelector((state) => state.intl.locale);
|
|
69
68
|
const router_pathname = useSelector((state) => {
|
|
70
69
|
return removeTrailingSlash(state.router?.location?.pathname) || '';
|
|
71
70
|
});
|
|
@@ -158,22 +157,6 @@ const EEAHeader = (props) => {
|
|
|
158
157
|
</Header.TopItem>
|
|
159
158
|
|
|
160
159
|
<div className="top-header-right-items">
|
|
161
|
-
<div className="item">
|
|
162
|
-
<div className="divider text">
|
|
163
|
-
<Link
|
|
164
|
-
to={
|
|
165
|
-
pathname.includes('/observatory')
|
|
166
|
-
? `/${currentLang}/observatory/sitemap`
|
|
167
|
-
: pathname.includes('/mission')
|
|
168
|
-
? `/${currentLang}/mission/sitemap`
|
|
169
|
-
: `/${currentLang}/sitemap`
|
|
170
|
-
}
|
|
171
|
-
>
|
|
172
|
-
Sitemap
|
|
173
|
-
</Link>
|
|
174
|
-
</div>
|
|
175
|
-
</div>
|
|
176
|
-
|
|
177
160
|
{!!headerOpts.partnerLinks && (
|
|
178
161
|
<Header.TopItem>
|
|
179
162
|
<Header.TopDropdownMenu
|
|
@@ -127,7 +127,12 @@ class Html extends Component {
|
|
|
127
127
|
})};`,
|
|
128
128
|
},
|
|
129
129
|
})}
|
|
130
|
-
|
|
130
|
+
<link
|
|
131
|
+
rel="sitemap"
|
|
132
|
+
type="application/xml"
|
|
133
|
+
title="Sitemap"
|
|
134
|
+
href="/sitemap-index.xml"
|
|
135
|
+
></link>
|
|
131
136
|
<link rel="icon" href="/favicon.ico" sizes="any" />
|
|
132
137
|
<link rel="icon" href="/icon.svg" type="image/svg+xml" />
|
|
133
138
|
<link
|