@eeacms/volto-cca-policy 0.2.49 → 0.2.51

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,13 @@ 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
+ ### [0.2.51](https://github.com/eea/volto-cca-policy/compare/0.2.50...0.2.51) - 9 July 2024
8
+
9
+ #### :hammer_and_wrench: Others
10
+
11
+ - Refs #271901 - mission all facets [Tripon Eugen - [`a01f961`](https://github.com/eea/volto-cca-policy/commit/a01f9611bfd30dc02bc14a5fcf78d12ed3908780)]
12
+ ### [0.2.50](https://github.com/eea/volto-cca-policy/compare/0.2.49...0.2.50) - 9 July 2024
13
+
7
14
  ### [0.2.49](https://github.com/eea/volto-cca-policy/compare/0.2.48...0.2.49) - 8 July 2024
8
15
 
9
16
  #### :hammer_and_wrench: Others
@@ -1431,10 +1438,13 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
1431
1438
  - Refs #260715 rast-block wip [Tripon Eugen - [`f19d54e`](https://github.com/eea/volto-cca-policy/commit/f19d54e0b9a6a86bf344eb85b6a1cda7f3de91bf)]
1432
1439
  - Refs #260715 rast-block wip [Tripon Eugen - [`2828537`](https://github.com/eea/volto-cca-policy/commit/2828537b6c084cd1a82162d552fb4ef025b71f9f)]
1433
1440
  - Refs #260715 rast-block updates [Tripon Eugen - [`1e803e5`](https://github.com/eea/volto-cca-policy/commit/1e803e5bd3d3fb7558f261c76c68866be7beb8b5)]
