Repository navigation
fix(web): show HDR10+ on the combined Resolution + HDR badge - #3113
Conversation
The combined poster badge collapsed every non Dolby Vision range to "HDR", so HDR10+ files read "4K HDR". It now reads "4K HDR10+". Dolby Vision files, HDR10+ hybrids included, stay "4K DV" to keep the badge short next to one in the opposite corner.
Silo Kody — review completeReview finished. Check the inline comments for findings and verify each suggestion against the code and tests. Reviewing changes in Silo
Review settingsReview OptionsThe following review options are enabled or disabled:
|
|
The combined Resolution + HDR poster badge changes from Automated check: Macroscope check run agent (gpt-6-luna). Evidence was not reviewed for correctness. Posted via Macroscope — Visible change evidence |
|
The passed Web cases #1144 C1–C5 open person pages whose filmography renders through Suggested Automated check: Macroscope check run agent (gpt-6-luna). No validation was performed. Posted via Macroscope — v1 validation impact |
Quick104
left a comment
There was a problem hiding this comment.
Reviewed bc44dddce45981682e5755879582ae79aafa6522.
Low — The PR description omits passed validation case #1144 C1. Its person-page filmography renders through ItemGrid → ItemCard → CardOverlays, so enabling the combined badge changes HDR10+ poster labels there. The validation record does not say whether that preference was enabled. I am correcting the Validation tasks: line to record this minor change; the case's listing and navigation criterion is unaffected. #1252 C1 has not been run.
No code defects found.
AI disclosure: gpt-6.1-sol in T3 Code using the Codex provider. Independent review: claude-opus-5-5 in T3 Code; tools: GitHub CLI.
|
Reviewed Fit: 10/10 · Readiness: 9/10 — ready. This fixes an existing badge in its shared formatter, with no new setting or API surface. No code defects remain. I corrected the PR description's validation-task line, check tally, and review disclosure. Verification: All 37 focused tests across media formatting, card overlays, and overlay settings pass. The new Validated features: #1144 C1 has a minor visible change when a filmography poster represents a non-DV HDR10+ title and the optional combined badge is enabled. Its listing/navigation criterion is unaffected; re-check that badge combination after merge. C2–C5's photo, search, metadata, and access criteria are unchanged, so the bot's blanket C1–C5 mapping is too broad. #1252 C1 remains not yet run. Board-wide passed-case coverage is incomplete: the helper returns an empty passed set despite #1144's recorded passes, and its PR command fails on Other feedback: The missing-evidence comment predates the evidence link now in the body. The issue discussion narrowed #1122 to the remaining poster badge, supporting its closing link. Keeping DV priority for hybrid files is the documented choice; these cards continue to say Review method: Codex at xhigh effort, with three finders, a validation check, and a final sweep at high effort; one independent claude-opus-5-5 review at high effort found no code defects and confirmed the metadata correction. Verification here used source and tests. The visual captures are the author's; this run performed no live browser or device validation. AI disclosure: gpt-6.1-sol in T3 Code using the Codex provider. Independent review: claude-opus-5-5 in T3 Code; tools: GitHub CLI. |
Problem
Closes #1122
Related issue: Silo-Server/silo-apple#261, Silo-Server/silo-android#699
Validation tasks: changes #1144 C1 (minor: filmography badge label with the optional combined badge enabled; criterion unaffected); #1252 C1 not yet run
With the optional "Resolution + HDR (combined)" poster badge turned on, HDR10+ titles read "4K HDR" on home rows, search results and library grids. The detail page and the standalone HDR badge already say HDR10+. This change makes the combined badge read "4K HDR10+".
DrHurt confirmed in #1122 on 24 October that HDR10+ and Atmos now show correctly on the web and in Jellyfin apps, and called this the last missing detail before closing the issue. #2308 made the scanner detect HDR10+ and gave the standalone HDR badge its "HDR10+" label, but missed the combined badge. #2309 was the Atmos half.
The server already sends
HDR10+orDV HDR10+as the card's overlayhdrvalue. The web'scompactHdrSuffixturned every Dolby Vision value into "DV" and everything else into "HDR", so the plus was dropped.Approach
Only the web changes here. The Apple and Android apps each carry their own copy of
compactHdrSuffixwith the same rule: Silo-Server/silo-apple#261 (DrHurt's) asks for HDR10+ labels on Apple cards, and Silo-Server/silo-android#699 covers Android. jellycompat isn't affected.Validation
compactHdrSuffixkeeps HDR10+, keeps a DV + HDR10+ file at DV, and leaves HDR10 at HDR. It fails without the change and passes with it.bc44dddce:vitest runon the media format, card overlay and overlay settings tests passes (3 files, 37 tests).tsc -p tsconfig.app.json --noEmit, ESLint and Prettier on the changed files pass.bc44dddce: 12 successful, 2 neutral, 6 skipped, 0 failing.Benchmarks. Not applicable. This changes a label, with no new queries or work.
Evidence
Evidence: https://evidence.siloserver.org/r/silo-server/pr-3113/
Surface and build: web app Home, Recently Added Movies, at 1280 px and 390 px wide, with the combined badge top-left and the audio badge top-right. Before is upstream
mainat8b84639ed, after is this branch atbc44dddce, both run locally against the same server and library: three generated 2160p clips that the scanner detected as HDR10+, HDR10 and Dolby Vision 8.1 + HDR10+.Risks
People who turned on the combined badge see a slightly wider label on HDR10+ posters. "1080p HDR10+" is the longest label it can now produce and the one most likely to truncate next to an opposite-corner badge on a narrow poster, but HDR10+ below 4K is rare.
Checklist
AI Disclosure
bc44dddce; no code defects found. The review identified the validation-task correction above.Note
Fix
compactHdrSuffixto show HDR10+ on the combined Resolution + HDR badgecompactHdrSuffixin mediaFormat.ts now returns HDR10+ for values containing HDR10+, instead of collapsing them to HDRresolution_hdroverlay description in tech.ts with a 4K HDR10+ examplecompactHdrSuffixconsumers for display widthMacroscope summarized bc44ddd.