Show only narrowed track selections on queue cards #28

Merged
cheapnud merged 1 commit from d/queue-selected-tracks into master 2026-08-23 18:28:55 +00:00
Owner

A job that keeps every track no longer stores the full track list, so the queue card track chip only appears when tracks were actually narrowed. Rendering is unchanged (all-selected and null behave identically).

A job that keeps every track no longer stores the full track list, so the queue card track chip only appears when tracks were actually narrowed. Rendering is unchanged (all-selected and null behave identically).
Only store track selection when it narrows the track set
All checks were successful
Claude PR Review / AI Code Review (pull_request) Successful in 12s
Build & Test / Build and Test (pull_request) Successful in 37s
cbd4bf7f10

🤖 Claude AI Code Review

  1. Summary: Stores narrowed track selections only, treating "all selected" as null so the queue card chip appears only when tracks were actually narrowed.

  2. Code Quality
    Clear intent, well-documented rationale, minimal and focused change.

  3. Issues

🟡 AddRenderJob.razor — Verify ApplyTrackSelection truly treats null and full-list identically. The correctness of this change hinges entirely on that assumption. If any downstream consumer (e.g. rendering with a subset of available-but-not-selected-vs-all logic) distinguishes null from an explicit full list, this silently drops track filtering. Confirm this holds.

🟢 AddRenderJob.razor — If selectedVideoIndices can contain a subset that equals _videoTracks.Count but with different indices (e.g. duplicates or stale indices), the .Length < .Count guard would misclassify. Unlikely given the .Select source, but worth a sanity check.

  1. Verdict: APPROVE

The change is small, well-reasoned, and self-consistent given the stated behavior of ApplyTrackSelection. Just confirm the null-equals-all assumption once before merge.


📊 Tokens: 1234 input + 426 output | 💰 Cost: ~$0.0168
Generated by Claude Opus 4.8 via Gitea Actions

## 🤖 Claude AI Code Review 1. **Summary**: Stores narrowed track selections only, treating "all selected" as null so the queue card chip appears only when tracks were actually narrowed. 2. **Code Quality** ⭐⭐⭐⭐☆ Clear intent, well-documented rationale, minimal and focused change. 3. **Issues** 🟡 AddRenderJob.razor — Verify `ApplyTrackSelection` truly treats null and full-list identically. The correctness of this change hinges entirely on that assumption. If any downstream consumer (e.g. rendering with a subset of available-but-not-selected-vs-all logic) distinguishes null from an explicit full list, this silently drops track filtering. Confirm this holds. 🟢 AddRenderJob.razor — If `selectedVideoIndices` can contain a subset that equals `_videoTracks.Count` but with different indices (e.g. duplicates or stale indices), the `.Length < .Count` guard would misclassify. Unlikely given the `.Select` source, but worth a sanity check. 4. **Verdict**: **APPROVE** The change is small, well-reasoned, and self-consistent given the stated behavior of `ApplyTrackSelection`. Just confirm the null-equals-all assumption once before merge. --- 📊 **Tokens**: 1234 input + 426 output | 💰 **Cost**: ~$0.0168 *Generated by Claude Opus 4.8 via Gitea Actions*
cheapnud merged commit b2883592a9 into master 2026-08-23 18:28:55 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
cheapnud/CheapShotcutRandomizer!28
No description provided.