@eeacms/volto-datahub 2.0.0 → 2.0.2

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,7 +4,24 @@ 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
- ### [2.0.0](https://github.com/eea/volto-datahub/compare/1.0.33...2.0.0) - 22 April 2024
7
+ ### [2.0.2](https://github.com/eea/volto-datahub/compare/2.0.1...2.0.2) - 23 September 2025
8
+
9
+ #### :house: Internal changes
10
+
11
+ - chore: package.json [Alin Voinea - [`4896c58`](https://github.com/eea/volto-datahub/commit/4896c58f7ce99d247adccb13ddfcf00071cae841)]
12
+
13
+ #### :hammer_and_wrench: Others
14
+
15
+ - add volto-eea-design-system as dependency [Teodor - [`fa4fa9e`](https://github.com/eea/volto-datahub/commit/fa4fa9e2b763b1b9399d728185e6de5a59046d1d)]
16
+ - update Jenkinsfile to skip Volto 16 tests [Teodor - [`426b48f`](https://github.com/eea/volto-datahub/commit/426b48fb0b81f820d051234777ae22d9cff1d397)]
17
+ - Update label [Teodor - [`9bd7ef6`](https://github.com/eea/volto-datahub/commit/9bd7ef6ee7aa9c1af13334f354ac17203599b8f2)]
18
+ ### [2.0.1](https://github.com/eea/volto-datahub/compare/2.0.0...2.0.1) - 7 August 2024
19
+
20
+ #### :hammer_and_wrench: Others
21
+
22
+ - Bump cypress version to fix cypress testing [kreafox - [`e094261`](https://github.com/eea/volto-datahub/commit/e0942614768cf0f349cf8e31744d087d6ea72a55)]
23
+ - Refs #273191 - remove hide condition for type nonGeographicDataset [Tripon Eugen - [`846b4c2`](https://github.com/eea/volto-datahub/commit/846b4c274425fb17d79c8f1ac0a869659cd4c1f8)]
24
+ ## [2.0.0](https://github.com/eea/volto-datahub/compare/1.0.33...2.0.0) - 22 April 2024
8
25
 
9
26
  #### :rocket: New Features
10
27
 
@@ -19,6 +36,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
19
36
 
20
37
  #### :house: Internal changes
21
38
 
39
+ - chore: [JENKINS] Refactor automated testing [valentinab25 - [`8438e52`](https://github.com/eea/volto-datahub/commit/8438e52e811c46aa542a601b75f4198b214b5ffd)]
22
40
  - chore: husky, lint-staged use fixed versions [valentinab25 - [`da129fb`](https://github.com/eea/volto-datahub/commit/da129fb1259a26c87259f380a37db688281b192d)]
23
41
 
24
42
  #### :hammer_and_wrench: Others
@@ -28,6 +46,11 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
28
46
  - remove eslint file from ignoring [Teodor - [`39f6633`](https://github.com/eea/volto-datahub/commit/39f66338f2f7d1797343b88aa20dea9425f37014)]
29
47
  - change eslint rule [Teodor - [`73e4bc2`](https://github.com/eea/volto-datahub/commit/73e4bc217e9aa9804f0f57cf9e3488cb2e1e85b8)]
30
48
  - Ref #263008 [Teodor - [`9d58c52`](https://github.com/eea/volto-datahub/commit/9d58c52b6bc207c5c622c0428be39ae18875cf64)]
49
+ - test: [JENKINS] Use java17 for sonarqube scanner [valentinab25 - [`524fcc6`](https://github.com/eea/volto-datahub/commit/524fcc6a40e1437dac449543607089b4ba4feb21)]
50
+ - test: [JENKINS] Run cypress in started frontend container [valentinab25 - [`98c01ac`](https://github.com/eea/volto-datahub/commit/98c01ac599087cf5a9011d3384483d023a4d12bb)]
51
+ - test: [JENKINS] Add cpu limit on cypress docker [valentinab25 - [`bdcc59c`](https://github.com/eea/volto-datahub/commit/bdcc59c2d4cfd8beba4386d6f23f220c777f0513)]
52
+ - test: [JENKINS] Increase shm-size to cypress docker [valentinab25 - [`5d12d14`](https://github.com/eea/volto-datahub/commit/5d12d1428a547b8628231dc38110a55b806edebb)]
53
+ - test: [JENKINS] Improve cypress time [valentinab25 - [`dba984e`](https://github.com/eea/volto-datahub/commit/dba984e6b840c451b8de15d40de0e49c1dd09a9b)]
31
54
  ### [1.0.32](https://github.com/eea/volto-datahub/compare/1.0.31...1.0.32) - 11 October 2023
32
55
 
33
56
  #### :house: Internal changes
@@ -73,6 +96,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
73
96
  - Fix content type for rss feed [Tiberiu Ichim - [`65b73a7`](https://github.com/eea/volto-datahub/commit/65b73a79d73e626f652716305e80d9a2b017c85c)]
74
97
  - test: EN locales, pre-commit fix, feature PRs checks Refs #257193 [valentinab25 - [`ead1c04`](https://github.com/eea/volto-datahub/commit/ead1c042d1358b385c19ec66ec84d7c736574b1d)]
75
98
  - Added 'DOI' links to datahub [Zoltan Szabo - [`b33a657`](https://github.com/eea/volto-datahub/commit/b33a657096eaec4caa641379e69e941a3b2c1583)]
99
+ - test: Fix eslint and yarn i18n [Alin Voinea - [`39a4a69`](https://github.com/eea/volto-datahub/commit/39a4a695733514890075886753b9d7b91d853646)]
76
100
  - i18n: Add en [Alin Voinea - [`cdb303f`](https://github.com/eea/volto-datahub/commit/cdb303f2ac5e1f9eb22eda46bb58087c62af6ba5)]
77
101
  ### [1.0.27](https://github.com/eea/volto-datahub/compare/1.0.26...1.0.27) - 25 August 2023
78
102
 
@@ -120,6 +144,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
120
144
 
121
145
  #### :house: Internal changes
122
146
 
147
+ - chore: [JENKINS] Deprecate circularity website [valentinab25 - [`e5933ce`](https://github.com/eea/volto-datahub/commit/e5933ce8879d98aabe0bab56980dbd50ce856a36)]
123
148
 
124
149
  #### :hammer_and_wrench: Others
125
150
 
@@ -174,6 +199,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
174
199
  - added utils.js [Zoltan Szabo - [`fdb33c3`](https://github.com/eea/volto-datahub/commit/fdb33c37e1af2fe071dbe8f4f5dcd2b82932edc8)]
175
200
  - Show 'Obsolete' info in the metadata section in the banner [Zoltan Szabo - [`fddfd2a`](https://github.com/eea/volto-datahub/commit/fddfd2aea63d1a1d1567c163ab29dd7119781117)]
176
201
  - Show 'More information' section only if it's not empty [Zoltan Szabo - [`612f035`](https://github.com/eea/volto-datahub/commit/612f03509c6adf143631ae6dee5ca2bd48a501c3)]
202
+ - Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`b9100f6`](https://github.com/eea/volto-datahub/commit/b9100f6b2b2e9e9a26b9c11708c8fda94137cecc)]
177
203
  ### [1.0.15](https://github.com/eea/volto-datahub/compare/1.0.14...1.0.15) - 1 March 2023
178
204
 
179
205
  ### [1.0.14](https://github.com/eea/volto-datahub/compare/1.0.13...1.0.14) - 1 March 2023
@@ -266,9 +292,11 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
266
292
  #### :hammer_and_wrench: Others
267
293
 
268
294
  - Fix eslintrc: add @eeacms/search [kreafox - [`465816f`](https://github.com/eea/volto-datahub/commit/465816feb8f58095ab4b5b3168cd29ebede3a10c)]
295
+ - Use latest Volto before yarn 3 [Tiberiu Ichim - [`69f5859`](https://github.com/eea/volto-datahub/commit/69f585980fd9a38ff99d0c7875704671857720f7)]
269
296
  - Reorder sections on landing page [kreafox - [`46fac8d`](https://github.com/eea/volto-datahub/commit/46fac8d821cf93fe1b2c380380719de130c3f1cb)]
270
297
  - Fix project eslintrc [kreafox - [`5baa150`](https://github.com/eea/volto-datahub/commit/5baa1505ec38ed313269f5608c186c6a6a8bbfc4)]
271
298
  - Open dataset links in new tab [kreafox - [`bbed914`](https://github.com/eea/volto-datahub/commit/bbed914dc2edf6c749d1d73d93a423bc642e680c)]
299
+ - Add Sonarqube tag using circularity-frontend addons list [EEA Jenkins - [`380a2a9`](https://github.com/eea/volto-datahub/commit/380a2a9625c6f799df7a7c343fad3f3b3d959f96)]
272
300
  ## [1.0.0](https://github.com/eea/volto-datahub/compare/0.1.12...1.0.0) - 28 October 2022
273
301
 
274
302
  #### :nail_care: Enhancements
@@ -293,6 +321,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
293
321
  #### :hammer_and_wrench: Others
294
322
 
295
323
  - fixed query for related items [Zoltan Szabo - [`b66faee`](https://github.com/eea/volto-datahub/commit/b66faee1f8a1922cd22b3a36eccc9c7b92e377d4)]
324
+ - Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`158fe1a`](https://github.com/eea/volto-datahub/commit/158fe1a0b1767452e2e51a3e2ef97169589a50e8)]
296
325
  ### [0.1.10](https://github.com/eea/volto-datahub/compare/0.1.9...0.1.10) - 21 September 2022
297
326
 
298
327
  #### :hammer_and_wrench: Others
@@ -381,6 +410,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
381
410
  #### :hammer_and_wrench: Others
382
411
 
383
412
  - Hide questions & fix landing page [kreafox - [`a1ef303`](https://github.com/eea/volto-datahub/commit/a1ef3033df0e84f3a72dd0f984c8717dff2a771c)]
413
+ - Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`910688e`](https://github.com/eea/volto-datahub/commit/910688e3ddf2f8cda4f941595ae9a6ee0ec0ea3b)]
384
414
  ### [0.1.1](https://github.com/eea/volto-datahub/compare/0.1.0...0.1.1) - 10 June 2022
385
415
 
386
416
  ### [0.1.0](https://github.com/eea/volto-datahub/compare/0.0.1...0.1.0) - 9 June 2022
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-datahub",
3
- "version": "2.0.0",
3
+ "version": "2.0.2",
4
4
  "description": "@eeacms/volto-datahub: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: IDM2 A-Team",
@@ -20,12 +20,14 @@
20
20
  "@eeacms/volto-accordion-block": "*",
21
21
  "@eeacms/volto-globalsearch": "*",
22
22
  "@eeacms/volto-listing-block": "*",
23
+ "@eeacms/volto-eea-design-system": "*",
23
24
  "feed": "4.2.2"
24
25
  },
25
26
  "devDependencies": {
26
27
  "@cypress/code-coverage": "^3.10.0",
27
28
  "@plone/scripts": "*",
28
29
  "babel-plugin-transform-class-properties": "^6.24.1",
30
+ "cypress": "13.1.0",
29
31
  "dotenv": "^16.3.2",
30
32
  "husky": "^8.0.3",
31
33
  "lint-staged": "^14.0.1",
@@ -34,7 +36,8 @@
34
36
  "addons": [
35
37
  "@eeacms/volto-globalsearch",
36
38
  "@eeacms/volto-listing-block",
37
- "@eeacms/volto-accordion-block"
39
+ "@eeacms/volto-accordion-block",
40
+ "@eeacms/volto-eea-design-system"
38
41
  ],
39
42
  "lint-staged": {
40
43
  "src/**/*.{js,jsx,ts,tsx,json}": [
@@ -143,7 +143,6 @@ const DatasetItemsList = (props) => {
143
143
  } = dataset;
144
144
  const archived = isObsolete(dataset.cl_status);
145
145
  const active = isActive(id);
146
-
147
146
  return (
148
147
  <>
149
148
  <Accordion id={id} key={index}>
@@ -238,23 +237,21 @@ const DatasetItemsList = (props) => {
238
237
  )}
239
238
  </div>
240
239
 
241
- {dataset.resourceType[0] !== 'nonGeographicDataset' && (
242
- <div className="dataset-pdf">
243
- <div className="d-link">
244
- <Icon className="file pdf" />
245
- <a
246
- target="_blank"
247
- rel="noreferrer"
248
- href={
249
- `${appConfig.indexBaseUrl}/catalogue/datahub/api/records/` +
250
- `${dataset.metadataIdentifier}/formatters/xsl-view?output=pdf&language=eng&approved=true`
251
- }
252
- >
253
- Metadata Factsheet
254
- </a>
255
- </div>
240
+ <div className="dataset-pdf">
241
+ <div className="d-link">
242
+ <Icon className="file pdf" />
243
+ <a
244
+ target="_blank"
245
+ rel="noreferrer"
246
+ href={
247
+ `${appConfig.indexBaseUrl}/catalogue/datahub/api/records/` +
248
+ `${dataset.metadataIdentifier}/formatters/xsl-view?output=pdf&language=eng&approved=true`
249
+ }
250
+ >
251
+ Metadata Factsheet
252
+ </a>
256
253
  </div>
257
- )}
254
+ </div>
258
255
  </div>
259
256
 
260
257
  {!!dataset.link && dataset.link.length > 0 && (
@@ -26,7 +26,7 @@ const DatasetsView = (props) => {
26
26
  groupedByArchivedOrRestricted.length > 0 && (
27
27
  <>
28
28
  <div className="dataset-container">
29
- <h2>Archived or restricted datasets</h2>
29
+ <h2>Superseded or restricted datasets</h2>
30
30
  </div>
31
31
  <DatasetsTab
32
32
  appConfig={appConfig}