Add batch transcription support - #44
Conversation
There was a problem hiding this comment.
Pull request overview
This PR adds batch transcription support to the application, enabling users to process multiple audio/video files sequentially. The implementation introduces a queue-based architecture with comprehensive UI components for managing batch operations.
Key changes:
- Introduced queue management system with
useBatchQueueanduseQueueSelectionhooks - Refactored
useTranscriptionhook to focus on file handling, moving transcription logic to batch queue - Added
FileQueuecomponent for visualizing and managing the transcription queue - Updated
FileDropZoneto support multiple file selection and drag-and-drop
Reviewed changes
Copilot reviewed 38 out of 39 changed files in this pull request and generated 8 comments.
Show a summary per file
| File | Description |
|---|---|
src/shared/types.ts |
Added QueueItem and QueueItemStatus types for batch queue management |
src/shared/utils.ts |
Updated sanitizePath to accept null/undefined for safer handling |
src/renderer/features/transcription/hooks/useBatchQueue.ts |
New hook implementing batch queue logic with sequential processing |
src/renderer/features/transcription/hooks/useQueueSelection.ts |
New hook for managing queue item selection and transcription display |
src/renderer/features/transcription/hooks/useTranscription.ts |
Refactored to remove transcription logic, now focused on file operations |
src/renderer/features/transcription/components/FileQueue/ |
New component displaying queue status with progress indicators |
src/renderer/features/transcription/components/FileDropZone/ |
Updated to support multiple file selection and batch operations |
src/renderer/contexts/AppContext.tsx |
Integrated batch queue hooks and updated state management |
src/renderer/utils/fileProcessing.ts |
New utility for selecting and validating multiple files |
src/main/ipc/index.ts |
Added IPC handler for multiple file selection dialog |
src/preload/index.ts |
Exposed openMultipleFiles API to renderer process |
| Test files | Comprehensive test coverage for new hooks and components |
| Documentation | Updated README and docs to reflect batch processing feature |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 49 out of 50 changed files in this pull request and generated 4 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
🎉 This PR is included in version 1.8.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
No description provided.