@eeacms/volto-eea-website-theme 3.6.2 → 3.7.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
@@ -4,6 +4,17 @@ 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
|
+
### [3.7.0](https://github.com/eea/volto-eea-website-theme/compare/3.6.3...3.7.0) - 6 June 2025
|
8
|
+
|
9
|
+
#### :hammer_and_wrench: Others
|
10
|
+
|
11
|
+
- Release 3.7.0 [Alin Voinea - [`b4c7cc5`](https://github.com/eea/volto-eea-website-theme/commit/b4c7cc5218a5ed04d2a53c75d2dfdac7c7959bd5)]
|
12
|
+
### [3.6.3](https://github.com/eea/volto-eea-website-theme/compare/3.6.2...3.6.3) - 2 June 2025
|
13
|
+
|
14
|
+
#### :bug: Bug Fixes
|
15
|
+
|
16
|
+
- fix: IMS History diff is not showing charts- refs 286978 [Nilesh - [`7a8a3f7`](https://github.com/eea/volto-eea-website-theme/commit/7a8a3f771e2a8cad9df187e853c2aa255a39d91d)]
|
17
|
+
|
7
18
|
### [3.6.2](https://github.com/eea/volto-eea-website-theme/compare/3.6.1...3.6.2) - 2 June 2025
|
8
19
|
|
9
20
|
#### :nail_care: Enhancements
|
@@ -39,8 +50,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
39
50
|
|
40
51
|
#### :hammer_and_wrench: Others
|
41
52
|
|
42
|
-
- Add Sonarqube tag using fise-frontend addons list [EEA Jenkins - [`3d50874`](https://github.com/eea/volto-eea-website-theme/commit/3d50874281ebcb91a1ae3727248f656a6f26c603)]
|
43
|
-
- Add Sonarqube tag using ied-frontend addons list [EEA Jenkins - [`a3f7676`](https://github.com/eea/volto-eea-website-theme/commit/a3f76767d99cb6dd93cc7fa0eafdea57e9000b2c)]
|
44
53
|
### [3.5.4](https://github.com/eea/volto-eea-website-theme/compare/3.5.3...3.5.4) - 30 January 2025
|
45
54
|
|
46
55
|
#### :bug: Bug Fixes
|
@@ -141,7 +150,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
141
150
|
|
142
151
|
#### :hammer_and_wrench: Others
|
143
152
|
|
144
|
-
- Add Sonarqube tag using bise-frontend addons list [EEA Jenkins - [`e417f83`](https://github.com/eea/volto-eea-website-theme/commit/e417f839312045c56b67ab8134fe5b0622b3e2c3)]
|
145
153
|
## [3.0.0](https://github.com/eea/volto-eea-website-theme/compare/2.4.0...3.0.0) - 21 October 2024
|
146
154
|
|
147
155
|
#### :nail_care: Enhancements
|
@@ -227,7 +235,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
227
235
|
- Refs #269520 - other_organisation test [Tripon Eugen - [`7558b27`](https://github.com/eea/volto-eea-website-theme/commit/7558b27a9d1cd6d3480a32b296c7325c796006c9)]
|
228
236
|
- Refs #269520 - other_organisation token widget edit mode [Tripon Eugen - [`b6df127`](https://github.com/eea/volto-eea-website-theme/commit/b6df127bd91b6f55dda8f468e1107037d43752ff)]
|
229
237
|
- Refs #269520 - other_organisation token widget [Tripon Eugen - [`6fd7543`](https://github.com/eea/volto-eea-website-theme/commit/6fd7543894bd2c593a1729116befd95c82ea3c8f)]
|
230
|
-
- Add Sonarqube tag using marine-frontend addons list [EEA Jenkins - [`cbc36c7`](https://github.com/eea/volto-eea-website-theme/commit/cbc36c74dfcd5f7cb1013a4c673d9c02e0023766)]
|
231
238
|
### [2.1.1](https://github.com/eea/volto-eea-website-theme/compare/2.1.0...2.1.1) - 28 May 2024
|
232
239
|
|
233
240
|
#### :bug: Bug Fixes
|
@@ -312,7 +319,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
312
319
|
|
313
320
|
#### :hammer_and_wrench: Others
|
314
321
|
|
315
|
-
- Add Sonarqube tag using insitu-frontend addons list [EEA Jenkins - [`adc6730`](https://github.com/eea/volto-eea-website-theme/commit/adc6730e21a37afb865b842182624401de6a29f5)]
|
316
322
|
### [1.33.1](https://github.com/eea/volto-eea-website-theme/compare/1.33.0...1.33.1) - 4 April 2024
|
317
323
|
|
318
324
|
#### :bug: Bug Fixes
|
@@ -446,8 +452,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
446
452
|
|
447
453
|
- bump version [Razvan - [`721e939`](https://github.com/eea/volto-eea-website-theme/commit/721e939d12e324b459ebfa78a2e656ee7142a3d6)]
|
448
454
|
- merge master into this branch [Razvan - [`586c8f9`](https://github.com/eea/volto-eea-website-theme/commit/586c8f910bac55a043bd8dda60e9444bd2ae1663)]
|
449
|
-
- Add Sonarqube tag using freshwater-frontend addons list [EEA Jenkins - [`fd90044`](https://github.com/eea/volto-eea-website-theme/commit/fd9004442a9d1d465f7601ecdefe3e23c61e6a9c)]
|
450
|
-
- Add Sonarqube tag using insitu-frontend addons list [EEA Jenkins - [`4bc3dd3`](https://github.com/eea/volto-eea-website-theme/commit/4bc3dd3ae412a66befd04b5b80fab3716c929240)]
|
451
455
|
- test: Update jest,Jenkinsfile,lint to volto-addons-template PR30 [valentinab25 - [`c4dbd28`](https://github.com/eea/volto-eea-website-theme/commit/c4dbd289358205bc2d849aab7edb11ccf3b89cee)]
|
452
456
|
- fix tests [Razvan - [`042330b`](https://github.com/eea/volto-eea-website-theme/commit/042330bc97d32ffe7ba769b4f2453f71cffed706)]
|
453
457
|
- remove RemoveSchema logic [Razvan - [`08d10f8`](https://github.com/eea/volto-eea-website-theme/commit/08d10f8bf6f75478260e4e4c66d7316ba87b907a)]
|
@@ -542,11 +546,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
542
546
|
- test: Add real image to cypress test [Alin Voinea - [`4ff591a`](https://github.com/eea/volto-eea-website-theme/commit/4ff591ae3318c9588b4e2114582c0fa6cfdf31ae)]
|
543
547
|
- test: Add cypress tests for Image block styling position and align [Alin Voinea - [`7341ef7`](https://github.com/eea/volto-eea-website-theme/commit/7341ef7b92714fc0cc3ab0c31c39033e7b3e19e7)]
|
544
548
|
- Revert "change(tests): commented out rss test since title block config is missing" [Alin Voinea - [`fb61191`](https://github.com/eea/volto-eea-website-theme/commit/fb611918d6ca380b89b594f283dcf9f685a4b294)]
|
545
|
-
- test: [JENKINS] Use java17 for sonarqube scanner [valentinab25 - [`6a3be30`](https://github.com/eea/volto-eea-website-theme/commit/6a3be3092589411af7808a235f76de5222fd3868)]
|
546
|
-
- test: [JENKINS] Run cypress in started frontend container [valentinab25 - [`c3978f2`](https://github.com/eea/volto-eea-website-theme/commit/c3978f23375ef066e9fd6f6c2e34ba6c1c058f69)]
|
547
|
-
- test: [JENKINS] Add cpu limit on cypress docker [valentinab25 - [`f672779`](https://github.com/eea/volto-eea-website-theme/commit/f672779e845bec9240ccc901e9f53ec80c5a1819)]
|
548
|
-
- test: [JENKINS] Increase shm-size to cypress docker [valentinab25 - [`ae5d8e3`](https://github.com/eea/volto-eea-website-theme/commit/ae5d8e3f4e04dc2808d47ce2ee886e1b23b528da)]
|
549
|
-
- test: [JENKINS] Improve cypress time [valentinab25 - [`170ff0c`](https://github.com/eea/volto-eea-website-theme/commit/170ff0c8e3b30e69479bdf1117e811fea94f1027)]
|
550
549
|
### [1.23.0](https://github.com/eea/volto-eea-website-theme/compare/1.22.1...1.23.0) - 2 November 2023
|
551
550
|
|
552
551
|
#### :rocket: New Features
|
@@ -559,7 +558,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
559
558
|
|
560
559
|
#### :house: Internal changes
|
561
560
|
|
562
|
-
- chore: [JENKINS] Refactor automated testing [valentinab25 - [`f28fce3`](https://github.com/eea/volto-eea-website-theme/commit/f28fce3d1eb815f95fb9aa40de42b10b7e8e30c5)]
|
563
561
|
- chore: husky, lint-staged use fixed versions [valentinab25 - [`6d15088`](https://github.com/eea/volto-eea-website-theme/commit/6d150886c5aeb2ca0b569270486e60f7cc274e2c)]
|
564
562
|
- chore:volto 16 in tests, update docs, fix stylelint overrides [valentinab25 - [`20c0323`](https://github.com/eea/volto-eea-website-theme/commit/20c032380b33c0077c869a05136f93e2fb68e5d4)]
|
565
563
|
|
@@ -745,7 +743,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
745
743
|
|
746
744
|
#### :house: Internal changes
|
747
745
|
|
748
|
-
- chore: [JENKINS] Deprecate circularity website [valentinab25 - [`370dcbf`](https://github.com/eea/volto-eea-website-theme/commit/370dcbfbf1a8135ce7b1b3b271b004552a631837)]
|
749
746
|
|
750
747
|
#### :hammer_and_wrench: Others
|
751
748
|
|
@@ -901,7 +898,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
901
898
|
|
902
899
|
#### :hammer_and_wrench: Others
|
903
900
|
|
904
|
-
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`6c5e2f8`](https://github.com/eea/volto-eea-website-theme/commit/6c5e2f80456e2061d9e9c15fd0a0b91b9ac70568)]
|
905
901
|
### [1.9.1](https://github.com/eea/volto-eea-website-theme/compare/1.9.0...1.9.1) - 28 February 2023
|
906
902
|
|
907
903
|
#### :bug: Bug Fixes
|
@@ -1048,7 +1044,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
1048
1044
|
|
1049
1045
|
- For some reasons types is a string [Alin Voinea - [`3769a09`](https://github.com/eea/volto-eea-website-theme/commit/3769a0981181d5b633f3498daebbe96be8b4b833)]
|
1050
1046
|
- Fix(redirect): o.filter - refs #157627 [Alin Voinea - [`deb23da`](https://github.com/eea/volto-eea-website-theme/commit/deb23da846444cc96539697fd798429ae0abe89e)]
|
1051
|
-
- Add Sonarqube tag using advisory-board-frontend addons list [EEA Jenkins - [`f1fffc5`](https://github.com/eea/volto-eea-website-theme/commit/f1fffc5db96725440863d545580b4e76cce4b796)]
|
1052
1047
|
### [1.5.0](https://github.com/eea/volto-eea-website-theme/compare/1.4.2...1.5.0) - 9 January 2023
|
1053
1048
|
|
1054
1049
|
#### :hammer_and_wrench: Others
|
@@ -1082,7 +1077,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
1082
1077
|
|
1083
1078
|
- Release 1.4.0 [Alin Voinea - [`bd42a0d`](https://github.com/eea/volto-eea-website-theme/commit/bd42a0d26e928cac5d99933194755da3db06b341)]
|
1084
1079
|
- bump version to use as volto-eea-design-system [David Ichim - [`f4be047`](https://github.com/eea/volto-eea-website-theme/commit/f4be047328b46399b03b612d378b18aaf82e7dc1)]
|
1085
|
-
- Add Sonarqube tag using advisory-board-frontend addons list [EEA Jenkins - [`9b7cfef`](https://github.com/eea/volto-eea-website-theme/commit/9b7cfefb4d34fc1c948015e491feb370f9795bd8)]
|
1086
1080
|
- test(Jenkins): Run tests and cypress with latest canary @plone/volto [Alin Voinea - [`df252a9`](https://github.com/eea/volto-eea-website-theme/commit/df252a9bfed0bb86cadf53c59dd1603b1e2cd822)]
|
1087
1081
|
### [1.3.2](https://github.com/eea/volto-eea-website-theme/compare/1.3.1...1.3.2) - 16 December 2022
|
1088
1082
|
|
@@ -1092,7 +1086,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
1092
1086
|
|
1093
1087
|
#### :hammer_and_wrench: Others
|
1094
1088
|
|
1095
|
-
- Add Sonarqube tag using cca-frontend addons list [EEA Jenkins - [`a43c658`](https://github.com/eea/volto-eea-website-theme/commit/a43c658a7920c8df95e763b9a637f38ce77eba2c)]
|
1096
1089
|
- Better razzle.config [Tiberiu Ichim - [`81dbf48`](https://github.com/eea/volto-eea-website-theme/commit/81dbf48815fb27facb4f82c9b764540fdf188b2e)]
|
1097
1090
|
- Better razzle.config [Tiberiu Ichim - [`7bc9da2`](https://github.com/eea/volto-eea-website-theme/commit/7bc9da2cd837ab62a95cd29979cdd9b0055b7d67)]
|
1098
1091
|
### [1.3.1](https://github.com/eea/volto-eea-website-theme/compare/1.3.0...1.3.1) - 28 November 2022
|
@@ -1103,7 +1096,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
1103
1096
|
|
1104
1097
|
#### :hammer_and_wrench: Others
|
1105
1098
|
|
1106
|
-
- yarn 3 [Alin Voinea - [`ea7a709`](https://github.com/eea/volto-eea-website-theme/commit/ea7a7094945312776e9b6f44e371178603e92139)]
|
1107
1099
|
### [1.3.0](https://github.com/eea/volto-eea-website-theme/compare/1.2.0...1.3.0) - 22 November 2022
|
1108
1100
|
|
1109
1101
|
#### :rocket: New Features
|
@@ -1144,7 +1136,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
1144
1136
|
- Add subsite class to body [Tiberiu Ichim - [`74d700f`](https://github.com/eea/volto-eea-website-theme/commit/74d700fbfd6249a8604762a7e4e49cce857db0f3)]
|
1145
1137
|
- Add subsite info to header [Tiberiu Ichim - [`47daf8b`](https://github.com/eea/volto-eea-website-theme/commit/47daf8bb6374a1222040626b19d4154df7ba1b83)]
|
1146
1138
|
- fix eslint [Miu Razvan - [`eb8d0a7`](https://github.com/eea/volto-eea-website-theme/commit/eb8d0a790bc70c0aae256c6ff35f63c4885f338e)]
|
1147
|
-
- Add Sonarqube tag using circularity-frontend addons list [EEA Jenkins - [`cc578a4`](https://github.com/eea/volto-eea-website-theme/commit/cc578a413b205a8e61e091fab3a88f94cedefc89)]
|
1148
1139
|
### [1.1.0](https://github.com/eea/volto-eea-website-theme/compare/1.0.0...1.1.0) - 28 October 2022
|
1149
1140
|
|
1150
1141
|
#### :nail_care: Enhancements
|
@@ -1192,7 +1183,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
1192
1183
|
|
1193
1184
|
#### :hammer_and_wrench: Others
|
1194
1185
|
|
1195
|
-
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`33b56ac`](https://github.com/eea/volto-eea-website-theme/commit/33b56acb13fbaf0c5b79e8fc6e13c4b699c79c90)]
|
1196
1186
|
### [0.7.3](https://github.com/eea/volto-eea-website-theme/compare/0.7.2...0.7.3) - 22 September 2022
|
1197
1187
|
|
1198
1188
|
#### :hammer_and_wrench: Others
|
@@ -1460,7 +1450,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
1460
1450
|
- Header refactor, add custom logo #5 [ichim-david - [`4950235`](https://github.com/eea/volto-eea-website-theme/commit/49502358105437cfeac3b144e6d301cb59aa2346)]
|
1461
1451
|
- Update footer.config with new publication card component [ichim-david - [`2e38e9a`](https://github.com/eea/volto-eea-website-theme/commit/2e38e9a417f835009d60c80d4eb4b30229f55e45)]
|
1462
1452
|
- feature(breadcrumbs): implement eea-design-system breadcrumb as Volto component #32 #7 [ichim-david - [`181af41`](https://github.com/eea/volto-eea-website-theme/commit/181af4125ce2b9ddac56dab4723cb11c26633221)]
|
1463
|
-
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`da8ceb6`](https://github.com/eea/volto-eea-website-theme/commit/da8ceb68ea68bfbc9504e48ccd4d68277f11ab9a)]
|
1464
1453
|
- use breadcrumbs from eea-design-system [nileshgulia1 - [`db2f9e9`](https://github.com/eea/volto-eea-website-theme/commit/db2f9e9a4327420a3cce9a9903cd88549b129eab)]
|
1465
1454
|
- Update theme.config [ichim-david - [`8eca4f4`](https://github.com/eea/volto-eea-website-theme/commit/8eca4f40397a4aeca6d39029c92db78968d37064)]
|
1466
1455
|
- Added keyContent component to theme.config [ichim-david - [`d86f202`](https://github.com/eea/volto-eea-website-theme/commit/d86f202d0274d839487a88b51cae9a0e899beb23)]
|
@@ -1502,5 +1491,4 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
1502
1491
|
|
1503
1492
|
#### :hammer_and_wrench: Others
|
1504
1493
|
|
1505
|
-
- yarn bootstrap [Alin Voinea - [`6995e9e`](https://github.com/eea/volto-eea-website-theme/commit/6995e9e091f21fdbbdffa8a44fc0e2c626f6d46a)]
|
1506
1494
|
- Initial commit [Alin Voinea - [`6a9c03a`](https://github.com/eea/volto-eea-website-theme/commit/6a9c03a7cebe71ca87e82cf58c42904063e9d8d3)]
|
package/package.json
CHANGED
@@ -11,7 +11,7 @@ import ReactDOMServer from 'react-dom/server';
|
|
11
11
|
import { Provider } from 'react-intl-redux';
|
12
12
|
import { createBrowserHistory } from 'history';
|
13
13
|
import { ConnectedRouter } from 'connected-react-router';
|
14
|
-
import { useSelector } from 'react-redux';
|
14
|
+
import { useSelector, useStore } from 'react-redux';
|
15
15
|
import config from '@plone/volto/registry';
|
16
16
|
import { Api } from '@plone/volto/helpers';
|
17
17
|
import configureStore from '@plone/volto/store';
|
@@ -164,6 +164,7 @@ const DiffField = ({
|
|
164
164
|
schema,
|
165
165
|
diffLib,
|
166
166
|
}) => {
|
167
|
+
const reduxStore = useStore();
|
167
168
|
const language = useSelector((state) => state.intl.locale);
|
168
169
|
const readable_date_format = {
|
169
170
|
dateStyle: 'full',
|
@@ -198,7 +199,8 @@ const DiffField = ({
|
|
198
199
|
case 'json': {
|
199
200
|
const api = new Api();
|
200
201
|
const history = createBrowserHistory();
|
201
|
-
const
|
202
|
+
const currentState = reduxStore.getState();
|
203
|
+
const store = configureStore(currentState, history, api); //decouple the store from the redux store
|
202
204
|
parts = diffWords(
|
203
205
|
ReactDOMServer.renderToStaticMarkup(
|
204
206
|
<Provider store={store}>
|
@@ -220,7 +222,8 @@ const DiffField = ({
|
|
220
222
|
case 'slate': {
|
221
223
|
const api = new Api();
|
222
224
|
const history = createBrowserHistory();
|
223
|
-
const
|
225
|
+
const currentState = reduxStore.getState();
|
226
|
+
const store = configureStore(currentState, history, api);
|
224
227
|
parts = diffWords(
|
225
228
|
ReactDOMServer.renderToStaticMarkup(
|
226
229
|
<Provider store={store}>
|
@@ -246,7 +249,8 @@ const DiffField = ({
|
|
246
249
|
if (Widget) {
|
247
250
|
const api = new Api();
|
248
251
|
const history = createBrowserHistory();
|
249
|
-
const
|
252
|
+
const currentState = reduxStore.getState();
|
253
|
+
const store = configureStore(currentState, history, api);
|
250
254
|
parts = diffWords(
|
251
255
|
ReactDOMServer.renderToStaticMarkup(
|
252
256
|
<Provider store={store}>
|
package/src/index.js
CHANGED
@@ -501,31 +501,6 @@ const applyConfig = (config) => {
|
|
501
501
|
},
|
502
502
|
];
|
503
503
|
|
504
|
-
// mega menu layout settings
|
505
|
-
config.settings.menuItemsLayouts = {
|
506
|
-
'/en/topics': {
|
507
|
-
menuItemChildrenListColumns: [1, 4],
|
508
|
-
menuItemColumns: [
|
509
|
-
'at-a-glance three wide column',
|
510
|
-
'topics-right-column nine wide column',
|
511
|
-
],
|
512
|
-
hideChildrenFromNavigation: false,
|
513
|
-
},
|
514
|
-
'/en/countries': {
|
515
|
-
menuItemColumns: ['eight wide column', 'four wide column'],
|
516
|
-
menuItemChildrenListColumns: [5, 2],
|
517
|
-
appendExtraMenuItemsToLastColumn: true,
|
518
|
-
hideChildrenFromNavigation: false,
|
519
|
-
},
|
520
|
-
'/en/about': {
|
521
|
-
hideChildrenFromNavigation: false,
|
522
|
-
},
|
523
|
-
// if you want to set default settings for all menu items that don't have a specific path
|
524
|
-
// '*': {
|
525
|
-
// hideChildrenFromNavigation: false,
|
526
|
-
// },
|
527
|
-
};
|
528
|
-
|
529
504
|
// If you don't want to show the content type as a link in the breadcrumbs, you can set it
|
530
505
|
// contentTypesAsBreadcrumbSection
|
531
506
|
config.settings.contentTypesAsBreadcrumbSection = ['web_report_section'];
|
@@ -591,6 +566,11 @@ const applyConfig = (config) => {
|
|
591
566
|
print,
|
592
567
|
};
|
593
568
|
|
569
|
+
// Mega menu object
|
570
|
+
if (!config.settings.menuItemsLayouts) {
|
571
|
+
config.settings.menuItemsLayouts = {};
|
572
|
+
}
|
573
|
+
|
594
574
|
// Breadcrumbs
|
595
575
|
config.settings.apiExpanders.push({
|
596
576
|
match: '',
|