Commit Graph

440 Commits

Author SHA1 Message Date
Stu Leak
8a8d08c9b5 Hide quality preset when CRF value set 2026-01-04 06:15:14 -05:00
Stu Leak
238cfba73f Remove unsupported entry min size calls 2026-01-04 06:13:51 -05:00
Stu Leak
e884d57fc3 Hide quality preset when CRF override set 2026-01-04 06:12:46 -05:00
Stu Leak
257f415c85 Fix output row entry sizing 2026-01-04 06:09:22 -05:00
Stu Leak
a3272e2555 Align convert dropdown styling 2026-01-04 06:08:36 -05:00
Stu Leak
ea0fe6fdc3 Center output entry text and hide redundant output hint 2026-01-04 05:51:25 -05:00
Stu Leak
979525d851 Keep codec controls visible in remux mode 2026-01-04 05:49:51 -05:00
Stu Leak
034f29e9b1 Add space key scrolling for convert settings 2026-01-04 05:45:59 -05:00
Stu Leak
61a9464d7f Refine donation copy row and labels 2026-01-04 05:35:11 -05:00
Stu Leak
eba8e589a9 Style donation copy button 2026-01-04 05:32:48 -05:00
Stu Leak
a4729e0aa4 Adjust about logos and QR code density 2026-01-04 05:30:31 -05:00
Stu Leak
efa8feaf46 Add spacing between codec and preset controls 2026-01-04 05:23:23 -05:00
Stu Leak
1a84a8b77c Fix unused imports and restore openFile helper 2026-01-04 05:21:11 -05:00
Stu Leak
9e39aee5c8 Update audio playback to oto v3 API and fix imports 2026-01-04 05:17:40 -05:00
Stu Leak
602b5854cc Fix convert UI build errors and QR image init 2026-01-04 05:14:08 -05:00
Stu Leak
ae7cea66d1 Clamp player surface to 360px height on 1080p 2026-01-04 05:11:15 -05:00
Stu Leak
cefedc2bd5 Commit pending assets, deps, and enhancement fixes 2026-01-04 05:09:32 -05:00
Stu Leak
d66116c3ab Add copy button for donation address 2026-01-04 04:57:22 -05:00
Stu Leak
a79adae7b1 Add donation address to about dialog 2026-01-04 04:54:06 -05:00
Stu Leak
586b84c39d Add styled output folder and filename rows to convert UI 2026-01-04 04:45:21 -05:00
Stu Leak
5ce8d246c6 Fix imports and QR module dependency 2026-01-04 04:32:56 -05:00
Stu Leak
4c07c7f560 Use ratio layout for codec and preset row 2026-01-04 04:11:27 -05:00
Stu Leak
896bf5b1e0 Align video codec and preset controls in convert UI 2026-01-04 04:08:11 -05:00
Stu Leak
855a66a8e4 Bump version to v0.1.0-dev23 2026-01-04 03:11:18 -05:00
Stu Leak
5f1d2e4e26 Align convert action buttons with panel styling 2026-01-04 03:09:10 -05:00
Stu Leak
07285088ce Fix about dialog sizing shim 2026-01-04 03:01:37 -05:00
Stu Leak
f5e1fe0f39 Add support coming soon line to about dialog 2026-01-04 02:59:30 -05:00
Stu Leak
329be6e968 Rework about dialog layout to match mockup 2026-01-04 02:59:04 -05:00
Stu Leak
3761d48d46 Wrap about dialog text and allow scrolling 2026-01-04 02:45:11 -05:00
Stu Leak
d87511277c Resize about logo for better legibility 2026-01-04 02:43:01 -05:00
Stu Leak
e090fe0dc1 Tighten about logo size and align top-right 2026-01-04 02:41:20 -05:00
Stu Leak
e5d76e72d9 Loosen split min size and scroll thumbnail settings 2026-01-04 02:12:45 -05:00
Stu Leak
4a5cfeb3ab Add LT logo to About dialog 2026-01-04 02:05:22 -05:00
Stu Leak
5fefe22300 Load multiple thumbnails like convert 2026-01-04 00:22:52 -05:00
Stu Leak
0bf4ee54d5 Lazy-load thumbnail previews for batch drops 2026-01-04 00:16:27 -05:00
Stu Leak
223ff7203b Disable player sync in thumbnails preview 2026-01-04 00:14:08 -05:00
Stu Leak
c81c7873e0 Write logs under user config 2026-01-04 00:02:22 -05:00
Stu Leak
a9008316b8 Show multi-file list in thumbnails 2026-01-03 23:51:37 -05:00
Stu Leak
262012d2dd Add lightweight queue elapsed updates 2026-01-03 23:49:25 -05:00
Stu Leak
c80619f711 Tighten thumbnail columns and queue refresh 2026-01-03 23:47:11 -05:00
Stu Leak
8cfa43b210 Queue multiple thumbnail drops 2026-01-03 23:44:46 -05:00
Stu Leak
db0d12865c Open thumbnail results in default viewer 2026-01-03 23:36:03 -05:00
Stu Leak
b29fb661cf Improve thumbnail settings layout 2026-01-03 23:34:58 -05:00
Stu Leak
22e3c5a2e3 feat(ui): complete Phase 1 - debouncing, validation, callback registry
Phase 1 Complete - Convert UI Cleanup (dev23):

