feat(captions): export subtitle files#355
Conversation
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
Closing this old draft for now so the open PR list reflects current release work. Subtitle-file export can be revived later as a fresh PR from current main with an Electron save-dialog smoke and focused owner review. |
Description
Add separate subtitle-file export for generated captions, with SRT and WebVTT output options in the Captions panel.
Motivation
Issue #334 asks for exporting captions/subtitles as a separate file rather than baking captions into the rendered video. This keeps the feature scoped to caption-file export and avoids coupling it to the video render pipeline.
Type of Change
Related Issue(s)
Changes Made
Export SRTandExport VTTactions to the Captions panel when captions existTesting Guide
Export SRTand save the file.Export VTTand save the file.Checklist
Local checks run:
vitest run src/components/video-editor/subtitleExport.test.tstsc --noEmitbiome check --formatter-enabled=false electron/ipc/register/export.ts electron/preload.ts electron/electron-env.d.ts src/components/video-editor/SettingsPanel.tsx src/components/video-editor/VideoEditor.tsx src/components/video-editor/subtitleExport.ts src/components/video-editor/subtitleExport.test.tsNotes:
handleExportsmoke-export dependency warnings inVideoEditor.tsx; this PR leaves those unrelated warnings untouched.