From af615df719116d7c56cf0ad9a532f533b4f5faa3 Mon Sep 17 00:00:00 2001 From: Bohdan Triapitsyn Date: Fri, 29 May 2026 13:35:36 +0300 Subject: [PATCH] feat: show draft preset chips in mini-chat too Mini-chat uses the same centered-welcome compact layout, so the preset chips fit fine under the welcome message there as well. Drop the mini-chat exclusion. --- packages/ui/src/components/chat/ChatContainer.tsx | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/packages/ui/src/components/chat/ChatContainer.tsx b/packages/ui/src/components/chat/ChatContainer.tsx index 429515f9..b7e5d103 100644 --- a/packages/ui/src/components/chat/ChatContainer.tsx +++ b/packages/ui/src/components/chat/ChatContainer.tsx @@ -822,12 +822,10 @@ export const ChatContainer: React.FC = ({ autoOpenDraft = tr draftProjectLabel, )} - {chatSurfaceMode !== 'mini-chat' ? ( - useInputStore.getState().requestPresetSubmit(text)} - className="mt-8 max-w-md" - /> - ) : null} + useInputStore.getState().requestPresetSubmit(text)} + className="mt-8 max-w-md" + /> ) : null}