1441
+ - test: [JENKINS] Use java17 for sonarqube scanner [valentinab25 - [`0a15e1b`](https://github.com/eea/volto-cca-policy/commit/0a15e1b2ad081233685e80d5b3c60a8663f6b896)]
1442
+ - test: [JENKINS] Run cypress in started frontend container [valentinab25 - [`9554e44`](https://github.com/eea/volto-cca-policy/commit/9554e44c92a621a52b2adb5a4830fb084ee5734b)]
1434
1443
  ### [0.1.49](https://github.com/eea/volto-cca-policy/compare/0.1.48...0.1.49) - 15 November 2023
1435
1444
 
1436
1445
  #### :house: Internal changes
1437
1446
 
1447
+ - chore: [JENKINS] Refactor automated testing [valentinab25 - [`7b820a6`](https://github.com/eea/volto-cca-policy/commit/7b820a6369c2ddd5203b1a4abe352cb4bb43db7a)]
1438
1448
  - chore: husky, lint-staged use fixed versions [valentinab25 - [`f0a8061`](https://github.com/eea/volto-cca-policy/commit/f0a8061c275c236deb00087c23fac9860a073106)]
1439
1449
 
1440
1450
  #### :hammer_and_wrench: Others
@@ -1451,6 +1461,9 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
1451
1461
  - Refs #259267 - jenkins test [Tripon Eugen - [`cacd31e`](https://github.com/eea/volto-cca-policy/commit/cacd31e7b1afe0983674ed5c7632d2e1d7fa752e)]
1452
1462
  - Refs #259267 - jenkins [Tripon Eugen - [`5b3affe`](https://github.com/eea/volto-cca-policy/commit/5b3affee8401239de10097884c1b7f2349d15ec0)]
1453
1463
  - Refs #259267 - add When, lead image and title to files [Tripon Eugen - [`2cedb23`](https://github.com/eea/volto-cca-policy/commit/2cedb237f898af9057e13fba94b615ef71077204)]
1464
+ - test: [JENKINS] Add cpu limit on cypress docker [valentinab25 - [`4d607a5`](https://github.com/eea/volto-cca-policy/commit/4d607a576e9d0a5c34e48c41b409e7df616ee3d6)]
1465
+ - test: [JENKINS] Increase shm-size to cypress docker [valentinab25 - [`b7f74d5`](https://github.com/eea/volto-cca-policy/commit/b7f74d53513a6edbfbca5cb6d19687929bb1e5db)]
1466
+ - test: [JENKINS] Improve cypress time [valentinab25 - [`db65617`](https://github.com/eea/volto-cca-policy/commit/db656173391f65157098d95d388c25f6429753d8)]
1454
1467
  - Refs #259267 - cca event blocks attachments and check not mandatoty fields [Tripon Eugen - [`3138e5a`](https://github.com/eea/volto-cca-policy/commit/3138e5afb5bfbdbed14e27ed457b16867b7fa414)]
1455
1468
  - Refs #256681 - Fix error in CCA Event view menu. ([React Intl] An id must be provided to format a message.) [GhitaB - [`517eeb8`](https://github.com/eea/volto-cca-policy/commit/517eeb817264a47bbfd6b9b7d22aaf22d44ed224)]
1456
1469
  - Refs #161485 - Fix ECDE name conflict. [GhitaB - [`8bfd99f`](https://github.com/eea/volto-cca-policy/commit/8bfd99ff68bb82a04d1c0ed625fa514fcf46289e)]
@@ -1667,6 +1680,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
1667
1680
 
1668
1681
  #### :house: Internal changes
1669
1682
 
1683
+ - chore: [JENKINS] Remove alpha testing version [valentinab25 - [`ad1ced0`](https://github.com/eea/volto-cca-policy/commit/ad1ced0971ba116c13a3b5fcc039172cc915c919)]
1670
1684
 
1671
1685
  #### :hammer_and_wrench: Others
1672
1686
 
@@ -2147,6 +2161,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
2147
2161
  #### :hammer_and_wrench: Others
2148
2162
 
2149
2163
  - Refs #158294 - Update supported languages list. [GhitaB - [`0a4f91f`](https://github.com/eea/volto-cca-policy/commit/0a4f91f39b7edc367bd4c127d6a8f273c7788361)]
2164
+ - Add Sonarqube tag using cca-frontend addons list [EEA Jenkins - [`8f1f9ce`](https://github.com/eea/volto-cca-policy/commit/8f1f9ce6c22805670cc0800d3c779b6d619d0f31)]
2150
2165
  ### [0.1.1](https://github.com/eea/volto-cca-policy/compare/0.1.0...0.1.1) - 13 December 2022
2151
2166
 
2152
2167
  #### :hammer_and_wrench: Others
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-cca-policy",
3
- "version": "0.2.49",
3
+ "version": "0.2.51",
4
4
  "description": "@eeacms/volto-cca-policy: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: IDM2 A-Team",
@@ -51,26 +51,52 @@ export default function installMainSearch(config) {
51
51
  // cca_include_in_mission: 'true',
52
52
  // },
53
53
  // });
54
+
55
+ missionAll.permanentFilters.push({
56
+ term: {
57
+ cluster_name: 'cca',
58
+ },
59
+ });
60
+ // missionAll.permanentFilters.push({
61
+ // prefix: {
62
+ // 'id.keyword': 'https://climate-adapt.eea.europa.eu/en/mission',
63
+ // },
64
+ // });
65
+
54
66
  missionAll.permanentFilters.push({
55
67
  bool: {
56
68
  should: [
57
- {
58
- terms: {
59
- objectProvides: [
60
- 'Mission tool',
61
- 'Mission story',
62
- 'Funding oportunity',
63
- ],
64
- },
65
- },
69
+ // {
70
+ // terms: {
71
+ // objectProvides: [
72
+ // 'Funding oportunity',
73
+ // 'Mission tool',
74
+ // 'Mission story',
75
+ // 'News',
76
+ // 'Events',
77
+ // 'Webpage',
78
+ // // '',
79
+ // // 'Adaptation option',
80
+ // // 'Case study',
81
+ // // 'Guidance',
82
+ // // 'Video',
83
+ // // 'Indicator',
84
+ // // 'Information portal',
85
+ // // 'Organisation',
86
+ // // 'Publication reference',
87
+ // // 'Research and knowledge project',
88
+ // // 'Tool',
89
+ // ],
90
+ // },
91
+ // },
66
92
  {
67
93
  term: {
68
94
  cca_include_in_mission: 'true',
69
95
  },
70
96
  },
71
97
  {
72
- term: {
73
- id: 'https://climate-adapt.eea.europa.eu/en/mission/*',
98
+ prefix: {
99
+ 'id.keyword': 'https://climate-adapt.eea.europa.eu/en/mission',
74
100
  },
75
101
  },
76
102
  ],
@@ -1,23 +1,15 @@
1
+ import globalSearchBaseConfig from '@eeacms/volto-globalsearch/config/global-search-base-config.js';
1
2
  import { multiTermFacet } from '@eeacms/search';
2
3
  import {
3
- include_archived,
4
- objectProvides,
5
- language,
6
- issued_date,
4
+ // objectProvides,
5
+ // language,
7
6
  geographic_countries,
8
7
  cca_climate_impacts,
9
8
  cca_adaptation_sectors,
10
9
  } from '../common';
11
10
 
12
11
  const facets = [
13
- multiTermFacet({
14
- field: 'cca_funding_programme.keyword',
15
- isFilterable: false,
16
- isMulti: true,
17
- label: 'Funding Programme',
18
- iconsFamily: 'Funding Programme',
19
- alwaysVisible: false,
20
- }),
12
+ ...globalSearchBaseConfig.facets,
21
13
  cca_climate_impacts,
22
14
  cca_adaptation_sectors,
23
15
  multiTermFacet({
@@ -28,10 +20,8 @@ const facets = [
28
20
  alwaysVisible: false,
29
21
  }),
30
22
  geographic_countries,
31
- include_archived,
32
- issued_date,
33
- language,
34
- objectProvides,
23
+ // language,
24
+ // objectProvides,
35
25
  ];
36
26
 
37
27
  export default facets;