Description
When the sidebar is collapsed, nav items show a title attribute for tooltip. The Settings link has title={isCollapsed ? 'Settings' : undefined}, but the Logout button has no title attribute at all — just an aria-label.
When collapsed, the logout button shows only a LogOut icon with no hover text, making it unclear what it does.
Location
dashboard/src/components/layout/Sidebar.tsx line ~130:
<button
type="button"
onClick={onLogout}
aria-label={t("aria.signOut")}
// No title attribute!
Compare with Settings:
<NavLink
title={isCollapsed ? 'Settings' : undefined}
Expected Behavior
Collapsed sidebar logout button should show "Sign out" tooltip on hover, consistent with other nav items.
Fix
Add title={isCollapsed ? 'Sign out' : undefined} to the logout button.
Environment
- Aegis Dashboard
- Desktop only (sidebar collapse is md+)
Description
When the sidebar is collapsed, nav items show a
titleattribute for tooltip. The Settings link hastitle={isCollapsed ? 'Settings' : undefined}, but the Logout button has notitleattribute at all — just anaria-label.When collapsed, the logout button shows only a LogOut icon with no hover text, making it unclear what it does.
Location
dashboard/src/components/layout/Sidebar.tsxline ~130:Compare with Settings:
Expected Behavior
Collapsed sidebar logout button should show "Sign out" tooltip on hover, consistent with other nav items.
Fix
Add
title={isCollapsed ? 'Sign out' : undefined}to the logout button.Environment