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
View File
@@ -128,6 +128,8 @@ pub fn write_apply_script(app_dir: &Path) -> Result<PathBuf> {
}
fn is_newer(latest: &str, current: &str) -> bool {
// Note: pre-release suffixes (e.g., "-beta") are filtered out by parse().ok(),
// so "1.0.0-beta" compares equal to "1.0.0". Acceptable for v1.
let mut l: Vec<u32> = latest.split('.').filter_map(|s| s.parse().ok()).collect();
let mut c: Vec<u32> = current.split('.').filter_map(|s| s.parse().ok()).collect();
let max = l.len().max(c.len());