feat: add file upload support #7

Closed
opened 2026-01-15 20:49:31 -08:00 by naomi · 0 comments
Owner

Allow users to upload files directly to the conversation.

Implementation Approach

Since Claude Code can read files via their path, our approach is to:

  1. Provide UI affordances for file selection (button, drag-drop, paste)
  2. For user-selected files: inject the file path into the message
  3. For pasted/dropped content: save to a temp file, then inject that path
  4. Show visual previews of attachments in our UI

This way Claude Code uses its native Read tool to access the files, and users get a nice UX with visual feedback!

Subtasks

  • #62 - File picker button implementation
  • #63 - Drag & drop file support
  • #64 - Clipboard paste support for images
  • #65 - Attachment preview UI component
  • #66 - Temp file management system

Original Details

  • Drag and drop support
  • File picker button
  • Support for common file types (images, text files, code files)
  • Handle large files appropriately

This issue was refined with help from Hikari~ 🌸

Allow users to upload files directly to the conversation. ## Implementation Approach Since Claude Code can read files via their path, our approach is to: 1. Provide UI affordances for file selection (button, drag-drop, paste) 2. For user-selected files: inject the file path into the message 3. For pasted/dropped content: save to a temp file, then inject that path 4. Show visual previews of attachments in our UI This way Claude Code uses its native `Read` tool to access the files, and users get a nice UX with visual feedback! ## Subtasks - [ ] #62 - File picker button implementation - [ ] #63 - Drag & drop file support - [ ] #64 - Clipboard paste support for images - [ ] #65 - Attachment preview UI component - [ ] #66 - Temp file management system ## Original Details - Drag and drop support - File picker button - Support for common file types (images, text files, code files) - Handle large files appropriately --- *✨ This issue was refined with help from Hikari~ 🌸*
naomi added the
priority
high
2
label 2026-01-21 09:45:46 -08:00
Sign in to join this conversation.
No Label
priority
high
2
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: nhcarrigan/hikari-desktop#7