Skip to content

Commit

Permalink
Merge pull request #715 from bluewave-labs/feat/hide-unimplemented-fe…
Browse files Browse the repository at this point in the history
…atures

Comment out unused features, #699
  • Loading branch information
ajhollid authored Aug 23, 2024
2 parents 8048d8e + 85ae182 commit d4ae67b
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 22 deletions.
6 changes: 3 additions & 3 deletions Client/src/Components/Sidebar/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ const menu = [
],
},
{ name: "Incidents", path: "incidents", icon: <Incidents /> },
{ name: "Status pages", path: "status", icon: <StatusPages /> },
// { name: "Status pages", path: "status", icon: <StatusPages /> },
{ name: "Maintenance", path: "maintenance", icon: <Maintenance /> },
{ name: "Integrations", path: "integrations", icon: <Integrations /> },
// { name: "Integrations", path: "integrations", icon: <Integrations /> },
{
name: "Account",
icon: <Account />,
Expand Down Expand Up @@ -310,7 +310,7 @@ function Sidebar() {
gap: theme.gap.small,
borderRadius: `${theme.shape.borderRadius}px`,
pl: theme.gap.small,
mb:"1px"
mb: "1px",
}}
>
{child.icon}
Expand Down
41 changes: 22 additions & 19 deletions Client/src/Components/TabPanels/Account/TeamPanel.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ const TeamPanel = () => {
{ id: 1, name: "NAME" },
{ id: 2, name: "EMAIL" },
{ id: 3, name: "ROLE" },
{ id: 4, name: "ACTION" },
// FEATURE STILL TO BE IMPLEMENTED
// { id: 4, name: "ACTION" },
],
rows: team?.map((member, idx) => {
return {
Expand All @@ -101,22 +102,23 @@ const TeamPanel = () => {
id: idx + 2,
data: member.role.includes("admin") ? "Administrator" : "Member",
},
{
// TODO - Add delete onClick
id: idx + 3,
data: (
<IconButton
aria-label="remove member"
sx={{
"&:focus": {
outline: "none",
},
}}
>
<Remove />
</IconButton>
),
},
// FEATURE STILL TO BE IMPLEMENTED
// {
// // TODO - Add delete onClick
// id: idx + 3,
// data: (
// <IconButton
// aria-label="remove member"
// sx={{
// "&:focus": {
// outline: "none",
// },
// }}
// >
// <Remove />
// </IconButton>
// ),
// },
],
};
}),
Expand Down Expand Up @@ -197,7 +199,8 @@ const TeamPanel = () => {

return (
<TabPanel value="team">
<Stack component="form">
{/* FEATURE STILL TO BE IMPLEMENTED */}
{/* <Stack component="form">
<Box sx={{ alignSelf: "flex-start" }}>
<Typography component="h1">Organization name</Typography>
</Box>
Expand Down Expand Up @@ -242,7 +245,7 @@ const TeamPanel = () => {
/>
</Stack>
</Stack>
<Divider aria-hidden="true" sx={{ marginY: theme.spacing(4) }} />
<Divider aria-hidden="true" sx={{ marginY: theme.spacing(4) }} /> */}
<Stack
component="form"
noValidate
Expand Down

0 comments on commit d4ae67b

Please sign in to comment.