Skip to content

Add batch transcription support - #44

Merged
pedrovsiqueira merged 5 commits into
mainfrom
feature/batch-transcriptions
Dec 21, 2025
Merged

Add batch transcription support#44
pedrovsiqueira merged 5 commits into
mainfrom
feature/batch-transcriptions

Conversation

@pedrovsiqueira

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings December 20, 2025 16:08

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 useBatchQueue and useQueueSelection hooks
  • Refactored useTranscription hook to focus on file handling, moving transcription logic to batch queue
  • Added FileQueue component for visualizing and managing the transcription queue
  • Updated FileDropZone to 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.

Comment thread src/renderer/features/transcription/hooks/useBatchQueue.ts
Comment thread src/renderer/features/transcription/hooks/useBatchQueue.ts
Comment thread src/renderer/features/transcription/hooks/useBatchQueue.ts
Comment thread src/renderer/contexts/AppContext.tsx Outdated
Comment thread src/renderer/contexts/AppContext.tsx Outdated
Comment thread src/renderer/features/transcription/hooks/useBatchQueue.ts Outdated
Comment thread src/renderer/contexts/AppContext.tsx Outdated
Copilot AI review requested due to automatic review settings December 20, 2025 16:33

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread src/renderer/utils/fileProcessing.ts
Comment thread src/renderer/features/transcription/hooks/useBatchQueue.ts
@pedrovsiqueira
pedrovsiqueira merged commit 425cb30 into main Dec 21, 2025
3 checks passed
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 1.8.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants