@eeacms/volto-datahub 1.0.7 → 1.0.8
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,11 +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.0.
|
|
7
|
+
### [1.0.8](https://github.com/eea/volto-datahub/compare/1.0.7...1.0.8) - 16 January 2023
|
|
8
8
|
|
|
9
9
|
#### :hammer_and_wrench: Others
|
|
10
10
|
|
|
11
|
-
-
|
|
11
|
+
- Add landing page URL [kreafox - [`cabfca0`](https://github.com/eea/volto-datahub/commit/cabfca0fedb05292e11de374054d5cb22f2ef27a)]
|
|
12
|
+
- Add active section class [kreafox - [`4d2c480`](https://github.com/eea/volto-datahub/commit/4d2c4803351f78c490a4c23ef462a8b55156abbf)]
|
|
13
|
+
- updated on facets and landing page [Zoltan Szabo - [`a9c2995`](https://github.com/eea/volto-datahub/commit/a9c2995218eabefbe928cd0b083f68dbf96e5329)]
|
|
14
|
+
### [1.0.7](https://github.com/eea/volto-datahub/compare/1.0.6...1.0.7) - 12 January 2023
|
|
15
|
+
|
|
12
16
|
### [1.0.6](https://github.com/eea/volto-datahub/compare/1.0.5...1.0.6) - 6 January 2023
|
|
13
17
|
|
|
14
18
|
#### :hammer_and_wrench: Others
|
package/package.json
CHANGED
|
@@ -176,7 +176,7 @@ const LandingPage = (props) => {
|
|
|
176
176
|
render: () => {
|
|
177
177
|
return (
|
|
178
178
|
<Tab.Pane>
|
|
179
|
-
<div className=
|
|
179
|
+
<div className={`landing-page-cards ${activeSection}`}>
|
|
180
180
|
<List>
|
|
181
181
|
{sortedTiles(tiles, activeSectionConfig, appConfig).map(
|
|
182
182
|
(topic, index) => {
|
package/src/config/facets.js
CHANGED
|
@@ -11,9 +11,10 @@ const facets = [
|
|
|
11
11
|
field: 'instrument',
|
|
12
12
|
isFilterable: true,
|
|
13
13
|
isMulti: true,
|
|
14
|
-
label: '
|
|
14
|
+
label: 'Legislation',
|
|
15
15
|
show: 10000,
|
|
16
16
|
showAllOptions: true, // show all options (even if 0) in modal facet
|
|
17
|
+
alwaysVisible: true,
|
|
17
18
|
}),
|
|
18
19
|
multiTermFacet({
|
|
19
20
|
field: 'rod',
|
|
@@ -39,6 +40,7 @@ const facets = [
|
|
|
39
40
|
label: 'Available formats',
|
|
40
41
|
show: 10000,
|
|
41
42
|
showAllOptions: true, // show all options (even if 0) in modal facet
|
|
43
|
+
alwaysVisible: true,
|
|
42
44
|
}),
|
|
43
45
|
multiTermFacet({
|
|
44
46
|
field: 'gemet',
|
package/src/config/views.js
CHANGED
|
@@ -27,10 +27,16 @@ export default {
|
|
|
27
27
|
},
|
|
28
28
|
{
|
|
29
29
|
id: 'instrument',
|
|
30
|
-
title: '
|
|
30
|
+
title: 'Legislation',
|
|
31
31
|
facetField: 'instrument',
|
|
32
32
|
sortOn: 'alpha',
|
|
33
33
|
},
|
|
34
|
+
{
|
|
35
|
+
id: 'formats',
|
|
36
|
+
title: 'Formats',
|
|
37
|
+
facetField: 'dataset_formats',
|
|
38
|
+
sortOn: 'alpha',
|
|
39
|
+
},
|
|
34
40
|
{
|
|
35
41
|
id: 'website',
|
|
36
42
|
title: 'Sources',
|
package/src/index.js
CHANGED
|
@@ -31,6 +31,7 @@ const applyConfig = (config) => {
|
|
|
31
31
|
datahub.showPromptQueries = false;
|
|
32
32
|
datahub.requestBodyModifiers.push(tweakForNLPService);
|
|
33
33
|
datahub.indexBaseUrl = 'https://sdi.eea.europa.eu';
|
|
34
|
+
datahub.landingPageURL = '/en/datahub';
|
|
34
35
|
// datahub.resultViews[0].factories.item = "DatahubListingViewItem"
|
|
35
36
|
datahub.resultItemModel.factory = 'DatahubResultModel';
|
|
36
37
|
|