@eeacms/volto-cca-policy 0.2.16 → 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,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
|
+
### [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
|
+
|
|
14
|
+
### [0.2.17](https://github.com/eea/volto-cca-policy/compare/0.2.16...0.2.17) - 2 May 2024
|
|
15
|
+
|
|
7
16
|
### [0.2.16](https://github.com/eea/volto-cca-policy/compare/0.2.15...0.2.16) - 2 May 2024
|
|
8
17
|
|
|
9
18
|
### [0.2.15](https://github.com/eea/volto-cca-policy/compare/0.2.14...0.2.15) - 2 May 2024
|
package/package.json
CHANGED
|
@@ -7,15 +7,14 @@ export function RedirectBlockDetails({ data }) {
|
|
|
7
7
|
return (
|
|
8
8
|
<div className="redirect-block">
|
|
9
9
|
<h5>Redirection block</h5>
|
|
10
|
-
<
|
|
10
|
+
<p className="discreet">
|
|
11
11
|
Anonymous users will be automatically redirected to this target:
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
)}
|
|
12
|
+
{data?.href?.length > 0 && (
|
|
13
|
+
<UniversalLink item={data.href[0]}>
|
|
14
|
+
{flattenToAppURL(data.href[0]['title'])}
|
|
15
|
+
</UniversalLink>
|
|
16
|
+
)}
|
|
17
|
+
</p>
|
|
19
18
|
</div>
|
|
20
19
|
);
|
|
21
20
|
}
|
package/src/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { mergeConfig } from '@eeacms/search';
|
|
2
|
-
import { getClientProxyAddress
|
|
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
|
}
|