diff --git a/package.json b/package.json index a813acde5e..22dec36b7a 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,8 @@ "json-file-plus": "3.2.0", "package-json": "5.0.0", "passport": "0.4.0", - "passport-local": "1.0.0" + "passport-local": "1.0.0", + "react-helmet": "5.2.0" }, "devDependencies": { "@babel/core": "7.2.2", diff --git a/src/dashboard/Dashboard.js b/src/dashboard/Dashboard.js index c6530d170d..e48e93cd1a 100644 --- a/src/dashboard/Dashboard.js +++ b/src/dashboard/Dashboard.js @@ -53,6 +53,7 @@ import { } from 'react-router'; import { Route, Redirect } from 'react-router-dom'; import createClass from 'create-react-class'; +import { Helmet } from 'react-helmet'; const ShowSchemaOverview = false; //In progress features. Change false to true to work on this feature. @@ -257,7 +258,7 @@ export default class Dashboard extends React.Component { - + ( )} /> @@ -266,7 +267,7 @@ export default class Dashboard extends React.Component { /> - + @@ -301,6 +302,9 @@ export default class Dashboard extends React.Component { return (
+ + Parse Dashboard + diff --git a/src/dashboard/Data/Browser/Browser.react.js b/src/dashboard/Data/Browser/Browser.react.js index f57f5bfadf..4cf68bd2cf 100644 --- a/src/dashboard/Data/Browser/Browser.react.js +++ b/src/dashboard/Data/Browser/Browser.react.js @@ -33,6 +33,7 @@ import styles from 'dashboard/Data/Browser/Browser.s import subscribeTo from 'lib/subscribeTo'; import * as ColumnPreferences from 'lib/ColumnPreferences'; import * as queryString from 'query-string'; +import { Helmet } from 'react-helmet'; export default @subscribeTo('Schema', 'schema') @@ -1031,6 +1032,7 @@ class Browser extends DashboardView { } let notification = null; + const pageTitle = `${this.props.params.className} - Parse Dashboard`; if (this.state.lastError) { notification = ( @@ -1043,6 +1045,9 @@ class Browser extends DashboardView { } return (
+ + {pageTitle} + {browser} {notification} {extras}