diff --git a/workspaces/frontend/src/app/AppRoutes.tsx b/workspaces/frontend/src/app/AppRoutes.tsx
index db9193d0..a84c0064 100644
--- a/workspaces/frontend/src/app/AppRoutes.tsx
+++ b/workspaces/frontend/src/app/AppRoutes.tsx
@@ -1,7 +1,7 @@
import * as React from 'react';
import { Route, Routes } from 'react-router-dom';
import { NotFound } from './pages/notFound/NotFound';
-import { Settings } from './pages/Settings/Settings';
+import { Debug } from './pages/Debug/Debug';
import { Workspaces } from './pages/Workspaces/Workspaces';
export const isNavDataGroup = (navItem: NavDataItem): navItem is NavDataGroup =>
@@ -21,7 +21,7 @@ export type NavDataGroup = NavDataCommon & {
type NavDataItem = NavDataHref | NavDataGroup;
-export const useAdminSettings = (): NavDataItem[] => {
+export const useAdminDebugSettings = (): NavDataItem[] => {
// get auth access for example set admin as true
const isAdmin = true; //this should be a call to getting auth / role access
@@ -33,8 +33,8 @@ export const useAdminSettings = (): NavDataItem[] => {
return [
{
- label: 'Settings',
- children: [{ label: 'Notebooks', path: '/notebookSettings' }],
+ label: 'Debug',
+ children: [{ label: 'Notebooks', path: '/notebookDebugSettings' }],
},
];
};
@@ -44,7 +44,7 @@ export const useNavData = (): NavDataItem[] => [
label: 'Notebooks',
path: '/',
},
- ...useAdminSettings(),
+ ...useAdminDebugSettings(),
];
const AppRoutes: React.FC = () => {
@@ -57,7 +57,7 @@ const AppRoutes: React.FC = () => {
{
// TODO: Remove the linter skip when we implement authentication
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
- isAdmin && } />
+ isAdmin && } />
}
);
diff --git a/workspaces/frontend/src/app/pages/Settings/Settings.tsx b/workspaces/frontend/src/app/pages/Debug/Debug.tsx
similarity index 84%
rename from workspaces/frontend/src/app/pages/Settings/Settings.tsx
rename to workspaces/frontend/src/app/pages/Debug/Debug.tsx
index 82df17a2..75894c7f 100644
--- a/workspaces/frontend/src/app/pages/Settings/Settings.tsx
+++ b/workspaces/frontend/src/app/pages/Debug/Debug.tsx
@@ -9,11 +9,11 @@ import {
PageSection,
} from '@patternfly/react-core';
-const Settings: React.FunctionComponent = () => (
+const Debug: React.FunctionComponent = () => (
@@ -27,4 +27,4 @@ const Settings: React.FunctionComponent = () => (
);
-export { Settings };
+export { Debug };