@eeacms/volto-clms-theme 1.0.211 → 1.1.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,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.0](https://github.com/eea/volto-clms-theme/compare/1.0.211...1.1.0) - 29 May 2023
8
+
9
+ #### :rocket: New Features
10
+
11
+ - feat: CLMS-1891 show error message as returned by backend [Mikel Larreategi - [`e835799`](https://github.com/eea/volto-clms-theme/commit/e83579997082627c49ca5d399a8aef4c37433131)]
12
+
13
+ #### :hammer_and_wrench: Others
14
+
15
+ - bump version number to 1.1 [Mikel Larreategi - [`9882ec3`](https://github.com/eea/volto-clms-theme/commit/9882ec3108a38e8e68aa3621f173c11076bd60fd)]
7
16
  ### [1.0.211](https://github.com/eea/volto-clms-theme/compare/1.0.210...1.0.211) - 25 May 2023
8
17
 
9
18
  #### :hammer_and_wrench: Others
@@ -1149,7 +1158,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
1149
1158
  #### :hammer_and_wrench: Others
1150
1159
 
1151
1160
  - 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)]
1152
- - Revert "[JENKINS] Use eeacms/plone-backend and Volto alpha version- Refs #151967" [Mikel Larreategi - [`46eb694`](https://github.com/eea/volto-clms-theme/commit/46eb69415280a3c982405299135027ae4221426a)]
1153
1161
  - 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)]
1154
1162
  - lint fix [Unai - [`1264a7a`](https://github.com/eea/volto-clms-theme/commit/1264a7adfe8d679fea1bd821ad087add20f4271d)]
1155
1163
  - 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)]
@@ -1300,7 +1308,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
1300
1308
  - search block new features [ionlizarazu - [`8e814cb`](https://github.com/eea/volto-clms-theme/commit/8e814cbd359782540c21fe37b37ef146d331f0d6)]
1301
1309
  - language selector cookie management [ionlizarazu - [`1385ac9`](https://github.com/eea/volto-clms-theme/commit/1385ac95795702206d3623ba6e780faa43a89e0a)]
1302
1310
  - toolbar cookie management [ionlizarazu - [`5c23200`](https://github.com/eea/volto-clms-theme/commit/5c23200790b20e1d4f1bc966463c37bf4c808f47)]
1303
- - Add Sonarqube tag using clms-frontend addons list [EEA Jenkins - [`0316a0d`](https://github.com/eea/volto-clms-theme/commit/0316a0d8b6fb0fa14af13002415f3c95d9f8ede3)]
1304
1311
  ### [1.0.84](https://github.com/eea/volto-clms-theme/compare/1.0.83...1.0.84) - 18 March 2022
1305
1312
 
1306
1313
  #### :hammer_and_wrench: Others
@@ -2205,13 +2212,11 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
2205
2212
  #### :hammer_and_wrench: Others
2206
2213
 
2207
2214
  - replace @collective/volto-dropdownmenu with volto-dropdownmenu [ionlizarazu - [`07f004f`](https://github.com/eea/volto-clms-theme/commit/07f004fe0219e403fb51bc045c83d34f3b981f76)]
2208
- - yarn.lock [ionlizarazu - [`fe1ca04`](https://github.com/eea/volto-clms-theme/commit/fe1ca04889d29fe7b653db4c69af2751b84b8a1a)]
2209
2215
  - add NODE_ENV parameter [ionlizarazu - [`101f27c`](https://github.com/eea/volto-clms-theme/commit/101f27c25b8fbd192e1b11865e95cf5ffee08c1b)]
2210
2216
  - upgrade volto-dropdownmenu version [ionlizarazu - [`2081855`](https://github.com/eea/volto-clms-theme/commit/2081855301f4c708776e0dbab39db143cee00dbc)]
2211
2217
  - HomeSearch block missing url behaviour [ionlizarazu - [`d20a378`](https://github.com/eea/volto-clms-theme/commit/d20a378ce3f254b8343692348f314bf281974542)]
2212
2218
  - babel configuration [ionlizarazu - [`203ea2d`](https://github.com/eea/volto-clms-theme/commit/203ea2de07f99ca3403e4ca220ca74d7ce69b61d)]
2213
2219
  - prettier [ionlizarazu - [`e79e26b`](https://github.com/eea/volto-clms-theme/commit/e79e26bf2fa40ba7b4eb53a24dabd87928221c28)]
2214
- - add yarn lock [ionlizarazu - [`e1ab28b`](https://github.com/eea/volto-clms-theme/commit/e1ab28b060d5a74431c368b0de82a68dabce1eab)]
2215
2220
  - Jenkinsfile cypress test [ionlizarazu - [`b385d65`](https://github.com/eea/volto-clms-theme/commit/b385d65986f717c60f8c434a08fc11b829d08eb4)]
2216
2221
  - cypress [ionlizarazu - [`a243cf0`](https://github.com/eea/volto-clms-theme/commit/a243cf0182fa3dd113c16ff495c71e310252d83b)]
2217
2222
  - some fixes [ionlizarazu - [`046279b`](https://github.com/eea/volto-clms-theme/commit/046279b9d05bea8a64eca03eed493e02621534c9)]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-clms-theme",
3
- "version": "1.0.211",
3
+ "version": "1.1.0",
4
4
  "description": "volto-clms-theme: Volto theme for CLMS site",
5
5
  "main": "src/index.js",
6
6
  "author": "CodeSyntax for the European Environment Agency",
@@ -41,6 +41,8 @@ const CLMSCartContent = (props) => {
41
41
  (state) => state.downloadtool.post_download_in_progress,
42
42
  );
43
43
 
44
+ const post_download = useSelector((state) => state.downloadtool);
45
+
44
46
  // component states
45
47
  const [openedModal, setOpenedModal] = useState(false);
46
48
  const [cartSelection, setCartSelection] = useState([]);
@@ -152,9 +154,7 @@ const CLMSCartContent = (props) => {
152
154
  <Toast
153
155
  autoClose={5000}
154
156
  title={'Something went wrong.'}
155
- error={
156
- 'There was an error when requesting the download, please try again.'
157
- }
157
+ content={post_download?.error?.response?.body?.msg}
158
158
  />,
159
159
  );
160
160
  });