diff --git a/apps/ui/src/components/layout/sidebar/components/project-selector-with-options.tsx b/apps/ui/src/components/layout/sidebar/components/project-selector-with-options.tsx
index f117d329..db0dee52 100644
--- a/apps/ui/src/components/layout/sidebar/components/project-selector-with-options.tsx
+++ b/apps/ui/src/components/layout/sidebar/components/project-selector-with-options.tsx
@@ -47,7 +47,6 @@ export function ProjectSelectorWithOptions({
setIsProjectPickerOpen,
setShowDeleteProjectDialog,
}: ProjectSelectorWithOptionsProps) {
- // Get data from store
const {
projects,
currentProject,
@@ -59,7 +58,6 @@ export function ProjectSelectorWithOptions({
clearProjectHistory,
} = useAppStore();
- // Get keyboard shortcuts
const shortcuts = useKeyboardShortcutsConfig();
const {
projectSearchQuery,
@@ -75,10 +73,8 @@ export function ProjectSelectorWithOptions({
setCurrentProject,
});
- // Drag-and-drop handlers
const { sensors, handleDragEnd } = useDragAndDrop({ projects, reorderProjects });
- // Theme management
const {
globalTheme,
setTheme,
@@ -107,7 +103,6 @@ export function ProjectSelectorWithOptions({
'shadow-sm shadow-black/5',
'text-foreground titlebar-no-drag min-w-0',
'transition-all duration-200 ease-out',
- 'hover:scale-[1.01] active:scale-[0.99]',
isProjectPickerOpen &&
'from-brand-500/10 to-brand-600/5 border-brand-500/30 ring-2 ring-brand-500/20 shadow-lg shadow-brand-500/5'
)}
@@ -140,7 +135,7 @@ export function ProjectSelectorWithOptions({
align="start"
data-testid="project-picker-dropdown"
>
- {/* Search input for type-ahead filtering */}
+ {/* Search input */}
@@ -151,10 +146,10 @@ export function ProjectSelectorWithOptions({
value={projectSearchQuery}
onChange={(e) => setProjectSearchQuery(e.target.value)}
className={cn(
- 'w-full h-9 pl-8 pr-3 text-sm rounded-lg',
+ 'w-full h-8 pl-8 pr-3 text-sm rounded-lg',
'border border-border bg-background/50',
'text-foreground placeholder:text-muted-foreground',
- 'focus:outline-none focus:ring-2 focus:ring-brand-500/30 focus:border-brand-500/50',
+ 'focus:outline-none focus:ring-1 focus:ring-brand-500/30 focus:border-brand-500/50',
'transition-all duration-200'
)}
data-testid="project-search-input"
@@ -176,7 +171,7 @@ export function ProjectSelectorWithOptions({
items={filteredProjects.map((p) => p.id)}
strategy={verticalListSortingStrategy}
>
-
+
{filteredProjects.map((project, index) => (
- arrow navigate{' '}
+ ↑↓ navigate{' '}
|{' '}
- enter select{' '}
+ ↵ select{' '}
|{' '}
esc close
@@ -207,7 +202,7 @@ export function ProjectSelectorWithOptions({
- {/* Project Options Menu - theme and history */}
+ {/* Project Options Menu */}
{currentProject && (
{
@@ -224,8 +219,7 @@ export function ProjectSelectorWithOptions({
'text-muted-foreground hover:text-foreground',
'bg-transparent hover:bg-accent/60',
'border border-border/50 hover:border-border',
- 'transition-all duration-200 ease-out titlebar-no-drag',
- 'hover:scale-[1.02] active:scale-[0.98]'
+ 'transition-all duration-200 ease-out titlebar-no-drag'
)}
title="Project options"
data-testid="project-options-menu"
@@ -253,7 +247,6 @@ export function ProjectSelectorWithOptions({
setPreviewTheme(null);
}}
>
- {/* Use Global Option */}
{
@@ -329,7 +322,7 @@ export function ProjectSelectorWithOptions({
- {/* Project History Section - only show when there's history */}
+ {/* Project History Section */}
{projectHistory.length > 1 && (
<>
diff --git a/apps/ui/src/components/layout/sidebar/components/sortable-project-item.tsx b/apps/ui/src/components/layout/sidebar/components/sortable-project-item.tsx
index 9d1e567e..8ec98a5a 100644
--- a/apps/ui/src/components/layout/sidebar/components/sortable-project-item.tsx
+++ b/apps/ui/src/components/layout/sidebar/components/sortable-project-item.tsx
@@ -45,7 +45,12 @@ export function SortableProjectItem({
{/* Project content - clickable area */}
onSelect(project)}>
-
+
{project.name}
{currentProjectId === project.id && }