Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: paste image and drag/drop file #515

Open
wants to merge 10 commits into
base: v1.0
Choose a base branch
from

Conversation

bwrageous
Copy link

  • Ability to paste selected image from clipboard to goose input with respective image preview tile
  • Drag and drop a file to input with respective file preview tile.
  • File attachment previews display in usermessage
  • LLM analysis still needs to be set up

- Add image compression (800px max, 0.8 JPEG quality)
- Support clipboard paste and file selection
- Implement base64 encoding for LLM processing
- Add temporary file storage for system access
- Structure image data with preview and compressed versions
- Send images alongside text in custom submit events
- Implement drag and drop zone for files
- Add support for multiple attachments (both images and files)
- Create new AttachmentPreview and FilePreviewTile components
- Update Input component to handle multiple attachments
- Update UserMessage to display multiple attachments
- Refactor ImagePreview component to support different display modes
- Update forge configuration
@bwrageous bwrageous changed the title Bwrage/drag drop file feat: paste image and drag/drop file Dec 20, 2024
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