From 029b8fac373ecdb773ba948f405eab971ab4da56 Mon Sep 17 00:00:00 2001 From: Br0wnHammer Date: Fri, 8 Aug 2025 01:07:49 +0530 Subject: [PATCH 1/4] Feat: Remove Theme Toggle Button --- client/src/Components/Sidebar/components/authFooter.jsx | 1 - 1 file changed, 1 deletion(-) diff --git a/client/src/Components/Sidebar/components/authFooter.jsx b/client/src/Components/Sidebar/components/authFooter.jsx index 0e6937913..03c8aef4d 100644 --- a/client/src/Components/Sidebar/components/authFooter.jsx +++ b/client/src/Components/Sidebar/components/authFooter.jsx @@ -156,7 +156,6 @@ const AuthFooter = ({ collapsed, accountMenuItems }) => { direction="row" columnGap={theme.spacing(2)} > - Date: Fri, 8 Aug 2025 01:11:27 +0530 Subject: [PATCH 2/4] Remove Redundant Stack --- .../Sidebar/components/authFooter.jsx | 54 +++++++++---------- 1 file changed, 24 insertions(+), 30 deletions(-) diff --git a/client/src/Components/Sidebar/components/authFooter.jsx b/client/src/Components/Sidebar/components/authFooter.jsx index 03c8aef4d..d4d317908 100644 --- a/client/src/Components/Sidebar/components/authFooter.jsx +++ b/client/src/Components/Sidebar/components/authFooter.jsx @@ -136,7 +136,6 @@ const AuthFooter = ({ collapsed, accountMenuItems }) => { display: "block", whiteSpace: "nowrap", overflow: "hidden", - textOverflow: "ellipsis", }} > {authState.user?.firstName} {authState.user?.lastName} @@ -152,37 +151,32 @@ const AuthFooter = ({ collapsed, accountMenuItems }) => { {getRoleDisplayText(authState.user, t)} - - - openPopup(event)} - > - - - - + "& svg": { + width: "22px", + height: "22px", + }, + "& svg path": { + /* Vertical three dots */ + stroke: theme.palette.primary.contrastTextTertiary, + }, + }} + onClick={(event) => openPopup(event)} + > + + + Date: Fri, 8 Aug 2025 01:31:20 +0530 Subject: [PATCH 3/4] Tooltip Position --- client/src/Components/Sidebar/components/authFooter.jsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/client/src/Components/Sidebar/components/authFooter.jsx b/client/src/Components/Sidebar/components/authFooter.jsx index d4d317908..286713dbd 100644 --- a/client/src/Components/Sidebar/components/authFooter.jsx +++ b/client/src/Components/Sidebar/components/authFooter.jsx @@ -136,6 +136,7 @@ const AuthFooter = ({ collapsed, accountMenuItems }) => { display: "block", whiteSpace: "nowrap", overflow: "hidden", + textOverflow: "ellipsis", }} > {authState.user?.firstName} {authState.user?.lastName} @@ -157,11 +158,9 @@ const AuthFooter = ({ collapsed, accountMenuItems }) => { > Date: Fri, 8 Aug 2025 02:06:44 +0530 Subject: [PATCH 4/4] Remove unused Imports --- client/src/Components/Sidebar/components/authFooter.jsx | 1 - 1 file changed, 1 deletion(-) diff --git a/client/src/Components/Sidebar/components/authFooter.jsx b/client/src/Components/Sidebar/components/authFooter.jsx index 286713dbd..e94aeddee 100644 --- a/client/src/Components/Sidebar/components/authFooter.jsx +++ b/client/src/Components/Sidebar/components/authFooter.jsx @@ -4,7 +4,6 @@ import Typography from "@mui/material/Typography"; import Tooltip from "@mui/material/Tooltip"; import IconButton from "@mui/material/IconButton"; import Avatar from "../../Avatar"; -import ThemeSwitch from "../../ThemeSwitch"; import Menu from "@mui/material/Menu"; import MenuItem from "@mui/material/MenuItem"; import Divider from "@mui/material/Divider";