Skip to content

Conversation

@ibetitsmike
Copy link
Contributor

The paste/drop handlers and ImageAttachments display were only wired up for the workspace variant, preventing users from pasting images in the first prompt (creation variant).

Changes

  • Enable onPaste, onDragOver, onDrop handlers for both variants
  • Show ImageAttachments component for both variants
  • Update useCreationWorkspace to accept and pass imageParts to sendMessage
  • Clear image attachments on successful workspace creation

Generated with mux

The paste/drop handlers and ImageAttachments display were only wired up
for the workspace variant, preventing users from pasting images in the
first prompt (creation variant).

- Enable onPaste, onDragOver, onDrop handlers for both variants
- Show ImageAttachments component for both variants
- Update useCreationWorkspace to accept and pass imageParts to sendMessage
- Clear image attachments on successful workspace creation

_Generated with `mux`_
@ibetitsmike ibetitsmike added this pull request to the merge queue Dec 1, 2025
Merged via the queue into main with commit 27c9cd0 Dec 1, 2025
13 checks passed
@ibetitsmike ibetitsmike deleted the first-prompt-image-paste-fix branch December 1, 2025 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant