Open-source agentic AI Search Execution Platform. Track AI visibility, find opportunities, and let agents turn signals into prioritized actions and drafted fixes across ChatGPT, Claude, Gemini, Google AI Overviews, Google AI Mode, Perplexity, Grok, and Microsoft Copilot.
TypeScript aeoai-agentai-searchanswer-engine-optimizationbrand-monitoringchatgptclaudecopilotdockergeminigeogoogle-ai-overviewsgrokmcpnextjsopen-sourceperplexityseosupabasetypescript
ux(sidebar): move collapse toggle above profile row + restyle (#168)
Gökhan Geyik34e52f8b3530
diff --git a/web/src/components/layout/sidebar.tsx b/web/src/components/layout/sidebar.tsxindex 931ee7777..66907d6ba 100644--- a/web/src/components/layout/sidebar.tsx+++ b/web/src/components/layout/sidebar.tsx@@ -17,7 +17,7 @@ import { ScrollArea } from '@/components/ui/scroll-area';import { Separator } from '@/components/ui/separator';import { BrandSwitcher } from '@/components/layout/brand-switcher';import { UserProfileNavItem } from '@/components/layout/user-profile-nav-item';-import { Crown, Lock, PanelLeftClose, PanelLeftOpen } from 'lucide-react';+import { ChevronsLeft, ChevronsRight, Crown, Lock } from 'lucide-react';export function Sidebar() {const pathname = usePathname();@@ -174,19 +174,26 @@ export function Sidebar() {))}</ScrollArea>- <div className="border-t p-2">- <UserProfileNavItem collapsed={isCollapsed} />- </div>-- <div className="border-t p-2">- <Button variant="ghost" size="icon" className="mt-1 w-full" onClick={toggleCollapse}>+ <div className="p-2">+ <Button+ variant="ghost"+ onClick={toggleCollapse}+ className={cn(+ 'flex h-9 w-full items-center gap-2 px-2',+ isCollapsed ? 'justify-center' : 'justify-start',+ )}+ >{isCollapsed ? (- <PanelLeftOpen className="h-4 w-4" />+ <ChevronsRight className="h-4 w-4" />) : (- <PanelLeftClose className="h-4 w-4" />+ <ChevronsLeft className="h-4 w-4" />)}</Button></div>++ <div className="border-t p-2">+ <UserProfileNavItem collapsed={isCollapsed} />+ </div></aside>);}