Show job selection summary and estimated final size on queue cards #26
Loading…
Reference in a new issue
No description provided.
Delete branch "d/queue-job-summary"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
🤖 Claude AI Code Review
Summary
Adds a selection summary chip row and estimated final size to render job cards, plus a
PresetNamefield for display.Code Quality ⭐⭐⭐⭐☆
Clean, defensive parsing with sensible caching and thoughtful edge-case handling (low-progress ratio guard, null codecs).
Issues
🟢 RenderJobCard.razor —
_estimatedFinalSizeis only recalculated insideOnFileSizeTimerElapsedwhen the output file exists. If progress reaches ≥3% but the file check path changes/misses a tick, the chip may show a stale estimate. Minor; likely acceptable given the timer refresh cadence.🟢 RenderJobCard.razor — division uses
progress / 100.0afterMath.Min(..., 100), but ifProgressPercentagecan be negative (unlikely), the estimate would go nonsensical. Guard is>= 3so effectively safe.The code is well-structured and defensive. No real bugs, resource leaks, or breaking changes found.
📊 Tokens: 4513 input + 385 output | 💰 Cost: ~$0.0322
Generated by Claude Opus 4.8 via Gitea Actions