From aba21db0b27ff6396177a822f79798d92f740f93 Mon Sep 17 00:00:00 2001 From: segundavid-dev Date: Thu, 18 Jun 2026 19:26:22 +0100 Subject: [PATCH 1/4] fix(chat-panel): replace max-w-xs with responsive width --- components/chat-panel.tsx | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/components/chat-panel.tsx b/components/chat-panel.tsx index ca2fbc6f..645545ef 100644 --- a/components/chat-panel.tsx +++ b/components/chat-panel.tsx @@ -241,9 +241,7 @@ export const ChatPanel = forwardRef(({ messages, i data-testid="chat-input" className={cn( 'resize-none w-full min-h-12 rounded-fill border border-input pl-14 pr-12 pt-3 pb-1 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50', - isMobile - ? 'mobile-chat-input input bg-background' - : 'bg-muted' + isMobile ? 'mobile-chat-input input bg-background' : 'bg-muted' )} onChange={e => { setInput(e.target.value) @@ -292,10 +290,15 @@ export const ChatPanel = forwardRef(({ messages, i {selectedFile && (
- + {selectedFile.name} -
From 5897de0e011c03bd6b0f7cb08785de3c8109722d Mon Sep 17 00:00:00 2001 From: segundavid-dev Date: Thu, 18 Jun 2026 19:28:24 +0100 Subject: [PATCH 2/4] fix(search-results): add line-clamp-2 to DialogDescription to prevent query string overflow --- components/search-results-image.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/components/search-results-image.tsx b/components/search-results-image.tsx index 50229d01..8cd58d63 100644 --- a/components/search-results-image.tsx +++ b/components/search-results-image.tsx @@ -21,7 +21,6 @@ import { import { useEffect, useState } from 'react' import { PlusCircle } from 'lucide-react' import { motion } from 'framer-motion' -import 'glassmorphic/glassmorphic.css' interface SearchResultsImageSectionProps { images: string[] @@ -98,7 +97,9 @@ export const SearchResultsImageSection: React.FC< Search Images - {query} + + {query} +
Date: Thu, 18 Jun 2026 19:30:52 +0100 Subject: [PATCH 3/4] fix(ui): resolve text overflow issues across chat, search, and calendar components --- app/layout.tsx | 1 + components/calendar-notepad.tsx | 6 ++--- components/video-search-results.tsx | 2 +- tests/responsive.spec.ts | 37 +++++++++++++++++++++++++++++ 4 files changed, 42 insertions(+), 4 deletions(-) diff --git a/app/layout.tsx b/app/layout.tsx index b9ea46ea..52caca68 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -2,6 +2,7 @@ import type { Metadata, Viewport } from 'next' import { Inter as FontSans, Poppins } from 'next/font/google' import './globals.css' import 'katex/dist/katex.min.css'; +import 'glassmorphic/glassmorphic.css'; import { cn } from '@/lib/utils' import { ThemeProvider } from '@/components/theme-provider' import Header from '@/components/header' diff --git a/components/calendar-notepad.tsx b/components/calendar-notepad.tsx index 41decd98..cab74b0e 100644 --- a/components/calendar-notepad.tsx +++ b/components/calendar-notepad.tsx @@ -92,7 +92,7 @@ export function CalendarNotepad({ chatId }: CalendarNotepadProps) { }; return ( -
+
); })}