quality pass 3: preview cleanup, gif filter hoist, config logging

- startOver clears previewPath/trimPreviewPath and resets gif settings
- startOver resets format/fps/dither to config defaults
- Main onMount wraps getConfig in try/catch
- unify DownloadProgress/UpdateDownloadProgress into single type
- default_output_path borrows config instead of cloning
- encode_gif_pass filter prefixes computed once outside retry loop
- config backup path included in warning log
- capture ffmpeg stderr logged at debug level instead of error
- is_newer comment notes pre-release version handling
- Picker hover debounced to ~33ms
- Picker emits picker-cancel on unmount
This commit is contained in:
2026-05-30 00:13:58 +03:00
parent 2cd836b09e
commit f3ff35a48b
6 changed files with 29 additions and 16 deletions
+2 -7
View File
@@ -200,11 +200,7 @@ struct DownloadProgress {
total: Option<u64>,
}
#[derive(Clone, Serialize)]
struct UpdateDownloadProgress {
downloaded: u64,
total: Option<u64>,
}
type UpdateDownloadProgress = DownloadProgress;
#[tauri::command]
async fn download_update(
@@ -646,8 +642,7 @@ pub struct ExportRequest {
#[tauri::command]
fn default_output_path(state: State<'_, AppState>, format: Format) -> String {
let cfg = lock(&state.config).clone();
let dir = output_dir(&state.app_dir, &cfg);
let dir = output_dir(&state.app_dir, &lock(&state.config));
dir.join(format!(
"bytesize-{}.{}",
timestamp_slug(),