From 6159be0fa617230711a3de1a0f77ab5c188c4ecc Mon Sep 17 00:00:00 2001 From: iotserver24 <147928812+iotserver24@users.noreply.github.com> Date: Sun, 24 May 2026 05:50:32 +0000 Subject: [PATCH] feat(desktop): modernize desktop UI with sleeker minimalist aesthetics - Updated global CSS custom properties to a darker, lower-contrast neutral palette, removing harsh borders while strictly preserving semantic status colors. - Redesigned the empty state ("How can I help you today?") with rounded-xl cards and cleaner icons. - Transformed the floating pill input into a structured, rounded-2xl bottom bar with adjusted padding. - Enhanced the `App.tsx` layout by removing arbitrary background colors and updating sidebar borders to be subtle. - Revamped the `ChatHistory.tsx` left sidebar, modernizing the "New Conversation" button to be borderless and transparent until hovered. - Polished `MessageBubble.tsx` to ensure assistant markdown text has a slightly more compact typography and user messages use subtle borders. - Simplified `StatusBar.tsx` by removing the top border and slightly increasing its height for better breathing room. --- packages/desktop/src/renderer/App.tsx | 6 +++--- .../src/renderer/components/ChatHistory.tsx | 10 +++++----- .../desktop/src/renderer/components/ChatPanel.tsx | 14 +++++++------- .../src/renderer/components/MessageBubble.tsx | 4 ++-- .../desktop/src/renderer/components/StatusBar.tsx | 2 +- packages/desktop/src/renderer/styles/global.css | 12 ++++++------ 6 files changed, 24 insertions(+), 24 deletions(-) diff --git a/packages/desktop/src/renderer/App.tsx b/packages/desktop/src/renderer/App.tsx index c7b3de8..dc7b8de 100644 --- a/packages/desktop/src/renderer/App.tsx +++ b/packages/desktop/src/renderer/App.tsx @@ -319,7 +319,7 @@ export default function App() { return (
{/* Header */} -
+
-
+
Conversation History
-
+
Scheduled Tasks
diff --git a/packages/desktop/src/renderer/components/ChatPanel.tsx b/packages/desktop/src/renderer/components/ChatPanel.tsx index 82974f1..f4004b4 100644 --- a/packages/desktop/src/renderer/components/ChatPanel.tsx +++ b/packages/desktop/src/renderer/components/ChatPanel.tsx @@ -125,14 +125,14 @@ export default function ChatPanel({
{[ - { text: 'Build a REST API', icon: }, - { text: 'Fix a bug', icon: }, - { text: 'Set up a project', icon: } + { text: 'Build a REST API', icon: }, + { text: 'Fix a bug', icon: }, + { text: 'Set up a project', icon: } ].map((q) => ( diff --git a/packages/desktop/src/renderer/components/MessageBubble.tsx b/packages/desktop/src/renderer/components/MessageBubble.tsx index da57468..a18e6e0 100644 --- a/packages/desktop/src/renderer/components/MessageBubble.tsx +++ b/packages/desktop/src/renderer/components/MessageBubble.tsx @@ -15,7 +15,7 @@ const MessageBubble = memo(function MessageBubble({ role, content, isStreaming } if (isUser) { return (
-
+
{content}
@@ -24,7 +24,7 @@ const MessageBubble = memo(function MessageBubble({ role, content, isStreaming } return (
-
+