VideoTools/internal
Stu Leak 385c6f736d Phase 4: Create sidebar UI components
Added history sidebar UI with tabs for completed and failed jobs.
Created reusable UI components and helpers for displaying history entries.

Changes:
- internal/ui/mainmenu.go:
  * Added HistoryEntry type definition
  * Added BuildHistorySidebar() for main sidebar UI with tabs
  * Added buildHistoryList() and buildHistoryItem() helpers
  * Added imports for queue and utils packages

- internal/ui/components.go:
  * Moved GetStatusColor() and BuildModuleBadge() here as shared functions
  * Added queue and utils imports for shared helpers

- internal/ui/queueview.go:
  * Updated to use shared GetStatusColor() and BuildModuleBadge()
  * Removed duplicate function definitions

- main.go:
  * Updated to use ui.HistoryEntry type throughout
  * Updated historyConfig, appState, and all methods to use ui.HistoryEntry

The sidebar displays history entries with:
- Status-colored indicators (green/red/orange)
- Module type badges with colors
- Shortened titles and formatted timestamps
- Separate tabs for "Completed" and "Failed" (includes cancelled)
- Empty state messages when no entries exist

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-17 19:34:22 -05:00
..
app Remove unused import in dvd adapter 2025-12-09 11:41:07 -05:00
benchmark Fix benchmark progress bar percentage calculation 2025-12-13 14:04:20 -05:00
convert Normalize MP4 format label, improve log readability, and prep reduction display 2025-12-08 18:46:34 -05:00
interlace Add interlacing analysis UI to Convert module 2025-12-13 16:43:05 -05:00
logging Refactor to modular architecture with rainbow UI (v0.1.0-dev8) 2025-11-23 14:56:37 -05:00
metadata Add queue error copy, auto naming helper, and metadata templating 2025-12-07 12:03:21 -05:00
modules Complete dev18: Thumbnail enhancements, Player/Filters/Upscale modules, and precise snippet generation 2025-12-15 15:36:24 -05:00
player Improve queue system reliability and add auto-resolution for DVD formats 2025-11-29 20:07:35 -05:00
queue Fix queue stats to properly distinguish cancelled from failed jobs 2025-12-17 14:25:18 -05:00
thumbnail Import json/strconv for thumbnail ffprobe parsing 2025-12-17 19:09:43 -05:00
ui Phase 4: Create sidebar UI components 2025-12-17 19:34:22 -05:00
utils Show bitrate in kbps/Mbps and expand presets 2025-12-08 23:53:40 -05:00