Larger text area with support for dragging in images

This commit is contained in:
Matt Rubens
2024-12-11 15:51:06 -05:00
parent 7e05dc0139
commit d7e35d0834
2 changed files with 64 additions and 7 deletions

View File

@@ -689,7 +689,7 @@ const ChatView = ({ isHidden, showAnnouncement, hideAnnouncement, showHistoryVie
useEvent("wheel", handleWheel, window, { passive: true }) // passive improves scrolling performance
const placeholderText = useMemo(() => {
const text = task ? "Type a message (@ to add context)..." : "Type your task here (@ to add context)..."
const text = task ? "Type a message...\n(@ to add context, hold shift to drag in images)" : "Type your task here...\n(@ to add context, hold shift to drag in images)"
return text
}, [task])