Skip to content

Commit b5d9409

Browse files
Mohammed AbdiMohammed Abdi
Mohammed Abdi
authored and
Mohammed Abdi
committed
nit for dashboard integration with odh proper
Signed-off-by: Mohammed Abdi <[email protected]>
1 parent 67cdc68 commit b5d9409

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

frontend/src/pages/MCADashboard/MCADTabs.tsx

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
import React from 'react';
22
import { Tabs, Tab, TabTitleText, TabTitleIcon } from '@patternfly/react-core';
3-
import UsersIcon from '@patternfly/react-icons/dist/esm/icons/users-icon';
3+
//import UsersIcon from '@patternfly/react-icons/dist/esm/icons/users-icon';
44
// import BoxIcon from '@patternfly/react-icons/dist/esm/icons/box-icon';
55
import DatabaseIcon from '@patternfly/react-icons/dist/esm/icons/database-icon';
66
// import ServerIcon from '@patternfly/react-icons/dist/esm/icons/server-icon';
77
// import LaptopIcon from '@patternfly/react-icons/dist/esm/icons/laptop-icon';
8+
import DeezerIcon from '@patternfly/react-icons/dist/esm/icons/deezer-icon';
89
import ProjectDiagramIcon from '@patternfly/react-icons/dist/esm/icons/project-diagram-icon';
910
import { useWatchComponents } from '~/utilities/useWatchComponents';
1011
import ApplicationsPage from '~/pages/ApplicationsPage';
@@ -54,9 +55,9 @@ export const MCADTabs: React.FunctionComponent = () => {
5455
title={
5556
<>
5657
<TabTitleIcon>
57-
<UsersIcon />
58+
<DeezerIcon />
5859
</TabTitleIcon>
59-
<TabTitleText>Dashboard</TabTitleText>
60+
<TabTitleText>Appwrapper Summary</TabTitleText>
6061
</>
6162
}
6263
aria-label="mcad-dashboard-tab"

frontend/src/pages/MCADashboard/Tables/quota-table.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ export const QuotaTable: React.FunctionComponent<QuotaViewProps> = ({
116116
},
117117
{
118118
field: 'numberofappwrappers',
119-
label: '# of Appwrappers',
119+
label: 'Appwrappers',
120120
sortable: true,
121121
},
122122
{

frontend/src/utilities/NavData.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -132,14 +132,14 @@ export const getNavBarData = (
132132
});
133133
}
134134
}
135+
// MCAD dashboard
136+
navItems.push({ id: 'mcad', label: 'MCAD Dashboard', href: '/mcad' });
135137

136138
if (featureFlagEnabled(dashboardConfig.spec.dashboardConfig.disableModelServing)) {
137139
navItems.push({ id: 'modelServing', label: 'Model Serving', href: '/modelServing' });
138140
}
139141

140142
navItems.push({ id: 'resources', label: 'Resources', href: '/resources' });
141-
142-
navItems.push({ id: 'mcad', label: 'MCAD Dashboard', href: '/mcad' }); // path created for MCAD dashboard
143143

144144
const settingsNav = getSettingsNav(isAdmin, dashboardConfig);
145145
if (settingsNav) {

0 commit comments

Comments
 (0)