@eeacms/volto-clms-theme 1.1.75 → 1.1.76
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,15 @@ 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
|
+
### [1.1.76](https://github.com/eea/volto-clms-theme/compare/1.1.75...1.1.76) - 10 November 2023
|
|
8
|
+
|
|
9
|
+
#### :bug: Bug Fixes
|
|
10
|
+
|
|
11
|
+
- fix: related items block rendering [Ion Lizarazu - [`6d9f984`](https://github.com/eea/volto-clms-theme/commit/6d9f9843702575bf2204c5ffab5994e11e774a92)]
|
|
12
|
+
|
|
13
|
+
#### :hammer_and_wrench: Others
|
|
14
|
+
|
|
15
|
+
- carousel dots removed [Unai - [`fb1bacf`](https://github.com/eea/volto-clms-theme/commit/fb1bacf55a5fda2683c3374122cc4921c642313e)]
|
|
7
16
|
### [1.1.75](https://github.com/eea/volto-clms-theme/compare/1.1.74...1.1.75) - 8 November 2023
|
|
8
17
|
|
|
9
18
|
#### :rocket: New Features
|
|
@@ -29,14 +38,17 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
29
38
|
|
|
30
39
|
#### :hammer_and_wrench: Others
|
|
31
40
|
|
|
41
|
+
- test: [JENKINS] Add cpu limit on cypress docker [valentinab25 - [`c55db1c`](https://github.com/eea/volto-clms-theme/commit/c55db1c20cfef1eb34c587343a4822fa4bde3c54)]
|
|
32
42
|
### [1.1.73](https://github.com/eea/volto-clms-theme/compare/1.1.72...1.1.73) - 6 November 2023
|
|
33
43
|
|
|
34
44
|
#### :hammer_and_wrench: Others
|
|
35
45
|
|
|
46
|
+
- test: [JENKINS] Increase shm-size to cypress docker [valentinab25 - [`3a543b9`](https://github.com/eea/volto-clms-theme/commit/3a543b9000c1168d54edfb8003eb08dfa7c85031)]
|
|
36
47
|
- comment Integration tests [Ion Lizarazu - [`74713f8`](https://github.com/eea/volto-clms-theme/commit/74713f8f78d77ba193d8c27462cc8787d698ab81)]
|
|
37
48
|
- uncomment cypress tests [Ion Lizarazu - [`3526a5c`](https://github.com/eea/volto-clms-theme/commit/3526a5c46481667b0518c6cce0927e67726c6f6c)]
|
|
38
49
|
- use chrome instead of chromium to run cypress tests [Ion Lizarazu - [`6ae3a06`](https://github.com/eea/volto-clms-theme/commit/6ae3a06dbec1914c06a55c0dcb826c49b75f9739)]
|
|
39
50
|
- ccltabs activeTab condition having first child [Ion Lizarazu - [`3cf9376`](https://github.com/eea/volto-clms-theme/commit/3cf9376d55f5f41b7e42c25e5925cd871ec71d81)]
|
|
51
|
+
- test: [JENKINS] Improve cypress time [valentinab25 - [`f41ecfe`](https://github.com/eea/volto-clms-theme/commit/f41ecfea8b5a1e409303ffcc7befe7f51316d652)]
|
|
40
52
|
### [1.1.72](https://github.com/eea/volto-clms-theme/compare/1.1.71...1.1.72) - 2 November 2023
|
|
41
53
|
|
|
42
54
|
### [1.1.71](https://github.com/eea/volto-clms-theme/compare/1.1.70...1.1.71) - 31 October 2023
|
|
@@ -47,6 +59,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
47
59
|
|
|
48
60
|
#### :house: Internal changes
|
|
49
61
|
|
|
62
|
+
- chore: [JENKINS] Refactor automated testing [valentinab25 - [`67ca3bb`](https://github.com/eea/volto-clms-theme/commit/67ca3bb111f34842569c12b9c87a2a91bd14b09e)]
|
|
50
63
|
|
|
51
64
|
#### :hammer_and_wrench: Others
|
|
52
65
|
|
|
@@ -143,6 +156,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
143
156
|
|
|
144
157
|
- readme [Mikel Larreategi - [`3c0ab05`](https://github.com/eea/volto-clms-theme/commit/3c0ab051981a4efad7712bc46182eed9d79fd10f)]
|
|
145
158
|
- remove from addons [Mikel Larreategi - [`89c2e7d`](https://github.com/eea/volto-clms-theme/commit/89c2e7d793193e6bb64642f0b06a01cd3c81108a)]
|
|
159
|
+
- yarn.lock added after running yarn [Unai - [`ad307be`](https://github.com/eea/volto-clms-theme/commit/ad307be72bbfe753f7571ea4d784a09978e0f7f2)]
|
|
146
160
|
- prettier issue fix [Unai - [`8bc0650`](https://github.com/eea/volto-clms-theme/commit/8bc0650918f9fa1065d19d2c15ce153a5fc5abbb)]
|
|
147
161
|
- set a limit of 5 items in the download queue [Mikel Larreategi - [`b81cc83`](https://github.com/eea/volto-clms-theme/commit/b81cc8383165bafbbff52fbeeb365d413051802e)]
|
|
148
162
|
- adjust logo size [Mikel Larreategi - [`b90a72c`](https://github.com/eea/volto-clms-theme/commit/b90a72c07102025a7e90607b25d34611ddd4f4f6)]
|
|
@@ -284,6 +298,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
284
298
|
|
|
285
299
|
- fix cart items concat function [Ion Lizarazu - [`4b72249`](https://github.com/eea/volto-clms-theme/commit/4b72249ef17a0cda22661809fce5be7c2d1f6649)]
|
|
286
300
|
- revert Jenkinsfile [Ion Lizarazu - [`64f6cd0`](https://github.com/eea/volto-clms-theme/commit/64f6cd08100357843b507c00d3286d7debe0ef04)]
|
|
301
|
+
- yarn.lock file [Ion Lizarazu - [`8444ad1`](https://github.com/eea/volto-clms-theme/commit/8444ad1606b3939e4609bdd186e5ace2252588a8)]
|
|
287
302
|
- packages.json versions order [Ion Lizarazu - [`4fd7a86`](https://github.com/eea/volto-clms-theme/commit/4fd7a86ab43238841b421e1ed10ebd52ab420a15)]
|
|
288
303
|
- downloadablefilestablewidget param modification [Ion Lizarazu - [`5dd794a`](https://github.com/eea/volto-clms-theme/commit/5dd794a33a8eddd042a753b7ab47e7d2a323b011)]
|
|
289
304
|
- add technical_documents_accordion_text field to the dataset view [Ion Lizarazu - [`96ed1e5`](https://github.com/eea/volto-clms-theme/commit/96ed1e5e2c2b501bd303bc76b333a70ad1614c16)]
|
|
@@ -408,6 +423,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
408
423
|
|
|
409
424
|
- remove NUTS text for area naming in the cart [ionlizarazu - [`062e0a3`](https://github.com/eea/volto-clms-theme/commit/062e0a375f5352bc13c18ff7ec33fad4bcc59f2f)]
|
|
410
425
|
- dependencies [ionlizarazu - [`405ef96`](https://github.com/eea/volto-clms-theme/commit/405ef96090fe7bd4af73a49d3285a92fad712e3b)]
|
|
426
|
+
- yarn.lock [ionlizarazu - [`7132119`](https://github.com/eea/volto-clms-theme/commit/71321195c4dd4fceed67f2f0872f3e24bba61c17)]
|
|
411
427
|
- volto-blocks-grid module mapping [ionlizarazu - [`4fec3ca`](https://github.com/eea/volto-clms-theme/commit/4fec3cabc437322ad92ed90d682250bd123ccaaf)]
|
|
412
428
|
- volto-blocks-grid v7.0.2 [ionlizarazu - [`2557e60`](https://github.com/eea/volto-clms-theme/commit/2557e6039d3cea33ca0bd11a0a3ef4764c611f78)]
|
|
413
429
|
- remove styling from teaser block [ionlizarazu - [`879e684`](https://github.com/eea/volto-clms-theme/commit/879e684057c88f52f60f0fa54cbaa155c7d14688)]
|
|
@@ -495,6 +511,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
495
511
|
|
|
496
512
|
#### :house: Internal changes
|
|
497
513
|
|
|
514
|
+
- chore: [JENKINS] Remove alpha testing version [valentinab25 - [`b4cbf65`](https://github.com/eea/volto-clms-theme/commit/b4cbf6557fbc67f7fc4cea5aa2cb19804f3d7e3c)]
|
|
498
515
|
|
|
499
516
|
#### :hammer_and_wrench: Others
|
|
500
517
|
|
|
@@ -1693,6 +1710,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
1693
1710
|
#### :hammer_and_wrench: Others
|
|
1694
1711
|
|
|
1695
1712
|
- related products and datasets added to news and meeting views and login-plone route created [Unai - [`5704a1a`](https://github.com/eea/volto-clms-theme/commit/5704a1a766148746162b60efaf232ea90dc20cf4)]
|
|
1713
|
+
- Revert "[JENKINS] Use eeacms/plone-backend and Volto alpha version- Refs #151967" [Mikel Larreategi - [`46eb694`](https://github.com/eea/volto-clms-theme/commit/46eb69415280a3c982405299135027ae4221426a)]
|
|
1696
1714
|
- sort items according to the lowercased label and put those with special meaning at the end [Mikel Larreategi - [`6410abe`](https://github.com/eea/volto-clms-theme/commit/6410abe096f60dcad54dced2026c9df9b7946d68)]
|
|
1697
1715
|
- lint fix [Unai - [`1264a7a`](https://github.com/eea/volto-clms-theme/commit/1264a7adfe8d679fea1bd821ad087add20f4271d)]
|
|
1698
1716
|
- footer newsletter subscription change, global search maxLength change from 8000 to 200 and /login design change [Unai - [`a09d24a`](https://github.com/eea/volto-clms-theme/commit/a09d24adbb6fa053fb2a2cc0071506b906593b42)]
|
|
@@ -1843,6 +1861,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
1843
1861
|
- search block new features [ionlizarazu - [`8e814cb`](https://github.com/eea/volto-clms-theme/commit/8e814cbd359782540c21fe37b37ef146d331f0d6)]
|
|
1844
1862
|
- language selector cookie management [ionlizarazu - [`1385ac9`](https://github.com/eea/volto-clms-theme/commit/1385ac95795702206d3623ba6e780faa43a89e0a)]
|
|
1845
1863
|
- toolbar cookie management [ionlizarazu - [`5c23200`](https://github.com/eea/volto-clms-theme/commit/5c23200790b20e1d4f1bc966463c37bf4c808f47)]
|
|
1864
|
+
- Add Sonarqube tag using clms-frontend addons list [EEA Jenkins - [`0316a0d`](https://github.com/eea/volto-clms-theme/commit/0316a0d8b6fb0fa14af13002415f3c95d9f8ede3)]
|
|
1846
1865
|
### [1.0.84](https://github.com/eea/volto-clms-theme/compare/1.0.83...1.0.84) - 18 March 2022
|
|
1847
1866
|
|
|
1848
1867
|
#### :hammer_and_wrench: Others
|
|
@@ -2747,11 +2766,13 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
2747
2766
|
#### :hammer_and_wrench: Others
|
|
2748
2767
|
|
|
2749
2768
|
- replace @collective/volto-dropdownmenu with volto-dropdownmenu [ionlizarazu - [`07f004f`](https://github.com/eea/volto-clms-theme/commit/07f004fe0219e403fb51bc045c83d34f3b981f76)]
|
|
2769
|
+
- yarn.lock [ionlizarazu - [`fe1ca04`](https://github.com/eea/volto-clms-theme/commit/fe1ca04889d29fe7b653db4c69af2751b84b8a1a)]
|
|
2750
2770
|
- add NODE_ENV parameter [ionlizarazu - [`101f27c`](https://github.com/eea/volto-clms-theme/commit/101f27c25b8fbd192e1b11865e95cf5ffee08c1b)]
|
|
2751
2771
|
- upgrade volto-dropdownmenu version [ionlizarazu - [`2081855`](https://github.com/eea/volto-clms-theme/commit/2081855301f4c708776e0dbab39db143cee00dbc)]
|
|
2752
2772
|
- HomeSearch block missing url behaviour [ionlizarazu - [`d20a378`](https://github.com/eea/volto-clms-theme/commit/d20a378ce3f254b8343692348f314bf281974542)]
|
|
2753
2773
|
- babel configuration [ionlizarazu - [`203ea2d`](https://github.com/eea/volto-clms-theme/commit/203ea2de07f99ca3403e4ca220ca74d7ce69b61d)]
|
|
2754
2774
|
- prettier [ionlizarazu - [`e79e26b`](https://github.com/eea/volto-clms-theme/commit/e79e26bf2fa40ba7b4eb53a24dabd87928221c28)]
|
|
2775
|
+
- add yarn lock [ionlizarazu - [`e1ab28b`](https://github.com/eea/volto-clms-theme/commit/e1ab28b060d5a74431c368b0de82a68dabce1eab)]
|
|
2755
2776
|
- Jenkinsfile cypress test [ionlizarazu - [`b385d65`](https://github.com/eea/volto-clms-theme/commit/b385d65986f717c60f8c434a08fc11b829d08eb4)]
|
|
2756
2777
|
- cypress [ionlizarazu - [`a243cf0`](https://github.com/eea/volto-clms-theme/commit/a243cf0182fa3dd113c16ff495c71e310252d83b)]
|
|
2757
2778
|
- some fixes [ionlizarazu - [`046279b`](https://github.com/eea/volto-clms-theme/commit/046279b9d05bea8a64eca03eed493e02621534c9)]
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { useDispatch, useSelector } from 'react-redux';
|
|
3
|
-
import { Segment, Input, Pagination } from 'semantic-ui-react';
|
|
3
|
+
import { Loader, Segment, Input, Pagination } from 'semantic-ui-react';
|
|
4
|
+
import { FormattedMessage } from 'react-intl';
|
|
4
5
|
|
|
5
6
|
import { searchContent } from '@plone/volto/actions';
|
|
6
7
|
import { Icon } from '@plone/volto/components';
|
|
@@ -33,9 +34,10 @@ const CclRelatedListingView = (props) => {
|
|
|
33
34
|
|
|
34
35
|
const dispatch = useDispatch();
|
|
35
36
|
const uid = metadata ? metadata['UID'] : properties['UID'];
|
|
36
|
-
const
|
|
37
|
-
|
|
38
|
-
|
|
37
|
+
const allSearchSubrequests = useSelector((state) => state.search.subrequests);
|
|
38
|
+
const searchSubrequests = allSearchSubrequests?.[`${id}-${uid}`];
|
|
39
|
+
const sLoaded = searchSubrequests?.loaded;
|
|
40
|
+
const sLoading = searchSubrequests?.loading;
|
|
39
41
|
|
|
40
42
|
const associated = directRelation
|
|
41
43
|
? directQuery
|
|
@@ -90,15 +92,10 @@ const CclRelatedListingView = (props) => {
|
|
|
90
92
|
};
|
|
91
93
|
|
|
92
94
|
React.useEffect(() => {
|
|
93
|
-
if (searchSubrequests?.loaded) {
|
|
94
|
-
p_functions.setOriginalDataList([...searchSubrequests.items]);
|
|
95
|
-
p_functions.setDataList([...searchSubrequests.items]);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
95
|
uid &&
|
|
99
96
|
id &&
|
|
100
97
|
!searchSubrequests?.loading &&
|
|
101
|
-
!
|
|
98
|
+
!sLoaded &&
|
|
102
99
|
!searchSubrequests?.error &&
|
|
103
100
|
dispatch(
|
|
104
101
|
searchContent(
|
|
@@ -118,9 +115,17 @@ const CclRelatedListingView = (props) => {
|
|
|
118
115
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
119
116
|
}, [data, id, uid, dispatch]);
|
|
120
117
|
|
|
118
|
+
React.useEffect(() => {
|
|
119
|
+
if (sLoaded) {
|
|
120
|
+
p_functions.setOriginalDataList([...searchSubrequests.items]);
|
|
121
|
+
p_functions.setDataList([...searchSubrequests.items]);
|
|
122
|
+
}
|
|
123
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
124
|
+
}, [sLoaded]);
|
|
125
|
+
|
|
121
126
|
return (
|
|
122
127
|
<>
|
|
123
|
-
{
|
|
128
|
+
{sLoaded && libraries.length > 0 ? (
|
|
124
129
|
<div ref={ref}>
|
|
125
130
|
{paginationSize < libraries.length && (
|
|
126
131
|
<div className="block search">
|
|
@@ -171,6 +176,10 @@ const CclRelatedListingView = (props) => {
|
|
|
171
176
|
</div>
|
|
172
177
|
)}
|
|
173
178
|
</div>
|
|
179
|
+
) : sLoading ? (
|
|
180
|
+
<Loader active inline="centered">
|
|
181
|
+
<FormattedMessage id="Loading..." defaultMessage="Loading..." />
|
|
182
|
+
</Loader>
|
|
174
183
|
) : (
|
|
175
184
|
<p>There are no related items.</p>
|
|
176
185
|
)}
|
|
@@ -7,7 +7,7 @@ import React from 'react';
|
|
|
7
7
|
import { RenderBlocks } from '@plone/volto/components';
|
|
8
8
|
import { compose } from 'redux';
|
|
9
9
|
import { connect } from 'react-redux';
|
|
10
|
-
import cx from 'classnames';
|
|
10
|
+
// import cx from 'classnames';
|
|
11
11
|
import loadable from '@loadable/component';
|
|
12
12
|
import { withRouter } from 'react-router';
|
|
13
13
|
import { withScrollToTarget } from '@eeacms/volto-tabs-block/hocs';
|
|
@@ -17,7 +17,7 @@ const Slider = loadable(() => import('react-slick'));
|
|
|
17
17
|
const View = (props) => {
|
|
18
18
|
const slider = React.useRef(null);
|
|
19
19
|
const {
|
|
20
|
-
activeTab = null,
|
|
20
|
+
// activeTab = null,
|
|
21
21
|
metadata = {},
|
|
22
22
|
tabsList = [],
|
|
23
23
|
tabs = {},
|
|
@@ -38,7 +38,7 @@ const View = (props) => {
|
|
|
38
38
|
},
|
|
39
39
|
};
|
|
40
40
|
|
|
41
|
-
const Dots = (dotProps) => {
|
|
41
|
+
/* const Dots = (dotProps) => {
|
|
42
42
|
const { dotActiveTab = null, dotTabsList = [], dotSlider = {} } = dotProps;
|
|
43
43
|
return dotTabsList.length > 1 ? (
|
|
44
44
|
<ul className={cx('slick-dots', dotProps.uiContainer)} role={'tablist'}>
|
|
@@ -62,7 +62,7 @@ const View = (props) => {
|
|
|
62
62
|
''
|
|
63
63
|
);
|
|
64
64
|
};
|
|
65
|
-
|
|
65
|
+
*/
|
|
66
66
|
/* const ArrowsGroup = (arrowProps) => {
|
|
67
67
|
return (
|
|
68
68
|
<div className={'slick-arrows'}>
|
|
@@ -114,11 +114,11 @@ const View = (props) => {
|
|
|
114
114
|
{panes.length ? panes.map((pane) => pane.renderItem) : ''}
|
|
115
115
|
</Slider>
|
|
116
116
|
{/* <ArrowsGroup activeTab={activeTab} tabsList={tabsList} slider={slider} /> */}
|
|
117
|
-
<Dots
|
|
117
|
+
{/* <Dots
|
|
118
118
|
dotActiveTab={activeTab}
|
|
119
119
|
dotTabsList={tabsList}
|
|
120
120
|
dotSlider={slider}
|
|
121
|
-
/>
|
|
121
|
+
/> */}
|
|
122
122
|
</>
|
|
123
123
|
);
|
|
124
124
|
};
|