Skip to content

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.

design: deeper uselu parity — sidebar-in-chat, no dashed new-chat, advanced collapsed

purple171c146eb45d
diff --git a/src/components/chat/ChatView.tsx b/src/components/chat/ChatView.tsx
index 79b71145..7fe8f9b2 100644
--- a/src/components/chat/ChatView.tsx
+++ b/src/components/chat/ChatView.tsx
@@ -179,7 +179,7 @@ export function ChatView() {
{toolsDropdownOpen && (
<>
<div className="fixed inset-0 z-40" onClick={() => setToolsDropdownOpen(false)} />
- <div className="absolute left-0 top-full mt-0.5 z-50 w-28 rounded-md bg-white dark:bg-[#262626] border border-gray-200 dark:border-white/10 shadow-xl py-0.5 px-0.5">
+ <div className="absolute left-0 top-full mt-0.5 z-50 w-28 rounded-md bg-white dark:bg-[#1a1a1a] border border-gray-200 dark:border-white/10 shadow-xl py-0.5 px-0.5">
<PermissionOverrideBar />
</div>
</>
@@ -208,7 +208,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-32 rounded-lg bg-white dark:bg-[#262626] border border-gray-200 dark:border-white/10 shadow-xl py-1">
+ <div className="absolute right-0 top-full mt-1 z-50 w-32 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 => (
<button
key={fmt}
diff --git a/src/components/create/CreateView.tsx b/src/components/create/CreateView.tsx
index d165b486..a72a73d9 100644
--- a/src/components/create/CreateView.tsx
+++ b/src/components/create/CreateView.tsx
@@ -693,8 +693,10 @@ export function CreateView() {
)}
<button
onClick={() => setShowParams(!showParams)}
- className="lg:hidden p-1.5 rounded-lg hover:bg-gray-100 dark:hover:bg-white/10 text-gray-500"
- aria-label="Toggle settings panel"
+ title={showParams ? 'Hide advanced parameters' : 'Show advanced parameters'}
+ aria-pressed={showParams}
+ aria-label="Toggle advanced parameters"
+ className={`p-1.5 rounded-lg transition-colors ${showParams ? 'bg-gray-200 dark:bg-white/10 text-gray-800 dark:text-gray-200' : 'hover:bg-gray-100 dark:hover:bg-white/10 text-gray-500'}`}
>
<Settings size={14} />
</button>
@@ -951,8 +953,10 @@ export function CreateView() {
)}
</div>
- {/* Parameter sidebar — desktop (hidden during empty-state) */}
- {!showNoModelsEmptyState && (
+ {/* Parameter sidebar — desktop. Gated on showParams so Create starts
+ with Advanced COLLAPSED (David: "Advanced bei Create immer
+ eingeklappt"); the toggle in the top controls opens it. */}
+ {!showNoModelsEmptyState && showParams && (
<div className="w-56 border-l border-gray-200 dark:border-white/5 bg-gray-50 dark:bg-white/[0.03] p-3 overflow-y-auto scrollbar-thin hidden lg:block">
<p className="text-[10px] font-medium text-gray-600 uppercase tracking-widest mb-3">Parameters</p>
<ParamPanel
diff --git a/src/components/create/ParamPanel.tsx b/src/components/create/ParamPanel.tsx
index d1c38d4a..63b3ac35 100644
--- a/src/components/create/ParamPanel.tsx
+++ b/src/components/create/ParamPanel.tsx
@@ -84,7 +84,7 @@ export function ParamPanel({ imageModels, videoModels, samplerList, schedulerLis
}
}, [videoSubTab, isVideo])
- const sel = 'w-full px-2.5 py-1.5 rounded-lg bg-gray-100 dark:bg-[#262626] border border-gray-200 dark:border-white/8 text-gray-900 dark:text-white text-[11px] focus:outline-none focus:border-gray-400 dark:focus:border-white/20 cursor-pointer'
+ const sel = 'w-full px-2.5 py-1.5 rounded-lg bg-gray-100 dark:bg-[#1a1a1a] border border-gray-200 dark:border-white/8 text-gray-900 dark:text-white text-[11px] focus:outline-none focus:border-gray-400 dark:focus:border-white/20 cursor-pointer'
const lbl = 'text-[10px] font-medium text-gray-500 dark:text-gray-600 uppercase tracking-widest mb-1 block'
const handleModelChange = (name: string) => {
diff --git a/src/components/create/PromptInput.tsx b/src/components/create/PromptInput.tsx
index d88cbaa6..89ebca25 100644
--- a/src/components/create/PromptInput.tsx
+++ b/src/components/create/PromptInput.tsx
@@ -31,7 +31,7 @@ export function PromptInput({ onGenerate, onCancel, disabled }: Props) {
return (
<div className="space-y-2">
- <div className="rounded-xl border border-gray-200 dark:border-white/10 bg-white dark:bg-[#363636] overflow-hidden">
+ <div className="rounded-xl border border-gray-200 dark:border-white/10 bg-white dark:bg-[#2a2a2a] overflow-hidden">
<div className="relative">
<textarea
ref={textareaRef}
@@ -121,7 +121,7 @@ export function PromptInput({ onGenerate, onCancel, disabled }: Props) {
initial={{ opacity: 0, height: 0 }}
animate={{ opacity: 1, height: 'auto' }}
exit={{ opacity: 0, height: 0 }}
- className="rounded-xl border border-gray-200 dark:border-white/10 bg-white dark:bg-[#363636] overflow-hidden"
+ className="rounded-xl border border-gray-200 dark:border-white/10 bg-white dark:bg-[#2a2a2a] overflow-hidden"
>
<textarea
value={negativePrompt}
diff --git a/src/components/layout/Sidebar.tsx b/src/components/layout/Sidebar.tsx
index 28d9f9ae..eab8eda9 100644
--- a/src/components/layout/Sidebar.tsx
+++ b/src/components/layout/Sidebar.tsx
@@ -526,7 +526,7 @@ export function Sidebar() {
) : (
<button
onClick={handleNewChat}
- className="w-full flex items-center justify-center gap-1.5 px-2.5 py-1.5 rounded-md text-[0.65rem] text-gray-500 hover:text-white hover:bg-white/[0.05] border border-dashed border-gray-300 dark:border-white/[0.08] hover:border-gray-400 dark:hover:border-white/15 transition-all"
+ className="w-full flex items-center justify-center gap-1.5 px-2.5 py-1.5 rounded-md text-[0.65rem] font-medium bg-gray-50 dark:bg-white/[0.03] hover:bg-gray-100 dark:hover:bg-white/[0.05] text-gray-800 dark:text-gray-200 border border-gray-200 dark:border-white/[0.06] hover:border-gray-300 dark:hover:border-white/[0.1] transition-all"
>
<Plus size={12} />
<span>New Chat</span>
@@ -552,7 +552,7 @@ export function Sidebar() {
animate={{ scale: 1, opacity: 1 }}
exit={{ scale: 0.92, opacity: 0 }}
transition={{ duration: 0.15, ease: 'easeOut' }}
- className="bg-[#363636] border border-white/10 rounded-xl p-5 max-w-[360px] w-full flex flex-col items-center gap-3 shadow-2xl"
+ className="bg-[#212121] border border-white/10 rounded-xl p-5 max-w-[360px] w-full flex flex-col items-center gap-3 shadow-2xl"
onClick={(e) => e.stopPropagation()}
>
<div className="flex items-center justify-between w-full">
diff --git a/src/stores/uiStore.ts b/src/stores/uiStore.ts
index 80e0c46e..55950da3 100644
--- a/src/stores/uiStore.ts
+++ b/src/stores/uiStore.ts
@@ -14,7 +14,10 @@ export const useUIStore = create<UIState>()((set) => ({
currentView: 'chat',
sidebarOpen: true,
- setView: (view) => set({ currentView: view }),
+ // Sidebar visibility follows the view: it's the conversation list, which
+ // only makes sense in Chat. The hamburger toggle still works on other views;
+ // it just resets to the view's default on the next setView() call.
+ setView: (view) => set({ currentView: view, sidebarOpen: view === 'chat' }),
toggleSidebar: () => set((state) => ({ sidebarOpen: !state.sidebarOpen })),
setSidebarOpen: (open) => set({ sidebarOpen: open }),
}))