feat: add native clipboard support for screenshot paste #67

Merged
naomi merged 8 commits from feat/keep-workin into main 2026-01-25 13:08:38 -08:00

8 Commits

Author SHA1 Message Date
naomi 2448521d2e style: fix prettier formatting issues
Security Scan and Upload / Security & DefectDojo Upload (pull_request) Successful in 57s
CI / Lint & Test (pull_request) Successful in 14m34s
CI / Build Linux (pull_request) Successful in 18m24s
CI / Build Windows (cross-compile) (pull_request) Successful in 28m12s
- Format RELEASE_NOTES_v0.3.0.md
- Format AttachmentPreview.svelte
- Format InputBar.svelte

All checks now passing! ✨
2026-01-25 11:11:22 -08:00
hikari 1e5c1c815e fix: show actual file size for picked files
Security Scan and Upload / Security & DefectDojo Upload (pull_request) Successful in 48s
CI / Lint & Test (pull_request) Failing after 5m42s
CI / Build Linux (pull_request) Has been skipped
CI / Build Windows (cross-compile) (pull_request) Has been skipped
2026-01-24 16:14:33 -08:00
naomi 07f9cf8c30 feat: add native clipboard support for screenshot paste
Security Scan and Upload / Security & DefectDojo Upload (pull_request) Successful in 59s
CI / Lint & Test (pull_request) Failing after 6m1s
CI / Build Linux (pull_request) Has been skipped
CI / Build Windows (cross-compile) (pull_request) Has been skipped
- Add Tauri clipboard-manager plugin for native clipboard access
- Fall back to native clipboard when WebView clipboard API returns empty
- Convert RGBA image data to PNG via canvas for saving
- Allow sending messages with attachments only (no text required)
- Log attached files to output with 📎 emoji
- Update send button to enable when attachments exist

Co-Authored-By: Naomi Carrigan <commits@nhcarrigan.com>
2026-01-24 16:10:32 -08:00
hikari a183a7ef47 feat: add clipboard paste file support (#65) 2026-01-24 14:03:45 -08:00
hikari daa7317aab feat: add drag and drop file support (#64) 2026-01-24 14:02:36 -08:00
hikari a191bdef23 feat: add file picker button for attachments (#63) 2026-01-24 14:01:01 -08:00
hikari d3bab9cbab feat: add attachment preview UI component (#66)
- Create Attachment interface in messages.ts
- Create AttachmentPreview.svelte component with:
  - Image thumbnails for image attachments
  - File icons for documents
  - File size display
  - Remove button on hover
- Add attachments array to Conversation interface
- Add attachment management methods to conversation store:
  - addAttachment, removeAttachment, clearAttachments, getAttachments
- Integrate AttachmentPreview into InputBar
- Clear attachments on conversation reset
2026-01-24 13:57:51 -08:00
hikari 2e5de9dc5e feat: add temp file management system for file uploads (#62)
Implements the foundation for file upload support by adding a temp file
management system that tracks files per conversation.

- Add temp_manager.rs module with TempFileManager struct
- Add Tauri commands: save_temp_file, register_temp_file, get_temp_files,
  cleanup_temp_files, cleanup_all_temp_files, cleanup_orphaned_temp_files
- Clean up orphaned files from previous sessions on app startup
- Clean up temp files when conversation is deleted
- Store temp files in /tmp/hikari-uploads/ with unique UUIDs
2026-01-24 13:50:50 -08:00