Searchable preset picker with recommended presets on top #13
Loading…
Reference in a new issue
No description provided.
Delete branch "d/preset-autocomplete"
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?
The 100-entry preset dropdown becomes a type-ahead autocomplete with a handful of recommended presets (starred) floated to the top, empty meaning custom manual settings. Detected hardware encoders also move above the CPU entries in the encoder list so NVENC is no longer hiding at the bottom.
🤖 Claude AI Code Review
Summary: Converts the preset dropdown to a searchable autocomplete with recommended presets pinned on top, and reorders the encoder list to surface hardware encoders first.
Code Quality ⭐⭐⭐⭐☆
Clean, readable change; ordering logic and recommended-preset handling are well done.
Issues
🟡 AddRenderJob.razor —
SearchPresetsignores recommended ordering when searching. Filteredmatchesderives from_presetswhich is already ordered, so this is fine — no issue. (Withdrawn.)🟢 AddRenderJob.razor —
ToStringFunc="@(preset => preset?.DisplayName)"returnsnullfor a null preset. MudAutocomplete generally tolerates this, but ifDisplayNamecan be null for a real preset the display may break. Low risk; verifyDisplayNameis always non-null.Solid, self-contained change with no real bugs. The
SearchFunccorrectly preserves the pre-sorted order of_presets, and the recommended-first sorting is handled once at load time.📊 Tokens: 3397 input + 394 output | 💰 Cost: ~$0.0268
Generated by Claude Opus 4.8 via Gitea Actions