diff --git a/frontend/src/component/admin/auth/AuthSettings.tsx b/frontend/src/component/admin/auth/AuthSettings.tsx index 3f9629c1ede2..af024707dca4 100644 --- a/frontend/src/component/admin/auth/AuthSettings.tsx +++ b/frontend/src/component/admin/auth/AuthSettings.tsx @@ -12,6 +12,7 @@ import { ADMIN } from '@server/types/permissions'; import { PremiumFeature } from 'component/common/PremiumFeature/PremiumFeature'; import { useState } from 'react'; import { TabPanel } from 'component/common/TabNav/TabPanel/TabPanel'; +import { usePageTitle } from 'hooks/usePageTitle'; export const AuthSettings = () => { const { authenticationType } = useUiConfig().uiConfig; @@ -46,6 +47,7 @@ export const AuthSettings = () => { } const [activeTab, setActiveTab] = useState(0); + usePageTitle(`Single sign-on: ${tabs[activeTab].label}`); return (
diff --git a/frontend/src/component/admin/roles/RolesPage.tsx b/frontend/src/component/admin/roles/RolesPage.tsx index 4299b0a48ae8..84813c8c94b1 100644 --- a/frontend/src/component/admin/roles/RolesPage.tsx +++ b/frontend/src/component/admin/roles/RolesPage.tsx @@ -14,6 +14,7 @@ import Add from '@mui/icons-material/Add'; import ResponsiveButton from 'component/common/ResponsiveButton/ResponsiveButton'; import type { IRole } from 'interfaces/role'; import { TabLink } from 'component/common/TabNav/TabLink'; +import { usePageTitle } from 'hooks/usePageTitle'; const StyledHeader = styled('div')(() => ({ display: 'flex', @@ -31,6 +32,7 @@ const StyledActions = styled('div')({ }); export const RolesPage = () => { + usePageTitle('Roles'); const { pathname } = useLocation(); const { roles, projectRoles, loading } = useRoles(); diff --git a/frontend/src/component/featureTypes/FeatureTypesList.tsx b/frontend/src/component/featureTypes/FeatureTypesList.tsx index 6190f78740e7..2d9f3953bcde 100644 --- a/frontend/src/component/featureTypes/FeatureTypesList.tsx +++ b/frontend/src/component/featureTypes/FeatureTypesList.tsx @@ -5,7 +5,7 @@ import { sortTypes } from 'utils/sortTypes'; import { PageContent } from 'component/common/PageContent/PageContent'; import useFeatureTypes from 'hooks/api/getters/useFeatureTypes/useFeatureTypes'; import { PageHeader } from 'component/common/PageHeader/PageHeader'; -import { Box, Typography } from '@mui/material'; +import { Box } from '@mui/material'; import { Table, TableBody, @@ -150,18 +150,7 @@ export const FeatureTypesList = () => { return ( - ({ - fontSize: theme.fontSizes.mainHeader, - })} - > - Feature flag types - - - } + header={} > diff --git a/frontend/src/component/insights/components/InsightsHeader/InsightsHeader.tsx b/frontend/src/component/insights/components/InsightsHeader/InsightsHeader.tsx index 7a2dee00e29e..b9e5e07ac123 100644 --- a/frontend/src/component/insights/components/InsightsHeader/InsightsHeader.tsx +++ b/frontend/src/component/insights/components/InsightsHeader/InsightsHeader.tsx @@ -69,6 +69,7 @@ export const InsightsHeader: VFC = ({ actions }) => { return ( <> ({ display: 'flex', @@ -103,9 +104,10 @@ export const PersonalDashboard = () => { const { trackEvent } = usePlausibleTracker(); const { setSplashSeen } = useSplashApi(); const { splash } = useAuthSplash(); - const name = user?.name; + usePageTitle(`Dashboard: ${name}`); + const { personalDashboard, refetch: refetchDashboard } = usePersonalDashboard(); diff --git a/frontend/src/component/strategies/StrategiesList/StrategiesList.tsx b/frontend/src/component/strategies/StrategiesList/StrategiesList.tsx index 0ee82dba8ea0..06593e98e03f 100644 --- a/frontend/src/component/strategies/StrategiesList/StrategiesList.tsx +++ b/frontend/src/component/strategies/StrategiesList/StrategiesList.tsx @@ -397,9 +397,10 @@ export const StrategiesList = () => { - - + } + title='Strategy types' + /> } >