@eeacms/volto-cca-policy 0.2.17 → 0.2.18

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.18](https://github.com/eea/volto-cca-policy/compare/0.2.17...0.2.18) - 7 May 2024
8
+
9
+ #### :nail_care: Enhancements
10
+
11
+ - change(blocks): Increase number of columns for teaser block [kreafox - [`52f863e`](https://github.com/eea/volto-cca-policy/commit/52f863e118fc8e2530f1a38d073b0c1533df18d6)]
12
+ - change(mission): remove thumbnail from mission tools search result [kreafox - [`be460b3`](https://github.com/eea/volto-cca-policy/commit/be460b3c6bc3762f720e0718b56bf29104d8b2a6)]
13
+
7
14
  ### [0.2.17](https://github.com/eea/volto-cca-policy/compare/0.2.16...0.2.17) - 2 May 2024
8
15
 
9
16
  ### [0.2.16](https://github.com/eea/volto-cca-policy/compare/0.2.15...0.2.16) - 2 May 2024
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-cca-policy",
3
- "version": "0.2.17",
3
+ "version": "0.2.18",
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",
package/src/index.js CHANGED
@@ -257,7 +257,7 @@ const applyConfig = (config) => {
257
257
 
258
258
  config.blocks.blocksConfig.__grid = {
259
259
  ...config.blocks.blocksConfig.__grid,
260
- maxNumberOfColumns: 5,
260
+ maxNumberOfColumns: 7,
261
261
  };
262
262
 
263
263
  config.blocks.blocksConfig.nextCloudVideo = {
@@ -1,5 +1,6 @@
1
1
  import { mergeConfig } from '@eeacms/search';
2
- import { getClientProxyAddress, getSearchThumbUrl } from '../utils';
2
+ import { getClientProxyAddress } from '../utils';
3
+
3
4
  import facets from './facets-tools';
4
5
 
5
6
  const missionToolsConfig = {
@@ -37,21 +38,5 @@ export default function installMissionToolsSearch(config) {
37
38
  process.env.RAZZLE_ES_PROXY_ADDR || getClientProxyAddress();
38
39
  }
39
40
 
40
- missionToolsSearch.resultItemModel = {
41
- factory: 'ResultModel',
42
- urlField: 'about',
43
- titleField: 'title',
44
- metatypeField: 'objectProvides',
45
- descriptionField: 'description',
46
- tagsField: 'topic',
47
- issuedField: 'issued',
48
- getThumbnailUrl: 'getSearchThumbUrl',
49
- getIconUrl: 'getGlobalsearchIconUrl',
50
- fallbackThumbUrl:
51
- 'https://react.semantic-ui.com/images/wireframe/white-image.png',
52
- };
53
-
54
- config.resolve.getSearchThumbUrl = getSearchThumbUrl();
55
-
56
41
  return config;
57
42
  }