diff --git a/.gitignore b/.gitignore index ce045c5..0c478ea 100644 --- a/.gitignore +++ b/.gitignore @@ -128,6 +128,11 @@ pnpm-lock.yaml poetry.lock Pipfile.lock +# =================== +# TypeScript +# =================== +*.tsbuildinfo + # =================== # Misc # =================== diff --git a/ui/src/App.tsx b/ui/src/App.tsx index 0ddcbbe..baefb48 100644 --- a/ui/src/App.tsx +++ b/ui/src/App.tsx @@ -4,9 +4,6 @@ import { useProjects, useFeatures, useAgentStatus, useSettings } from './hooks/u import { useProjectWebSocket } from './hooks/useWebSocket' import { useFeatureSound } from './hooks/useFeatureSound' import { useCelebration } from './hooks/useCelebration' - -const STORAGE_KEY = 'autocoder-selected-project' -const DARK_MODE_KEY = 'autocoder-dark-mode' import { ProjectSelector } from './components/ProjectSelector' import { KanbanBoard } from './components/KanbanBoard' import { AgentControl } from './components/AgentControl' @@ -24,6 +21,9 @@ import { DevServerControl } from './components/DevServerControl' import { Loader2, Settings, Moon, Sun } from 'lucide-react' import type { Feature } from './lib/types' +const STORAGE_KEY = 'autocoder-selected-project' +const DARK_MODE_KEY = 'autocoder-dark-mode' + function App() { // Initialize selected project from localStorage const [selectedProject, setSelectedProject] = useState(() => { diff --git a/ui/src/components/ChatMessage.tsx b/ui/src/components/ChatMessage.tsx index bfcd69d..fd37073 100644 --- a/ui/src/components/ChatMessage.tsx +++ b/ui/src/components/ChatMessage.tsx @@ -160,7 +160,7 @@ export function ChatMessage({ message }: ChatMessageProps) { onClick={() => window.open(attachment.previewUrl, '_blank')} title={`${attachment.filename} (click to enlarge)`} /> - + {attachment.filename} @@ -170,7 +170,7 @@ export function ChatMessage({ message }: ChatMessageProps) { {/* Streaming indicator */} {isStreaming && ( - + )} diff --git a/ui/src/components/DebugLogViewer.tsx b/ui/src/components/DebugLogViewer.tsx index b8232eb..1492d1f 100644 --- a/ui/src/components/DebugLogViewer.tsx +++ b/ui/src/components/DebugLogViewer.tsx @@ -284,7 +284,7 @@ export function DebugLogViewer({ return 'text-[var(--color-neo-log-debug)]' case 'info': default: - return 'text-[var(--color-neo-log-success)]' + return 'text-[var(--color-neo-log-info)]' } } diff --git a/ui/src/components/NewProjectModal.tsx b/ui/src/components/NewProjectModal.tsx index d59aba6..436c19a 100644 --- a/ui/src/components/NewProjectModal.tsx +++ b/ui/src/components/NewProjectModal.tsx @@ -317,8 +317,6 @@ export function NewProjectModal({ disabled={createProject.isPending} className=" w-full text-left p-4 - border-3 border-[var(--color-neo-border)] - bg-[var(--color-neo-card)] hover:translate-x-[-2px] hover:translate-y-[-2px] transition-all duration-150 disabled:opacity-50 disabled:cursor-not-allowed @@ -352,8 +350,6 @@ export function NewProjectModal({ disabled={createProject.isPending} className=" w-full text-left p-4 - border-3 border-[var(--color-neo-border)] - bg-[var(--color-neo-card)] hover:translate-x-[-2px] hover:translate-y-[-2px] transition-all duration-150 disabled:opacity-50 disabled:cursor-not-allowed diff --git a/ui/src/components/TerminalTabs.tsx b/ui/src/components/TerminalTabs.tsx index eb32b0b..86059bc 100644 --- a/ui/src/components/TerminalTabs.tsx +++ b/ui/src/components/TerminalTabs.tsx @@ -165,7 +165,7 @@ export function TerminalTabs({ ${ activeTerminalId === terminal.id ? 'bg-neo-progress text-black' - : 'bg-[#3a3a3a] text-white hover:bg-neo-text-secondary' + : 'bg-[#3a3a3a] text-white hover:bg-[var(--color-neo-hover-subtle)]' } `} onClick={() => onSelect(terminal.id)} @@ -212,7 +212,7 @@ export function TerminalTabs({ {/* Add new terminal button */}