The all-in-one local AI studio for your desktop: chat, image and video generation and a coding agent in one free, open source app. Windows and Linux. No Docker, no terminal, no cloud required.
TypeScript agentai-chatai-studioall-in-onecoding-agentdesktop-appfluximage-generationlinuxllmlocal-ailocal-llmopen-sourceprivacyself-hostedstable-diffusionuncensoreduncensored-aivideo-generationwindows
fix: UI polish — light mode, header nav, homepage cleanup, discover badges
PurpleDoubleD80416575625e
diff --git a/src/components/chat/ChatView.tsx b/src/components/chat/ChatView.tsxindex 54132a3b..aef6b0f8 100644--- a/src/components/chat/ChatView.tsx+++ b/src/components/chat/ChatView.tsx@@ -14,12 +14,11 @@ import { ErrorBoundary } from '../ui/ErrorBoundary'import { useSettingsStore } from '../../stores/settingsStore'import { FEATURE_FLAGS } from '../../lib/constants'import { isAgentCompatible } from '../../lib/model-compatibility'-import { FileText, Bot, User, ChevronDown, Download, GitCompareArrows, Trophy } from 'lucide-react'+import { FileText, Bot, User, ChevronDown, Download, GitCompareArrows } from 'lucide-react'import { TokenCounter } from './TokenCounter'import { MemoryDebugToggle } from './MemoryDebugPanel'import { ABCompare } from './ABCompare'import { useCompareStore } from '../../stores/compareStore'-import { useUIStore } from '../../stores/uiStore'import { exportConversation } from '../../lib/chat-export'export function ChatView() {@@ -65,30 +64,10 @@ export function ChatView() {exit={{ opacity: 0, y: -20 }}transition={{ duration: 0.2 }}>- <img src="/LU-monogram-bw.png" alt="" width={32} height={32} className="dark:invert-0 invert opacity-20 mb-3" />+ <img src="/LU-monogram-bw.png" alt="" width={38} height={38} className="dark:invert-0 invert opacity-20 mb-3" /><h1 className="text-[0.8rem] font-semibold text-gray-400 mb-0.5 tracking-wide">LUncensored</h1><p className="text-[0.6rem] text-gray-600">No filters, no limits.</p>- {/* Quick action CTAs */}- {models.length > 0 && activeModel && (- <div className="flex items-center gap-2 mt-4">- <button- onClick={() => setComparing(true)}- className="flex items-center gap-1.5 px-3 py-1.5 rounded-lg border border-white/10 hover:border-white/20 text-[0.6rem] text-gray-400 hover:text-gray-200 transition-colors"- >- <GitCompareArrows size={12} />- Compare Models- </button>- <button- onClick={() => useUIStore.getState().setView('models')}- className="flex items-center gap-1.5 px-3 py-1.5 rounded-lg border border-white/10 hover:border-white/20 text-[0.6rem] text-gray-400 hover:text-gray-200 transition-colors"- >- <Trophy size={12} />- Benchmark- </button>- </div>- )}-{models.length === 0 && <div className="mt-4"><ModelRecommendation /></div>}{models.length > 0 && !activeModel && (<p className="text-[0.6rem] text-amber-500/60 mt-3">Select a model above.</p>@@ -124,7 +103,7 @@ export function ChatView() {{exportOpen && (<><div className="fixed inset-0 z-40" onClick={() => setExportOpen(false)} />- <div className="absolute right-0 top-full mt-1 z-50 w-36 rounded-lg bg-[#1a1a1a] border border-white/10 shadow-xl py-1">+ <div className="absolute right-0 top-full mt-1 z-50 w-36 rounded-lg bg-white dark:bg-[#1a1a1a] border border-gray-200 dark:border-white/10 shadow-xl py-1">{(['markdown', 'json'] as const).map(fmt => (<buttonkey={fmt}@@ -133,7 +112,7 @@ export function ChatView() {if (conv) exportConversation(conv, fmt)setExportOpen(false)}}- className="w-full text-left px-3 py-1.5 text-[0.65rem] text-gray-400 hover:bg-white/5 hover:text-gray-200 transition-colors"+ className="w-full text-left px-3 py-1.5 text-[0.65rem] text-gray-600 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-white/5 hover:text-gray-900 dark:hover:text-gray-200 transition-colors">Export as .{fmt === 'markdown' ? 'md' : fmt}</button>@@ -156,7 +135,7 @@ export function ChatView() {{personaOpen && (<><div className="fixed inset-0 z-40" onClick={() => setPersonaOpen(false)} />- <div className="absolute right-0 top-full mt-1 z-50 w-48 max-h-[250px] overflow-y-auto scrollbar-thin rounded-lg bg-[#1a1a1a] border border-white/10 shadow-xl py-1">+ <div className="absolute right-0 top-full mt-1 z-50 w-48 max-h-[250px] overflow-y-auto scrollbar-thin rounded-lg bg-white dark:bg-[#1a1a1a] border border-gray-200 dark:border-white/10 shadow-xl py-1">{/* Active persona pinned at top */}{activePersona && (<div className="px-2 pb-1 mb-1 border-b border-white/[0.06]">@@ -171,7 +150,7 @@ export function ChatView() {<buttonkey={p.id}onClick={() => { setActivePersona(p.id); setPersonaOpen(false) }}- className="w-full text-left px-3 py-1.5 text-[0.65rem] text-gray-400 hover:bg-white/5 hover:text-gray-200 transition-colors"+ className="w-full text-left px-3 py-1.5 text-[0.65rem] text-gray-600 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-white/5 hover:text-gray-900 dark:hover:text-gray-200 transition-colors">{p.name}</button>diff --git a/src/components/chat/MemoryDebugPanel.tsx b/src/components/chat/MemoryDebugPanel.tsxindex 94bc0e69..fbfef841 100644--- a/src/components/chat/MemoryDebugPanel.tsx+++ b/src/components/chat/MemoryDebugPanel.tsx@@ -68,14 +68,14 @@ function MemoryDebugPopover({ onClose }: { onClose: () => void }) {onClick={onClose}><div- className="w-[400px] max-h-[60vh] bg-[#1a1a1a] border border-white/10 rounded-xl shadow-2xl overflow-hidden"+ className="w-[400px] max-h-[60vh] bg-white dark:bg-[#1a1a1a] border border-gray-200 dark:border-white/10 rounded-xl shadow-2xl overflow-hidden"onClick={(e) => e.stopPropagation()}>{/* Header */}- <div className="flex items-center justify-between px-3 py-2 border-b border-white/[0.06]">+ <div className="flex items-center justify-between px-3 py-2 border-b border-gray-100 dark:border-white/[0.06]"><div className="flex items-center gap-2"><Brain size={12} className="text-purple-400" />- <span className="text-[0.65rem] font-semibold text-gray-300">Active Memories ({entries.length})</span>+ <span className="text-[0.65rem] font-semibold text-gray-700 dark:text-gray-300">Active Memories ({entries.length})</span></div><button onClick={onClose} className="p-0.5 rounded hover:bg-white/10 text-gray-500"><X size={12} />diff --git a/src/components/layout/Header.tsx b/src/components/layout/Header.tsxindex d410db20..605c75cf 100644--- a/src/components/layout/Header.tsx+++ b/src/components/layout/Header.tsx@@ -8,18 +8,19 @@ import { ModelSelector } from '../models/ModelSelector'export function Header() {const { currentView, toggleSidebar, setView } = useUIStore()const { settings, updateSettings } = useSettingsStore()+ const isComparing = useCompareStore((s) => s.isComparing)const toggleTheme = () => {updateSettings({ theme: settings.theme === 'dark' ? 'light' : 'dark' })}- const navBtn = (view: string, icon: React.ReactNode, title: string) => (+ const navBtn = (view: string, icon: React.ReactNode, title: string, isActive?: boolean) => (<buttononClick={() => setView(view as any)}className={`p-1.5 rounded-md transition-colors ${- currentView === view- ? 'bg-white/10 text-white'- : 'text-gray-500 hover:text-gray-200 hover:bg-white/5'+ isActive ?? currentView === view+ ? 'bg-gray-200 dark:bg-white/10 text-gray-900 dark:text-white'+ : 'text-gray-500 hover:text-gray-800 dark:hover:text-gray-200 hover:bg-gray-100 dark:hover:bg-white/5'}`}title={title}>@@ -28,12 +29,12 @@ export function Header() {)return (- <header className="h-10 flex items-center justify-between px-3 border-b border-white/[0.04] bg-[#0e0e0e] z-20">+ <header className="h-10 flex items-center justify-between px-3 border-b border-gray-200 dark:border-white/[0.04] bg-gray-50 dark:bg-[#0e0e0e] z-20">{/* Left: Sidebar + Logo */}<div className="flex items-center gap-2"><buttononClick={toggleSidebar}- className="p-1 rounded-md hover:bg-white/5 text-gray-500 hover:text-white transition-colors"+ className="p-1 rounded-md hover:bg-gray-200 dark:hover:bg-white/5 text-gray-500 hover:text-gray-800 dark:hover:text-white transition-colors"aria-label="Toggle sidebar"><Menu size={15} />@@ -41,9 +42,10 @@ export function Header() {<buttononClick={() => {useChatStore.getState().setActiveConversation(null)+ useCompareStore.getState().setComparing(false)setView('chat')}}- className="flex items-center gap-1.5 text-gray-300 hover:text-white transition"+ className="flex items-center gap-1.5 text-gray-600 dark:text-gray-300 hover:text-gray-900 dark:hover:text-white transition"><img src="/LU-monogram-bw.png" alt="" width={16} height={16} className="dark:invert-0 invert opacity-70" /><span className="font-semibold text-[0.7rem] tracking-wide">LUncensored</span>@@ -53,31 +55,29 @@ export function Header() {{/* Center: Model Selector */}<ModelSelector />- {/* Right: Nav icons */}+ {/* Right: Nav icons — Order: Chat, Create, A/B Compare, Benchmark, Models, Settings */}<div className="flex items-center gap-0.5"><buttononClick={toggleTheme}- className="p-1.5 rounded-md text-gray-500 hover:text-gray-200 hover:bg-white/5 transition-colors"+ className="p-1.5 rounded-md text-gray-500 hover:text-gray-800 dark:hover:text-gray-200 hover:bg-gray-100 dark:hover:bg-white/5 transition-colors"title={settings.theme === 'dark' ? 'Light Mode' : 'Dark Mode'}>{settings.theme === 'dark' ? <Sun size={14} /> : <Moon size={14} />}</button>- {navBtn('chat', <MessageSquare size={14} />, 'Chat')}+ {navBtn('chat', <MessageSquare size={14} />, 'Chat', currentView === 'chat' && !isComparing)}+ {navBtn('create', <Film size={14} />, 'Create')}<buttononClick={() => { useCompareStore.getState().setComparing(true); setView('chat') }}- className="p-1.5 rounded-md text-gray-500 hover:text-gray-200 hover:bg-white/5 transition-colors"+ className={`p-1.5 rounded-md transition-colors ${+ isComparing+ ? 'bg-gray-200 dark:bg-white/10 text-gray-900 dark:text-white'+ : 'text-gray-500 hover:text-gray-800 dark:hover:text-gray-200 hover:bg-gray-100 dark:hover:bg-white/5'+ }`}title="A/B Compare"><GitCompareArrows size={14} /></button>- {navBtn('create', <Film size={14} />, 'Create')}- <button- onClick={() => setView('models')}- className="p-1.5 rounded-md text-gray-500 hover:text-gray-200 hover:bg-white/5 transition-colors"- title="Benchmark Leaderboard"- >- <Trophy size={14} />- </button>+ {navBtn('models', <Trophy size={14} />, 'Benchmark', false)}{navBtn('models', <Layers size={14} />, 'Models')}{navBtn('settings', <Settings size={14} />, 'Settings')}</div>diff --git a/src/components/layout/Sidebar.tsx b/src/components/layout/Sidebar.tsxindex 074ffeee..b5dd3f43 100644--- a/src/components/layout/Sidebar.tsx+++ b/src/components/layout/Sidebar.tsx@@ -43,7 +43,7 @@ export function Sidebar() {<AnimatePresence>{sidebarOpen && (<motion.aside- className="w-56 h-full border-r border-white/[0.04] bg-[#0a0a0a] flex flex-col z-20 overflow-hidden"+ className="w-56 h-full border-r border-gray-200 dark:border-white/[0.04] bg-gray-50 dark:bg-[#0a0a0a] flex flex-col z-20 overflow-hidden"initial={{ width: 0, opacity: 0 }}animate={{ width: 224, opacity: 1 }}exit={{ width: 0, opacity: 0 }}@@ -53,7 +53,7 @@ export function Sidebar() {<div className="px-2 pt-2 pb-1 space-y-1.5"><buttononClick={handleNewChat}- className="w-full flex items-center gap-1.5 px-2.5 py-1.5 rounded-md text-[0.7rem] text-gray-400 hover:text-white hover:bg-white/[0.05] transition-all"+ className="w-full flex items-center gap-1.5 px-2.5 py-1.5 rounded-md text-[0.7rem] text-gray-600 dark:text-gray-400 hover:text-gray-900 dark:hover:text-white hover:bg-gray-200 dark:hover:bg-white/[0.05] transition-all"><Plus size={13} /><span>New Chat</span>@@ -66,7 +66,7 @@ export function Sidebar() {placeholder="Search..."value={search}onChange={(e) => setSearch(e.target.value)}- className="w-full pl-6 pr-2 py-1 rounded-md bg-transparent border border-white/[0.04] text-[0.65rem] text-gray-300 placeholder-gray-600 focus:outline-none focus:border-white/10"+ className="w-full pl-6 pr-2 py-1 rounded-md bg-transparent border border-gray-200 dark:border-white/[0.04] text-[0.65rem] text-gray-700 dark:text-gray-300 placeholder-gray-400 dark:placeholder-gray-600 focus:outline-none focus:border-gray-400 dark:focus:border-white/10"/></div></div>@@ -78,8 +78,8 @@ export function Sidebar() {key={conv.id}className={`group flex items-center gap-1.5 px-2 py-1.5 rounded-md cursor-pointer transition-all ${conv.id === activeConversationId- ? 'bg-white/[0.06] text-white'- : 'text-gray-400 hover:bg-white/[0.03] hover:text-gray-200'+ ? 'bg-gray-200 dark:bg-white/[0.06] text-gray-900 dark:text-white'+ : 'text-gray-600 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-white/[0.03] hover:text-gray-800 dark:hover:text-gray-200'}`}onClick={() => {setActiveConversation(conv.id)diff --git a/src/components/models/DiscoverModels.tsx b/src/components/models/DiscoverModels.tsxindex b0a4b969..d087289a 100644--- a/src/components/models/DiscoverModels.tsx+++ b/src/components/models/DiscoverModels.tsx@@ -115,7 +115,8 @@ function ModelDiscoverCard({ model, index, isText, getModelDownloadState, pullMo<div className="flex items-start justify-between gap-2"><div className="flex-1 min-w-0"><h3 className="text-sm font-medium text-gray-900 dark:text-white truncate flex items-center gap-1.5">- {model.hot && <span className="text-[0.55rem] px-1.5 py-0.5 rounded bg-orange-500/15 text-orange-500 font-bold border border-orange-500/30 shrink-0">HOT</span>}+ {isInstalled(model.name) && <span className="text-[0.55rem] px-1.5 py-0.5 rounded bg-green-500/15 text-green-500 font-bold border border-green-500/30 shrink-0">INSTALLED</span>}+ {model.hot && !isInstalled(model.name) && <span className="text-[0.55rem] px-1.5 py-0.5 rounded bg-orange-500/15 text-orange-500 font-bold border border-orange-500/30 shrink-0">HOT</span>}{model.agent && <span className="text-[0.55rem] px-1.5 py-0.5 rounded bg-green-500/15 text-green-500 font-bold border border-green-500/30 shrink-0">AGENT</span>}<span className="truncate">{model.name}</span></h3>