Keep composer drafts across reloads and preview attached images
The composer's unsent text and uploaded files are kept in localStorage per bot and workspace until sent. Picked images show a small preview in place of their icon. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
@@ -22,6 +22,7 @@ export default function ComposerAttachments({ pending, onRemove }: Props) {
|
||||
status={item.status}
|
||||
attachment={item.attachment}
|
||||
error={item.error}
|
||||
preview_url={item.preview_url}
|
||||
onRemove={() => onRemove({ key: item.key })}
|
||||
/>
|
||||
))}
|
||||
|
||||
Reference in New Issue
Block a user