@eeacms/volto-eea-website-theme 1.9.0 → 1.9.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,6 +4,22 @@ 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.9.2](https://github.com/eea/volto-eea-website-theme/compare/1.9.1...1.9.2) - 7 March 2023
8
+
9
+ #### :rocket: New Features
10
+
11
+ - feat(SEO): Add h1 to frontpage - refs #158717 [Alin Voinea - [`16bf24a`](https://github.com/eea/volto-eea-website-theme/commit/16bf24a70c9273d73a3b8bda18d29c23d172b497)]
12
+
13
+ #### :hammer_and_wrench: Others
14
+
15
+ - Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`6c5e2f8`](https://github.com/eea/volto-eea-website-theme/commit/6c5e2f80456e2061d9e9c15fd0a0b91b9ac70568)]
16
+ ### [1.9.1](https://github.com/eea/volto-eea-website-theme/compare/1.9.0...1.9.1) - 28 February 2023
17
+
18
+ #### :bug: Bug Fixes
19
+
20
+ - fix(search): Fix accessibility for search suggestions #112 from eea/search-accessibility [ichim-david - [`d09551e`](https://github.com/eea/volto-eea-website-theme/commit/d09551e14ca630c2f0c93345c94a1c367e9d8bec)]
21
+ - fix(search): Fix accessibility for search suggestions [kreafox - [`037cb79`](https://github.com/eea/volto-eea-website-theme/commit/037cb7941755de82cebc8168fdca4cced80f2806)]
22
+
7
23
  ### [1.9.0](https://github.com/eea/volto-eea-website-theme/compare/1.8.2...1.9.0) - 21 February 2023
8
24
 
9
25
  #### :rocket: New Features
@@ -143,6 +159,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
143
159
 
144
160
  - For some reasons types is a string [Alin Voinea - [`3769a09`](https://github.com/eea/volto-eea-website-theme/commit/3769a0981181d5b633f3498daebbe96be8b4b833)]
145
161
  - Fix(redirect): o.filter - refs #157627 [Alin Voinea - [`deb23da`](https://github.com/eea/volto-eea-website-theme/commit/deb23da846444cc96539697fd798429ae0abe89e)]
162
+ - Add Sonarqube tag using advisory-board-frontend addons list [EEA Jenkins - [`f1fffc5`](https://github.com/eea/volto-eea-website-theme/commit/f1fffc5db96725440863d545580b4e76cce4b796)]
146
163
  ### [1.5.0](https://github.com/eea/volto-eea-website-theme/compare/1.4.2...1.5.0) - 9 January 2023
147
164
 
148
165
  #### :hammer_and_wrench: Others
@@ -176,6 +193,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
176
193
 
177
194
  - Release 1.4.0 [Alin Voinea - [`bd42a0d`](https://github.com/eea/volto-eea-website-theme/commit/bd42a0d26e928cac5d99933194755da3db06b341)]
178
195
  - bump version to use as volto-eea-design-system [David Ichim - [`f4be047`](https://github.com/eea/volto-eea-website-theme/commit/f4be047328b46399b03b612d378b18aaf82e7dc1)]
196
+ - Add Sonarqube tag using advisory-board-frontend addons list [EEA Jenkins - [`9b7cfef`](https://github.com/eea/volto-eea-website-theme/commit/9b7cfefb4d34fc1c948015e491feb370f9795bd8)]
179
197
  - test(Jenkins): Run tests and cypress with latest canary @plone/volto [Alin Voinea - [`df252a9`](https://github.com/eea/volto-eea-website-theme/commit/df252a9bfed0bb86cadf53c59dd1603b1e2cd822)]
180
198
  ### [1.3.2](https://github.com/eea/volto-eea-website-theme/compare/1.3.1...1.3.2) - 16 December 2022
181
199
 
@@ -185,6 +203,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
185
203
 
186
204
  #### :hammer_and_wrench: Others
187
205
 
206
+ - Add Sonarqube tag using cca-frontend addons list [EEA Jenkins - [`a43c658`](https://github.com/eea/volto-eea-website-theme/commit/a43c658a7920c8df95e763b9a637f38ce77eba2c)]
188
207
  - Better razzle.config [Tiberiu Ichim - [`81dbf48`](https://github.com/eea/volto-eea-website-theme/commit/81dbf48815fb27facb4f82c9b764540fdf188b2e)]
189
208
  - Better razzle.config [Tiberiu Ichim - [`7bc9da2`](https://github.com/eea/volto-eea-website-theme/commit/7bc9da2cd837ab62a95cd29979cdd9b0055b7d67)]
190
209
  ### [1.3.1](https://github.com/eea/volto-eea-website-theme/compare/1.3.0...1.3.1) - 28 November 2022
@@ -193,6 +212,9 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
193
212
 
194
213
  - feat(Footer): Bring back footer contacts extra actions - refs #151856 [Alin Voinea - [`6c19413`](https://github.com/eea/volto-eea-website-theme/commit/6c194139420c9fd847692d180db1c1593e2483de)]
195
214
 
215
+ #### :hammer_and_wrench: Others
216
+
217
+ - yarn 3 [Alin Voinea - [`ea7a709`](https://github.com/eea/volto-eea-website-theme/commit/ea7a7094945312776e9b6f44e371178603e92139)]
196
218
  ### [1.3.0](https://github.com/eea/volto-eea-website-theme/compare/1.2.0...1.3.0) - 22 November 2022
197
219
 
198
220
  #### :rocket: New Features
@@ -233,6 +255,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
233
255
  - Add subsite class to body [Tiberiu Ichim - [`74d700f`](https://github.com/eea/volto-eea-website-theme/commit/74d700fbfd6249a8604762a7e4e49cce857db0f3)]
234
256
  - Add subsite info to header [Tiberiu Ichim - [`47daf8b`](https://github.com/eea/volto-eea-website-theme/commit/47daf8bb6374a1222040626b19d4154df7ba1b83)]
235
257
  - fix eslint [Miu Razvan - [`eb8d0a7`](https://github.com/eea/volto-eea-website-theme/commit/eb8d0a790bc70c0aae256c6ff35f63c4885f338e)]
258
+ - Add Sonarqube tag using circularity-frontend addons list [EEA Jenkins - [`cc578a4`](https://github.com/eea/volto-eea-website-theme/commit/cc578a413b205a8e61e091fab3a88f94cedefc89)]
236
259
  ### [1.1.0](https://github.com/eea/volto-eea-website-theme/compare/1.0.0...1.1.0) - 28 October 2022
237
260
 
238
261
  #### :nail_care: Enhancements
@@ -280,6 +303,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
280
303
 
281
304
  #### :hammer_and_wrench: Others
282
305
 
306
+ - Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`33b56ac`](https://github.com/eea/volto-eea-website-theme/commit/33b56acb13fbaf0c5b79e8fc6e13c4b699c79c90)]
283
307
  ### [0.7.3](https://github.com/eea/volto-eea-website-theme/compare/0.7.2...0.7.3) - 22 September 2022
284
308
 
285
309
  #### :hammer_and_wrench: Others
@@ -547,6 +571,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
547
571
  - Header refactor, add custom logo #5 [ichim-david - [`4950235`](https://github.com/eea/volto-eea-website-theme/commit/49502358105437cfeac3b144e6d301cb59aa2346)]
548
572
  - Update footer.config with new publication card component [ichim-david - [`2e38e9a`](https://github.com/eea/volto-eea-website-theme/commit/2e38e9a417f835009d60c80d4eb4b30229f55e45)]
549
573
  - feature(breadcrumbs): implement eea-design-system breadcrumb as Volto component #32 #7 [ichim-david - [`181af41`](https://github.com/eea/volto-eea-website-theme/commit/181af4125ce2b9ddac56dab4723cb11c26633221)]
574
+ - Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`da8ceb6`](https://github.com/eea/volto-eea-website-theme/commit/da8ceb68ea68bfbc9504e48ccd4d68277f11ab9a)]
550
575
  - use breadcrumbs from eea-design-system [nileshgulia1 - [`db2f9e9`](https://github.com/eea/volto-eea-website-theme/commit/db2f9e9a4327420a3cce9a9903cd88549b129eab)]
551
576
  - Update theme.config [ichim-david - [`8eca4f4`](https://github.com/eea/volto-eea-website-theme/commit/8eca4f40397a4aeca6d39029c92db78968d37064)]
552
577
  - Added keyContent component to theme.config [ichim-david - [`d86f202`](https://github.com/eea/volto-eea-website-theme/commit/d86f202d0274d839487a88b51cae9a0e899beb23)]
@@ -588,4 +613,5 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
588
613
 
589
614
  #### :hammer_and_wrench: Others
590
615
 
616
+ - yarn bootstrap [Alin Voinea - [`6995e9e`](https://github.com/eea/volto-eea-website-theme/commit/6995e9e091f21fdbbdffa8a44fc0e2c626f6d46a)]
591
617
  - Initial commit [Alin Voinea - [`6a9c03a`](https://github.com/eea/volto-eea-website-theme/commit/6a9c03a7cebe71ca87e82cf58c42904063e9d8d3)]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-eea-website-theme",
3
- "version": "1.9.0",
3
+ "version": "1.9.2",
4
4
  "description": "@eeacms/volto-eea-website-theme: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: IDM2 A-Team",
@@ -5,7 +5,6 @@
5
5
 
6
6
  import React from 'react';
7
7
  import PropTypes from 'prop-types';
8
-
9
8
  import { DefaultView } from '@plone/volto/components/';
10
9
 
11
10
  import { BodyClass } from '@plone/volto/helpers';
@@ -22,6 +21,7 @@ const HomePageInverseView = ({ content }) => {
22
21
  return hasBlocksData(content) ? (
23
22
  <>
24
23
  <BodyClass className="homepage homepage-inverse" />
24
+ <h1 className="hiddenStructure">{content.title}</h1>
25
25
  <DefaultView content={content} />
26
26
  </>
27
27
  ) : null;
@@ -5,7 +5,6 @@
5
5
 
6
6
  import React from 'react';
7
7
  import PropTypes from 'prop-types';
8
-
9
8
  import { DefaultView } from '@plone/volto/components/';
10
9
 
11
10
  import { BodyClass } from '@plone/volto/helpers';
@@ -22,6 +21,7 @@ const HomePageView = ({ content }) => {
22
21
  return hasBlocksData(content) ? (
23
22
  <>
24
23
  <BodyClass className="homepage" />
24
+ <h1 className="hiddenStructure">{content.title}</h1>
25
25
  <DefaultView content={content} />
26
26
  </>
27
27
  ) : null;
@@ -1,6 +1,6 @@
1
1
  import React, { useEffect } from 'react';
2
2
  import { Container, Input, List } from 'semantic-ui-react';
3
- import { withRouter } from 'react-router-dom';
3
+ import { withRouter, Link } from 'react-router-dom';
4
4
  import { useClickOutside } from '@eeacms/volto-eea-design-system/helpers';
5
5
  import config from '@plone/volto/registry';
6
6
 
@@ -63,8 +63,6 @@ function HeaderSearchPopUp({
63
63
  };
64
64
 
65
65
  const onClickHandler = (suggestion) => {
66
- history.push(`${path}?q=${suggestion}`);
67
-
68
66
  if (window?.searchContext?.resetSearch) {
69
67
  window.searchContext.resetSearch({ searchTerm: suggestion });
70
68
  }
@@ -97,8 +95,13 @@ function HeaderSearchPopUp({
97
95
  <List>
98
96
  {visibleSuggestions.map((item, i) => {
99
97
  return (
100
- <List.Item key={i} onClick={() => onClickHandler(item)}>
101
- {item}
98
+ <List.Item key={i}>
99
+ <Link
100
+ to={`${path}?q=${item}`}
101
+ onClick={() => onClickHandler(item)}
102
+ >
103
+ {item}
104
+ </Link>
102
105
  </List.Item>
103
106
  );
104
107
  })}
@@ -212,7 +212,14 @@ const EEAHeader = ({ pathname, token, items, history, subsite }) => {
212
212
 
213
213
  {!!subsite && subsite.title && (
214
214
  <UniversalLink item={subsite} className="subsite-logo">
215
- {subsite.title}
215
+ {subsite.subsite_logo ? (
216
+ <Image
217
+ src={subsite.subsite_logo.scales.mini.download}
218
+ alt={subsite.title}
219
+ />
220
+ ) : (
221
+ subsite.title
222
+ )}
216
223
  </UniversalLink>
217
224
  )}
218
225
  </div>