Debouncing (eliminates remaining sync flags):
- Add createDebouncedCallback() helper with 300ms delay
- Apply debouncing to CRF entry (updates: ~10/sec → ~3/sec)
- Apply debouncing to bitrate entry (eliminates syncingBitrate flag)
- Apply debouncing to target file size entry (eliminates syncingTargetSize flag)
- Remove all remaining sync boolean flags (syncingBitrate, syncingTargetSize)

Input Validation:
- Add validateCRF() - enforces 0-51 range
- Add validateBitrate() - checks positive numbers, warns on extremes
- Add validateFileSize() - checks positive numbers
- Apply validation to CRF, bitrate, and file size entries
- Provides immediate user feedback on invalid input

Callback Registry:
- Create callbackRegistry to replace nil checks
- Add registerCallback() and callCallback() with logging
- Use in setQuality() to eliminate 'if updateEncodingControls != nil'
- Foundation for eliminating 21+ nil checks (will expand in future)

Impact Summary:
- ALL sync flags eliminated: 5 → 0 (100% reduction!)
- Command preview updates while typing: ~10/sec → ~3/sec (70% reduction!)
- Input validation prevents invalid configurations
- Debouncing improves perceived responsiveness
- Callback registry provides better debugging (logs missing callbacks)

Files modified:
- internal/ui/components.go (SetSelectedSilent)
- main.go (debouncing, validation, callback registry)

Phase 1 COMPLETE! Ready for Phase 2 (ColoredSelect expansion & visual polish)
2026-01-03 23:16:08 -05:00
Stu Leak
24345bc8df feat(ui): implement state manager pattern, eliminate 3 sync flags
Phase 1 Progress - Convert UI Cleanup (dev23):

Architecture Improvements:
- Add SetSelectedSilent() method to ColoredSelect to prevent callback loops
- Create convertUIState manager with setQuality(), setResolution(), setAspect(), setBitratePreset()
- Eliminate syncingQuality flag (quality widgets use state manager)
- Eliminate syncingAspect flag and syncAspect() function (aspect widgets use state manager)
- Eliminate syncingBitratePreset flag (bitrate preset widgets use state manager)

Impact:
- Sync flags reduced from 5 to 2 (60% reduction)
- Automatic widget synchronization (no manual SetSelected calls)
- Single source of truth for UI state
- Foundation for eliminating remaining sync flags

Remaining: syncingBitrate, syncingTargetSize (text entry debouncing needed)

Files modified:
- internal/ui/components.go (SetSelectedSilent method)
- main.go (state manager, widget callbacks)
2026-01-03 23:03:10 -05:00
Stu Leak
61048943c7 Optimize queue updates and colored selects 2026-01-03 22:15:46 -05:00
Stu Leak
aabe61ca0e fix: update main menu version display to dev22
- Update appVersion constant from dev21 to dev22
- Ensures main menu footer and About dialog show correct version
- Completes dev22 release preparation

All build fixes applied and version correctly displayed.
2026-01-03 13:58:22 -05:00
Stu Leak
40b50b9274 fix: resolve build errors by removing partial job editing integration
Fixed compilation errors in queueview.go:
- Added missing 'image' import for StripedProgress renderer
- Removed 'theme' import (no longer used after Edit button removal)
- Removed incomplete onEditJob integration (parameter and Edit button)

Fixed compilation errors in main.go:
- Removed editJobManager field from appState struct
- Removed JobTypeEditJob case statement from job executor
- Removed executeEditJob function (150 lines with API errors)
- Removed editJobManager initialization

Updated WORKING_ON.md:
- Confirmed acceptance of opencode's Option A recommendation
- Documented all removed integration points
- Listed preserved WIP files for dev23

Job editing feature is preserved in WIP files for dev23:
- internal/queue/edit.go (not committed, ready for dev23)
- internal/ui/command_editor.go (not committed, ready for dev23)
- internal/queue/execute_edit_job.go.wip (needs import fixes)

Aligns with opencode's Option A recommendation to release
clean dev22 and complete job editing properly in dev23.
2026-01-03 13:53:31 -05:00
Stu Leak
a981f78078 chore: release v0.1.0-dev22
Version bump to v0.1.0-dev22 (Build 21) with comprehensive CHANGELOG update.

Features:
- Automatic GPU detection for hardware encoding (auto-selects nvenc/amf/qsv)
- SVT-AV1 speed preset mapping (prevents 80+ hour encodes)
- UI splitter fluidity improvements
- Windows FFmpeg popup suppression
- Format selector widget

Fixes:
- Restored proper AV1 encoding support
- JobType constant consistency (JobTypeFilter)
- Build errors resolved (formatContainer, forward declarations)
- Git remote corrected to git.leaktechnologies.dev

Coordination:
- Updated WORKING_ON.md with dev22 status
- Documented opencode's WIP job editing feature for dev23
- Moved execute_edit_job.go.wip out of build path
2026-01-03 13:34:17 -05:00
Stu Leak
e5df961a41 fix: resolve build errors and complete dev22 fixes
- Fixed syntax error in main.go formatBackground section
- Added formatContainer widget for format selection in Convert module
- Fixed forward declaration issues for updateDVDOptions and buildCommandPreview
- Added GPUVendor() method to sysinfo.HardwareInfo for GPU detection
- Implemented automatic GPU detection for hardware encoding (auto mode)
- Fixed JobTypeFilters -> JobTypeFilter naming inconsistency in queue.go
- Added proper JobType specifications to all queue constants
- Removed duplicate/conflicting types.go file

This fixes all compilation errors and completes the dev22 release readiness.
2026-01-03 13:17:30 -05:00