Merge pull request #441 from buster-so/big-nate/bus-1275-change-todo-list-code-component-to-the-not-collapsed

Collapsible height for component
This commit is contained in:
Nate Kelley 2025-07-08 13:09:26 -06:00 committed by GitHub
commit 2b63819d03
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 2 additions and 4 deletions

View File

@ -22,7 +22,7 @@ interface FileCardProps {
headerWrapper?: React.ComponentType<{ children: React.ReactNode }>;
}
const MIN_COLLAPSIBLE_HEIGHT = 225;
const MIN_COLLAPSIBLE_HEIGHT = 275;
export const FileCard = React.memo(
({

View File

@ -10,8 +10,6 @@ export const ChatHeader: React.FC = React.memo(() => {
const chatTitle = useChatIndividualContextSelector((state) => state.chatTitle);
const isCompletedStream = useChatIndividualContextSelector((state) => state.isStreamingMessage);
if (!chatTitle) return null;
return (
<>
<ChatHeaderTitle

View File

@ -25,7 +25,7 @@ export const ChatHeaderTitle: React.FC<{
<AnimatePresence mode="wait" initial={!isCompletedStream}>
<motion.div
{...(!isCompletedStream ? animation : {})}
key={chatTitle}
key={chatTitle || 'initial'}
className="flex w-full items-center overflow-hidden">
<EditableTitle
className="w-full"