Sidebar redesign, dropdown fixes, and soft-delete UI #57

Merged
uz1mani merged 50 commits from staging into main 2026-03-19 00:08:16 +00:00
15 changed files with 1618 additions and 311 deletions
Showing only changes of commit 342e3705e8 - Show all commits

View File

@@ -382,21 +382,27 @@ export default function Sidebar({
{/* Bottom — utility items */} {/* Bottom — utility items */}
<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">
{/* Theme, Notifications, Profile */} {/* Theme, Notifications, Profile */}
<div className="flex items-center justify-center gap-1 mb-1"> <div className="flex flex-col items-center gap-0.5 mb-1">
<ThemeToggle /> <div className="flex items-center justify-center w-full rounded-lg px-2.5 py-2">
<NotificationCenter anchor="right" /> <ThemeToggle />
<UserMenu </div>
auth={auth} <div className="flex items-center justify-center w-full rounded-lg px-2.5 py-2">
LinkComponent={Link} <NotificationCenter anchor="right" />
orgs={orgs} </div>
activeOrgId={auth.user?.org_id} <div className="flex items-center justify-center w-full rounded-lg px-2.5 py-2">
onSwitchOrganization={handleSwitchOrganization} <UserMenu
onCreateOrganization={() => router.push('/onboarding')} auth={auth}
allowPersonalOrganization={false} LinkComponent={Link}
onOpenSettings={openSettings} orgs={orgs}
compact activeOrgId={auth.user?.org_id}
anchor="right" onSwitchOrganization={handleSwitchOrganization}
/> onCreateOrganization={() => router.push('/onboarding')}
allowPersonalOrganization={false}
onOpenSettings={openSettings}
compact
anchor="right"
/>
</div>
</div> </div>
{/* Settings + Collapse */} {/* Settings + Collapse */}