aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/projectDump
diff options
context:
space:
mode:
authorstanislavh <stanislav.honcharov@sonarsource.com>2023-03-23 11:36:04 +0100
committersonartech <sonartech@sonarsource.com>2023-03-23 20:02:57 +0000
commit6d5e0d3fc033fca3d7f53ef5a7d3477f47cbfb30 (patch)
tree70ca6f3391630ccbcb1ec3b3c363575d0b9b29ce /server/sonar-web/src/main/js/apps/projectDump
parentb56be3e87801aca786afe1b9df35c5ad4785282c (diff)
downloadsonarqube-6d5e0d3fc033fca3d7f53ef5a7d3477f47cbfb30.tar.gz
sonarqube-6d5e0d3fc033fca3d7f53ef5a7d3477f47cbfb30.zip
SONAR-18768 align the format of all page titles
Diffstat (limited to 'server/sonar-web/src/main/js/apps/projectDump')
-rw-r--r--server/sonar-web/src/main/js/apps/projectDump/ProjectDumpApp.tsx2
-rw-r--r--server/sonar-web/src/main/js/apps/projectDump/__tests__/__snapshots__/ProjectDumpApp-test.tsx.snap18
2 files changed, 20 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/js/apps/projectDump/ProjectDumpApp.tsx b/server/sonar-web/src/main/js/apps/projectDump/ProjectDumpApp.tsx
index c168c6944ac..9e67eeeca00 100644
--- a/server/sonar-web/src/main/js/apps/projectDump/ProjectDumpApp.tsx
+++ b/server/sonar-web/src/main/js/apps/projectDump/ProjectDumpApp.tsx
@@ -18,6 +18,7 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
import * as React from 'react';
+import { Helmet } from 'react-helmet-async';
import { getActivity } from '../../api/ce';
import { getStatus } from '../../api/project-dump';
import withAvailableFeatures, {
@@ -158,6 +159,7 @@ export class ProjectDumpApp extends React.Component<Props, State> {
return (
<div className="page page-limited" id="project-dump">
+ <Helmet defer={false} title={translate('project_dump.page')} />
<header className="page-header">
<h1 className="page-title">{translate('project_dump.page')}</h1>
<div className="page-description">
diff --git a/server/sonar-web/src/main/js/apps/projectDump/__tests__/__snapshots__/ProjectDumpApp-test.tsx.snap b/server/sonar-web/src/main/js/apps/projectDump/__tests__/__snapshots__/ProjectDumpApp-test.tsx.snap
index e176282cfa9..caba04a83e9 100644
--- a/server/sonar-web/src/main/js/apps/projectDump/__tests__/__snapshots__/ProjectDumpApp-test.tsx.snap
+++ b/server/sonar-web/src/main/js/apps/projectDump/__tests__/__snapshots__/ProjectDumpApp-test.tsx.snap
@@ -5,6 +5,12 @@ exports[`should render correctly: loaded 1`] = `
className="page page-limited"
id="project-dump"
>
+ <Helmet
+ defer={false}
+ encodeSpecialCharacters={true}
+ prioritizeSeoTags={false}
+ title="project_dump.page"
+ />
<header
className="page-header"
>
@@ -74,6 +80,12 @@ exports[`should render correctly: loaded without import 1`] = `
className="page page-limited"
id="project-dump"
>
+ <Helmet
+ defer={false}
+ encodeSpecialCharacters={true}
+ prioritizeSeoTags={false}
+ title="project_dump.page"
+ />
<header
className="page-header"
>
@@ -119,6 +131,12 @@ exports[`should render correctly: loading 1`] = `
className="page page-limited"
id="project-dump"
>
+ <Helmet
+ defer={false}
+ encodeSpecialCharacters={true}
+ prioritizeSeoTags={false}
+ title="project_dump.page"
+ />
<header
className="page-header"
>