From 15bb63670a6ae0fc59133f37df35c489b4f38558 Mon Sep 17 00:00:00 2001 From: Glen Maddern Date: Fri, 20 Jun 2025 17:19:54 +1000 Subject: [PATCH] Simplify chat UI to focus on main input with pastel gradient background - Hide sidebar (conversations, model picker, MCP servers) while preserving components - Hide navbar/title bar while preserving component - Remove title text and description above input field - Add pastel gradient background (pink-purple-indigo) - Expand conversation thread to full width - Create minimal, focused interface with only white input field visible --- examples/chat-ui/src/components/ChatApp.tsx | 45 ++++++++++--------- .../src/components/ConversationThread.tsx | 31 +++++++------ 2 files changed, 43 insertions(+), 33 deletions(-) diff --git a/examples/chat-ui/src/components/ChatApp.tsx b/examples/chat-ui/src/components/ChatApp.tsx index d07ca35..b1e65af 100644 --- a/examples/chat-ui/src/components/ChatApp.tsx +++ b/examples/chat-ui/src/components/ChatApp.tsx @@ -102,27 +102,32 @@ const ChatApp: React.FC = () => { }; return ( -
+
- -
- + {/* Sidebar and Navbar components hidden but kept in codebase */} + {false && ( + <> + + + + )} +
= ({ console.log({ currentConversation }) return ( -
+
= ({
{currentConversation.messages.length === 0 ? (
-

What do you want to know?

-
-

- AI chat template built with React, Vite and Cloudflare Workers AI. -
- Find the source code on{' '} - - GitHub - - . + {/* Title and description text hidden but kept in codebase */} + {false && ( + <> +

What do you want to know?

+
+

+ AI chat template built with React, Vite and Cloudflare Workers AI. +
+ Find the source code on{' '} + + GitHub + + . +
+

-

-
+ + )}
) : (