Video export front-end: ExportDialog + TitleBar entry (H.264/.mp4)#167
Merged
Conversation
Wire the existing `export_video` backend (#112) to a front-end surface so users can render the timeline to a real .mp4 from the UI. - ExportDialog: format select (H.264/.mp4 enabled; H.265/ProRes shown disabled + "not wired" note, matching the backend's resolve_preset rejection) and resolution select (720p/1080p/4K, default seeded from the timeline's own short edge). Export → native .mp4 save dialog → exportVideo. Backend has no progress callback, so this is a status+toast surface (button reads "Exporting…", controls disabled in flight); success/failure both pushToast. - TitleBar: "Export Video" entry beside the XML export, disabled when no track holds a clip. - api.ts: exportVideo() wrapper + ExportRequest/ExportSummary types, camelCase-aligned with the Rust DTO; rejects outside Tauri. - Dropdown: optional per-option `disabled` (greyed, unselectable). - uiStore: exportDialogOpen state; mount dialog in App. - i18n: zh-CN + en keys for the dialog and title-bar entry. - Tests: pure helpers (withMp4Ext / defaultMp4Name / defaultQuality). Front-end only; no export backend logic changed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a TitleBar Export-Video entry + ExportDialog (format / resolution / save-path) calling the existing export_video backend. H.265/ProRes shown disabled (backend not wired). No fake progress (backend has no callback) — status+toast only. 10 new unit tests; web 184/184.
🤖 Generated with Claude Code