Sidebar redesign, dropdown fixes, and soft-delete UI #57
@@ -390,9 +390,12 @@ export default function Sidebar({
|
|||||||
<div className="border-t border-neutral-200/60 dark:border-neutral-800/60 px-2 py-3 shrink-0">
|
<div className="border-t border-neutral-200/60 dark:border-neutral-800/60 px-2 py-3 shrink-0">
|
||||||
{/* Notifications, Profile — same layout as nav items */}
|
{/* Notifications, Profile — same layout as nav items */}
|
||||||
<div className="space-y-0.5 mb-1">
|
<div className="space-y-0.5 mb-1">
|
||||||
|
<span title={c ? 'Notifications' : undefined}>
|
||||||
<NotificationCenter anchor="right" variant="sidebar">
|
<NotificationCenter anchor="right" variant="sidebar">
|
||||||
<Label collapsed={c}>Notifications</Label>
|
<Label collapsed={c}>Notifications</Label>
|
||||||
</NotificationCenter>
|
</NotificationCenter>
|
||||||
|
</span>
|
||||||
|
<span title={c ? (user?.display_name?.trim() || 'Profile') : undefined}>
|
||||||
<UserMenu
|
<UserMenu
|
||||||
auth={auth}
|
auth={auth}
|
||||||
LinkComponent={Link}
|
LinkComponent={Link}
|
||||||
@@ -407,6 +410,7 @@ export default function Sidebar({
|
|||||||
>
|
>
|
||||||
<Label collapsed={c}>{user?.display_name?.trim() || 'Profile'}</Label>
|
<Label collapsed={c}>{user?.display_name?.trim() || 'Profile'}</Label>
|
||||||
</UserMenu>
|
</UserMenu>
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* Settings + Collapse */}
|
{/* Settings + Collapse */}
|
||||||
|
|||||||
Reference in New Issue
Block a user