Fix sidebar lables not showign up

This commit is contained in:
anonymous
2026-01-10 20:10:17 -08:00
committed by Shirone
parent 4ab54270db
commit acce06b304
4 changed files with 13 additions and 5 deletions

View File

@@ -40,7 +40,7 @@ export function ProjectActions({
data-testid="new-project-button" data-testid="new-project-button"
> >
<Plus className="w-4 h-4 shrink-0 transition-transform duration-200 group-hover:rotate-90 group-hover:text-brand-500" /> <Plus className="w-4 h-4 shrink-0 transition-transform duration-200 group-hover:rotate-90 group-hover:text-brand-500" />
<span className="ml-2 text-sm font-medium hidden lg:block whitespace-nowrap">New</span> <span className="ml-2 text-sm font-medium block whitespace-nowrap">New</span>
</button> </button>
<button <button
onClick={handleOpenFolder} onClick={handleOpenFolder}
@@ -59,7 +59,7 @@ export function ProjectActions({
data-testid="open-project-button" data-testid="open-project-button"
> >
<FolderOpen className="w-4 h-4 shrink-0 transition-transform duration-200 group-hover:scale-110" /> <FolderOpen className="w-4 h-4 shrink-0 transition-transform duration-200 group-hover:scale-110" />
<span className="hidden lg:flex items-center justify-center min-w-5 h-5 px-1.5 text-[10px] font-mono rounded-md bg-muted/80 text-muted-foreground ml-2"> <span className="flex items-center justify-center min-w-5 h-5 px-1.5 text-[10px] font-mono rounded-md bg-muted/80 text-muted-foreground ml-2">
{formatShortcut(shortcuts.openProject, true)} {formatShortcut(shortcuts.openProject, true)}
</span> </span>
</button> </button>

View File

@@ -235,7 +235,7 @@ export function SidebarFooter({
{sidebarOpen && ( {sidebarOpen && (
<span <span
className={cn( className={cn(
'hidden sm:flex items-center justify-center min-w-5 h-5 px-1.5 text-[10px] font-mono rounded-md transition-all duration-200', 'flex items-center justify-center min-w-5 h-5 px-1.5 text-[10px] font-mono rounded-md transition-all duration-200',
isActiveRoute('settings') isActiveRoute('settings')
? 'bg-brand-500/20 text-brand-400' ? 'bg-brand-500/20 text-brand-400'
: 'bg-muted text-muted-foreground group-hover:bg-accent' : 'bg-muted text-muted-foreground group-hover:bg-accent'

View File

@@ -26,7 +26,7 @@ export function SidebarNavigation({
// Placeholder when no project is selected (only in expanded state) // Placeholder when no project is selected (only in expanded state)
<div className="flex items-center justify-center h-full px-4"> <div className="flex items-center justify-center h-full px-4">
<p className="text-muted-foreground text-sm text-center"> <p className="text-muted-foreground text-sm text-center">
<span className="hidden lg:block">Select or create a project above</span> <span className="block">Select or create a project above</span>
</p> </p>
</div> </div>
) : currentProject ? ( ) : currentProject ? (
@@ -137,7 +137,7 @@ export function SidebarNavigation({
{item.shortcut && sidebarOpen && !item.count && ( {item.shortcut && sidebarOpen && !item.count && (
<span <span
className={cn( className={cn(
'hidden sm:flex items-center justify-center min-w-5 h-5 px-1.5 text-[10px] font-mono rounded-md transition-all duration-200', 'flex items-center justify-center min-w-5 h-5 px-1.5 text-[10px] font-mono rounded-md transition-all duration-200',
isActive isActive
? 'bg-brand-500/20 text-brand-400' ? 'bg-brand-500/20 text-brand-400'
: 'bg-muted text-muted-foreground group-hover:bg-accent' : 'bg-muted text-muted-foreground group-hover:bg-accent'

View File

@@ -380,6 +380,12 @@ export interface GlobalSettings {
/** Mute completion notification sound */ /** Mute completion notification sound */
muteDoneSound: boolean; muteDoneSound: boolean;
// Notification Command
/** Custom command to execute for all notifications (empty = disabled) */
notificationCommand: string;
/** How to pass notification data to the command */
notificationCommandMode: 'args' | 'stdin' | 'env';
// AI Model Selection (per-phase configuration) // AI Model Selection (per-phase configuration)
/** Phase-specific AI model configuration */ /** Phase-specific AI model configuration */
phaseModels: PhaseModelConfig; phaseModels: PhaseModelConfig;
@@ -699,6 +705,8 @@ export const DEFAULT_GLOBAL_SETTINGS: GlobalSettings = {
defaultPlanningMode: 'skip', defaultPlanningMode: 'skip',
defaultRequirePlanApproval: false, defaultRequirePlanApproval: false,
muteDoneSound: false, muteDoneSound: false,
notificationCommand: '',
notificationCommandMode: 'args',
phaseModels: DEFAULT_PHASE_MODELS, phaseModels: DEFAULT_PHASE_MODELS,
enhancementModel: 'sonnet', enhancementModel: 'sonnet',
validationModel: 'opus', validationModel: 'opus',