Merge pull request #715 from bluewave-labs/feat/hide-unimplemented-features

Comment out unused features, #699
This commit is contained in:
Alexander Holliday authored and GitHub committed 2024-08-23 12:03:29 -07:00
commit d4ae67b5ec
2 files changed
+25 -22

No files matched your search

+3 -3
View File
@@ -53,9 +53,9 @@ const menu = [
], ],
}, },
{ name: "Incidents", path: "incidents", icon: <Incidents /> }, { 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: "Maintenance", path: "maintenance", icon: <Maintenance /> },
{ name: "Integrations", path: "integrations", icon: <Integrations /> }, // { name: "Integrations", path: "integrations", icon: <Integrations /> },
{ {
name: "Account", name: "Account",
icon: <Account />, icon: <Account />,
@@ -310,7 +310,7 @@ function Sidebar() {
gap: theme.gap.small, gap: theme.gap.small,
borderRadius: `${theme.shape.borderRadius}px`, borderRadius: `${theme.shape.borderRadius}px`,
pl: theme.gap.small, pl: theme.gap.small,
mb:"1px" mb: "1px",
}} }}
> >
{child.icon} {child.icon}
@@ -74,7 +74,8 @@ const TeamPanel = () => {
{ id: 1, name: "NAME" }, { id: 1, name: "NAME" },
{ id: 2, name: "EMAIL" }, { id: 2, name: "EMAIL" },
{ id: 3, name: "ROLE" }, { id: 3, name: "ROLE" },
{ id: 4, name: "ACTION" }, // FEATURE STILL TO BE IMPLEMENTED
// { id: 4, name: "ACTION" },
], ],
rows: team?.map((member, idx) => { rows: team?.map((member, idx) => {
return { return {
@@ -101,22 +102,23 @@ const TeamPanel = () => {
id: idx + 2, id: idx + 2,
data: member.role.includes("admin") ? "Administrator" : "Member", data: member.role.includes("admin") ? "Administrator" : "Member",
}, },
{ // FEATURE STILL TO BE IMPLEMENTED
// TODO - Add delete onClick // {
id: idx + 3, // // TODO - Add delete onClick
data: ( // id: idx + 3,
<IconButton // data: (
aria-label="remove member" // <IconButton
sx={{ // aria-label="remove member"
"&:focus": { // sx={{
outline: "none", // "&:focus": {
}, // outline: "none",
}} // },
> // }}
<Remove /> // >
</IconButton> // <Remove />
), // </IconButton>
}, // ),
// },
], ],
}; };
}), }),
@@ -197,7 +199,8 @@ const TeamPanel = () => {
return ( return (
<TabPanel value="team"> <TabPanel value="team">
<Stack component="form"> {/* FEATURE STILL TO BE IMPLEMENTED */}
{/* <Stack component="form">
<Box sx={{ alignSelf: "flex-start" }}> <Box sx={{ alignSelf: "flex-start" }}>
<Typography component="h1">Organization name</Typography> <Typography component="h1">Organization name</Typography>
</Box> </Box>
@@ -242,7 +245,7 @@ const TeamPanel = () => {
/> />
</Stack> </Stack>
</Stack> </Stack>
<Divider aria-hidden="true" sx={{ marginY: theme.spacing(4) }} /> <Divider aria-hidden="true" sx={{ marginY: theme.spacing(4) }} /> */}
<Stack <Stack
component="form" component="form"
noValidate noValidate