Skip to content

feat(web): redesign the player HUD - #3993

Merged
Quick104 merged 13 commits into
mainfrom
feat/player-hud-web
Nov 12, 2026
Merged

Quick104 merged 13 commits into
mainfrom
feat/player-hud-web

Conversation

@Quick104

@Quick104 Quick104 commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Problem

Related issue: N/A
Validation tasks: changes #1156 C1, C2; changes #1149 C1; changes #1153 C1; changes #1159 C1, C3; changes #1162 C1; changes #1166 C1

The web player's controls were hard to use in several places. The title and time sat in small text straight on the picture, where a bright frame made them hard to read. The utility rail was a row of eight unlabelled icons. Each menu had its own look. On an upright phone, the controls sat at the bottom of the screen, far from a picture centred in the letterbox. Automated checks over 18 fixed player states found 68 contrast failures, 32 undersized targets, 16 axe violations and 26 failures at 200% text size.

This change redesigns the web player's controls, menus and overlays as one HUD. All 18 states now pass every check.

Approach

  • Controls: a dark scrim under the controls keeps text readable on any frame. The HUD's one highlight color, used for the played part of the timeline, selected rows and the focus ring, is the server's accent color. The seek bar is thicker and split into chapter segments, and keeps its hover preview. Under the seek bar, the title, episode line and time sit at the start, play and skip on the centreline, and volume and the settings at the end. On wide screens the settings show their current value next to the icon ("English 5.1", "Off", "Auto"). Fill screen, playback info, markers and picture in picture move into a More menu.
  • End time: the time line under the title reads "10:00 / 41:42 · Ends 2:38 AM". The end time keeps moving while paused, follows the bar during a drag, counts real time at the playback speed, treats a Watch Party as 1x and uses the profile's 12- or 24-hour clock. It comes from Rhainland's feat(player): show when playback will end on the web player #3916, credited as co-author.
  • Loading and stalls: the loading screen shows the title's backdrop dimmed behind the spinner. A stall mid-playback shows a plain spinner instead of a "Buffering" card.
  • Menus: subtitles, audio, chapters and settings share one panel. On desktop it opens as a popover just above its button, and may cover the timeline while open. On a touch screen it opens as a bottom sheet, and on a landscape phone as a side drawer. Each subtitle row shows the track's format and source, with its title on a second line. The playback speed slider becomes a row of preset speeds.
  • Upright phone: the title sits just above the picture and the seek bar, transport and buttons just below it. While the controls show, the letterbox carries a soft glow of the frame's colours.
  • End of playback: the Playing Next screen shows the finishing episode beside the next one, with the countdown and auto-play switch. The credits card and the skip pill have new styling and stay clear of the controls.

The actions, settings and shortcuts are the same. One addition: an open panel now owns Space and Enter, as menus already did.

New and reworded text goes through the shared catalog. The keys come from Silo-Server/silo-translations#13, now released. The end time reuses the catalog's translated player.scrubber.endsAt, which Android TV already shows; a small catalog change exports it to the web as well. web/src/locales is generated from a local build with that change, so this pull request moves its .silo-translations pin to the release that publishes it before merge. Main's right-to-left support carries over: logical layout, mirrored icons, and the timeline kept left to right.

Web only. The native clients get their own pull requests in silo-apple and silo-android.

Validation

  • Typecheck, ESLint (0 errors, no new warnings), Prettier, make test-web (7261 tests), production build and bundle budget, and make verify-local-paths all pass.
  • Screen states: 18 states captured in Chromium at desktop, laptop, phone portrait and phone landscape sizes, against a dev server with fixed media and timestamps. Each state is checked for text contrast, target size, overlap and clipping, axe rules, and on some states focus order, right-to-left layout and 200% text. Before: 68 contrast, 32 target-size, 9 overlap, 16 axe, 8 focus, 1 right-to-left and 26 large-text failures. After: none.
  • The accent color, panel position and subtitle rows were checked against a real library on a shared dev server, using a film with embedded PGS and ASS subtitles and seven external SRT files.
  • Also on the shared dev server: the play button sits on the centreline at 1024, 1152, 1280, 1440 and 1920 px; nothing overflows at 1024 px with a next-episode button; the end time shows on desktop and phone; a dark accent is lightened to 4.5:1 on the HUD's panels; a short desktop panel scrolls; touch speed buttons are 69×44 px.
  • Captured only in Chromium; Safari and Firefox were not checked.
  • Arabic and the other translated languages were not checked by eye; the right-to-left check runs with English text.

Evidence

Evidence: https://evidence.siloserver.org/r/silo-server/pr-3993/

Surface and build: web app, this branch through a local dev server; desktop, laptop, phone portrait and phone landscape. The latest version of the page covers the centred transport, end time, loading backdrop, stall spinner and review fixes; earlier versions hold the accent and subtitle-row round and the 18 screen states.

Risks

  • Every web viewer sees the new controls. Keyboard shortcuts and settings are unchanged.
  • The .silo-translations pin currently names a local catalog build. It must move to the published release before merge, after the catalog change that exports player.scrubber.endsAt to the web.
  • This overlaps feat(player): show when playback will end on the web player #3916, which adds the same end time to the old controls.
  • Some older player keys (for example web.player.upNext.playingNext and web.subtitles.menu.enableCaptions) are no longer used on web. They stay in the catalog for now.

Checklist

  • I read and can explain the complete diff.
  • This pull request addresses one concern.
  • Each test this pull request adds meets "Decide what to test" in CONTRIBUTING.md.
  • The Evidence section shows every change a user can see, or says there is none.

AI Disclosure

  • Harness: Claude Code, running in T3 Code
  • Tool(s): Claude Code; Codex CLI (design reviews)
  • Model(s): claude-opus-5-5 (implementation, code review, design reviews); gpt-6.1-sol (design reviews)
  • Involvement: Fully AI-generated at the maintainer's request. The maintainer chose between design options; the result is not yet human verified.
  • Adversarial review: a code review of the full diff (claude-opus-5-5) reported 10 findings, all fixed. Screenshots of every state were scored by claude-opus-5-5 and gpt-6.1-sol across several rounds.

🤖 Generated with Claude Code

Note

Redesign the video player HUD with new menus, seek bar, and ambient effects

  • Rebuilds player menus on a shared PlayerMenuSurface with focus management, keyboard navigation, and menuitemradio semantics in SubtitleMenu.tsx and QualityMenu.tsx
  • Reworks PlayerControls.tsx to select layouts from measured player size and text scale, with separate scrims, chapter/end-time metadata, and secondary actions moved into a More menu
  • Adds ambient letterbox bands (AmbientLetterbox.tsx), a loading cover with backdrop artwork and thumbhash placeholder (PlayerLoadingCover.tsx), and chapter-gap masking plus a persistent playhead in SeekBar.tsx
  • Fetches and maps backdrop URL/thumbhash into watch details and page props, and requests a capped device-pixel backdrop_width
  • Adds 34 new player/subtitle message entries across all locale catalogs in web/src/locales
  • Risk: Behavioral Change — menu Escape and arrow-key handling moves from SubtitleMenu/QualityMenu to the shared surface; PlaybackSpeedTrack.tsx is deleted and replaced by PlaybackSpeedPicker; Space/Enter inside dialog or data-player-menu elements now bypass the playback-toggle shortcut in useKeyboardShortcuts.ts

Macroscope summarized 7fdd788.

Rework the web player's controls, menus and overlays into one HUD: a
lamp-lit seek bar with chapter segments and a hover preview, a labelled
utility rail, menus on one surface (popover on desktop, sheet on touch,
a side drawer on a landscape phone), a compact speed picker, a Playing
Next screen with the finishing episode beside the next one, and an
upright-phone layout that gathers the controls around the picture with
an ambient glow in the letterbox.

New text goes through the shared catalog; web/src/locales is generated
from the silo-translations change that adds the keys.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@silo-triage silo-triage Bot added the size/XXXL 3000+ added + deleted lines (all files); change volume, not priority. label Nov 11, 2026
@silo-kody

silo-kody Bot commented Nov 11, 2026 •

Copy link
Copy Markdown

Silo Kody — review complete

Review finished. Check the inline comments for findings and verify each suggestion against the code and tests.

Reviewing changes in Silo
  • Include the related issue, expected behavior, and validation steps in the PR description.
  • For API changes, describe the effect on Apple and Android clients and Jellyfin compatibility.
  • For plugin changes, identify the affected SDK contract, plugin, and catalog entry.
  • Follow this repository's AGENTS.md and CONTRIBUTING.md.
  • Request another review with @kody start-review in a PR comment.
  • React with 👍 or 👎 to give feedback on individual suggestions.
Review settings
Review Options

The following review options are enabled or disabled:

Options Enabled
Bug ✅
Performance ✅
Security ✅
Business Logic ❌

@coderabbitai

coderabbitai Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • Resume reviews
  • Trigger review
Walkthrough

This PR refreshes the web player HUD, menus, playback overlays, loading states, and locale strings. It adds shared HUD styling, new menu semantics, dock-aware playback surfaces, backdrop loading support, and updated player and subtitle messages.

Changes: Player HUD and playback interface

Layer / File(s) Summary
Responsive controls and shared HUD styles
web/src/styles/player-hud.css, web/src/app.css, web/src/player/components/PlayerControls.tsx, web/src/player/components/AmbientLetterbox.tsx, web/src/player/utils/portraitDock.ts, web/src/player/hooks/useSubtitleLayout.ts, web/src/player/components/PlayerControlsParts.tsx, web/src/player/components/PlayerControls.test.tsx, web/src/player/components/SeekBar.tsx, web/src/player/hooks/usePlayerEndTime.ts
Adds shared HUD styles, measured responsive control layouts, portrait docking, ambient letterbox rendering, chapter-gap masking, scrub-time reporting, and shared end-time logic. Removes prior HUD and compact-layout rules from app.css.
Shared menu behavior and player menus
web/src/player/components/PlayerMenuSurface.tsx, web/src/player/components/PlayerMenuSurface.test.tsx, web/src/player/components/AudioTrackMenu.tsx, web/src/player/components/ChaptersMenu.tsx, web/src/player/components/QualityMenu.tsx, web/src/player/components/PlaybackSpeedPicker.tsx, web/src/player/components/PlaybackSpeedTrack.tsx, web/src/player/components/SubtitleMenu.tsx, web/src/player/components/VolumeControl.tsx, web/src/player/hooks/useKeyboardShortcuts.ts, web/src/player/utils/chapters.ts, web/eslint.config.js, web/eslint-suppressions.json, web/src/player/components/*Menu*.test.tsx
Adds shared menu focus and keyboard navigation. Migrates audio, chapter, quality, and subtitle menus to HUD surfaces and menu semantics. Replaces the speed track with a radio-based picker and updates related tests and lint configuration.
Playback screens and overlays
web/src/player/components/IntroSkipButton.tsx, web/src/player/components/NextEpisodeOverlay.tsx, web/src/player/components/PlayingNextScreen.tsx, web/src/player/components/PlaybackInfoOverlay.tsx, web/src/player/components/PlaybackNoticeOverlay.tsx, web/src/player/hooks/useNextEpisode.ts, web/src/player/components/PlayingNextScreen.test.tsx, web/src/playback/WatchPlaybackChrome.shuffle.test.tsx
Updates skip and next-episode surfaces with HUD styling and dock-aware positioning. Adds episode-still handling, countdown progress, autoplay switch state, and shared countdown constants.
Player integration and loading states
web/src/api/types.ts, web/src/api/v2/watch.ts, web/src/hooks/queries/items.ts, web/src/pages/watchRouteHelpers.ts, web/src/player/types.ts, web/src/player/components/PlayerLoadingCover.tsx, web/src/player/components/VideoPlayer.tsx, web/src/player/components/WatchPage.tsx
Passes backdrop data from watch detail to loading covers and requests it at a width based on screen size. Measures dock clearance for player prompts and passes video aspect and ambient-source access to controls. Updates loading, error, and playback surfaces to use the new cover and HUD classes.
Player and subtitle message catalog
.silo-translations, web/src/locales/*, web/src/locales/keys.ts, web/src/hooks/queries/autoPlayNext.ts
Adds player and subtitle messages across locales and updates generated locale keys and the catalog revision. Updates the autoplay-control wording in documentation.
Accent contrast and decoder formatting
web/src/lib/accentColor.ts, web/src/lib/accentColor.test.ts, web/src/player/engine/wasm/silo-audio-decoders.mjs
Adds contrast-adjusted player accent declarations and tests. Reformats the decoder module; the supplied summary reports no logic or exported-signature changes.

Estimated code review effort: 4 (Complex) | ~45 minutes

Change: Feature

Possibly related issues

Suggested labels: enhancement, javascript

Suggested reviewers: rhainland

Merge Risk: Low · previous review 17209

The player HUD refresh looks mergeable. Before merging, point the translation pin at the published release. The spinner motion and accent contrast items are minor and can be followed up.

Security architecture risk: Low · up to 17209

The examined controls preserve existing playback permissions and add presentation data rather than new privileges. No material security regression was identified, but verification of the affected surface remains incomplete.

Retained concerns
No architecture-level concerns identified.

Security review details

Security Blast Radius

  • inferred — The inspected changes primarily affect browser presentation and the existing playback-command surface. The optional scrub observer does not add authority to other SeekBar consumers. This is a bounded assessment, not proof that all dependent or server-side paths are unchanged.

Trust Boundaries and Controls

  • observed — Seek and skip continue through handlePlayerSeek, which rejects replaced or disconnected room state, insufficient room-management permission, and mismatched session attachment. Play/pause retains analogous transport-permission and attachment checks. The base-to-head comparison leaves these handlers and their HUD callback wiring unchanged.
  • observed — The extracted More menu preserves the marker-edit availability-plus-callback condition and the picture-in-picture availability-plus-callback condition. Marker availability still comes from the parent's markerEditor.canEdit value. These are preserved client capability conditions, not independently verified server authorization guarantees.

Resilience and Maintainability Implications

  • observed — The new touch-cancel branch clears drag and hover state without issuing a seek. Normal seek dispatch remains separate from scrub-position reporting, preserving the parent's authority checks when a command is issued.
Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title "feat(web): redesign the player HUD" matches the main change in the changeset. The raw summary shows a redesigned player HUD across controls, menus, overlays, loading covers, and the seek ba…
Description check Passed The description explains the problem, the HUD redesign approach across controls, end time, loading, menus, upright phone layout, and end-of-playback screens, plus validation, risks, and the pinned tra…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "feat(web): redesign the player HUD" matches the main change in the changeset. The raw summary shows a redesigned player HUD across controls, menus, overlays, loading covers, and the seek bar, with the title's scope limited to web. The title is specific and concise, and a teammate scanning history would understand the primary change.

Full details: Description check

Explanation

The description explains the problem, the HUD redesign approach across controls, end time, loading, menus, upright phone layout, and end-of-playback screens, plus validation, risks, and the pinned translation catalog. It relates directly to the changeset, so it passes the lenient check.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

The year and chapter line above the picture sat on the brightest part
of the letterbox glow and dropped below 4.5:1 on a light frame. It now
takes the title's colour there, and the glow is a little dimmer.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c98d631963

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +3661 to 3662
videoAspect,
} = useSubtitleLayout(containerRef, videoRef, subtitleSettings.position, videoFit);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

kody code-review Bug high

Portrait docking never activates for browser-engine playback

Browser-engine playback leaves the video element sourceless, so useSubtitleLayout passes a zero aspect ratio to the portrait HUD. Obtain the aspect ratio from the active browser-engine picture as well.

Prompt for LLM
File web/src/player/components/VideoPlayer.tsx, lines 3661-3662:

Portrait docking never activates for browser-engine playback

Browser-engine playback leaves the video element sourceless, so `useSubtitleLayout` never receives its dimensions and passes a zero aspect ratio to the portrait HUD. Obtain the aspect ratio from the active browser-engine picture as well so portrait docking works for these streams.

Talk to Kody by mentioning @kody

Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.

​

​

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not a defect. The browser engine installs a facade on the <video> element (attachEngineToElement in player/engine/facade.ts) that forwards videoWidth and videoHeight to the engine's decoded picture, and EnginePlayer.onReady dispatches loadedmetadata and resize on that element. useSubtitleLayout reads both, so the portrait dock gets the engine's aspect ratio.

🤖 Claude Code (claude-opus-5-5)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed. The facade forwards the engine’s video dimensions, and the metadata and resize events allow useSubtitleLayout to pick them up. The original suggestion is a false positive; no change is needed.

@coderabbitai coderabbitai Bot added api-v2 API v2 / Huma migration program (epic #135); long-running, stacked by phase enhancement New feature or request go Pull requests that update go code javascript Pull requests that update javascript code labels Nov 11, 2026

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 8

Review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 2f2c3d7a-1d2f-4c94-8554-c321d1634004
Commits

Reviewing files that changed from the base of the PR and between 7b3e84c and 5980846.

Files selected for processing: 49

  • .silo-translations
  • web/eslint-suppressions.json
  • web/eslint.config.js
  • web/src/app.css
  • web/src/hooks/queries/autoPlayNext.ts
  • web/src/locales/ar-XB.json
  • web/src/locales/ar.json
  • web/src/locales/de.json
  • web/src/locales/en-XA.json
  • web/src/locales/en.json
  • web/src/locales/es.json
  • web/src/locales/fr.json
  • web/src/locales/ja.json
  • web/src/locales/keys.ts
  • web/src/locales/pt-BR.json
  • web/src/locales/zh-Hans.json
  • web/src/playback/WatchPlaybackChrome.shuffle.test.tsx
  • web/src/player/components/AmbientLetterbox.tsx
  • web/src/player/components/AudioTrackMenu.tsx
  • web/src/player/components/ChaptersMenu.tsx
  • web/src/player/components/IntroSkipButton.tsx
  • web/src/player/components/NextEpisodeOverlay.tsx
  • web/src/player/components/PlaybackInfoOverlay.tsx
  • web/src/player/components/PlaybackNoticeOverlay.tsx
  • web/src/player/components/PlaybackSpeedPicker.tsx
  • web/src/player/components/PlaybackSpeedTrack.tsx
  • web/src/player/components/PlayerControls.test.tsx
  • web/src/player/components/PlayerControls.tsx
  • web/src/player/components/PlayerControlsParts.tsx
  • web/src/player/components/PlayerMenuSurface.test.tsx
  • web/src/player/components/PlayerMenuSurface.tsx
  • web/src/player/components/PlayingNextScreen.test.tsx
  • web/src/player/components/PlayingNextScreen.tsx
  • web/src/player/components/QualityMenu.test.ts
  • web/src/player/components/QualityMenu.tsx
  • web/src/player/components/SeekBar.tsx
  • web/src/player/components/SubtitleMenu-providers.test.tsx
  • web/src/player/components/SubtitleMenu-sync.test.tsx
  • web/src/player/components/SubtitleMenu.tsx
  • web/src/player/components/VideoPlayer.tsx
  • web/src/player/components/VolumeControl.tsx
  • web/src/player/components/WatchPage.tsx
  • web/src/player/engine/wasm/silo-audio-decoders.mjs
  • web/src/player/hooks/useKeyboardShortcuts.ts
  • web/src/player/hooks/useNextEpisode.ts
  • web/src/player/hooks/useSubtitleLayout.ts
  • web/src/player/utils/chapters.ts
  • web/src/player/utils/portraitDock.ts
  • web/src/styles/player-hud.css
Files with no reviewable changes: 3

  • web/eslint.config.js
  • web/src/player/components/PlaybackSpeedTrack.tsx
  • web/src/player/components/PlayerControlsParts.tsx

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 1 remain after this review.

Comment thread web/src/styles/player-hud.css Resolved
border-radius: 9999px;
border: 0.1875rem solid rgb(255 255 255 / 0.2);
border-top-color: var(--hud-paper);
animation: hud-spin 0.9s linear infinite;

@coderabbitai coderabbitai Bot Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor · Functional Correctness · Quick win

Stop the spinner when reduced motion is requested.

The new .hud-spinner rotates indefinitely at a fixed 0.9s duration. The existing reduced-motion rules disable other named animations but do not affect this one. Suppress hud-spin under prefers-reduced-motion: reduce while keeping the loading text visible. (raw.githubusercontent.com)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Leaving this as is. Since this PR the spinner carries no text: a mid-playback stall shows only the ring, so a stopped ring would read as frozen. It also matches the app's other spinners, about 150 animate-spin uses that keep turning under reduced motion. Happy to revisit app-wide if we decide spinners should stop.

🤖 Claude Code (claude-opus-5-5)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Quick104 Thanks for the context. My suggestion assumed visible loading text, which is not present during a mid-playback stall. I understand the decision to keep the spinner moving, and I won’t mark the finding as addressed.

Would you like a follow-up issue to review spinner motion app-wide?

You are interacting with an AI system.

…details

The player highlight now uses the server's accent color instead of a fixed
amber. Menus open just above their button rather than clearing the timeline.
Subtitle rows show the format and source for every track again, with the
track title on its own line so a long file name cannot hide them.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@silo-kody

silo-kody Bot commented Nov 11, 2026 •

Copy link
Copy Markdown

Silo Kody — review complete

Review finished. Check the inline comments for findings and verify each suggestion against the code and tests.

Reviewing changes in Silo
  • Include the related issue, expected behavior, and validation steps in the PR description.
  • For API changes, describe the effect on Apple and Android clients and Jellyfin compatibility.
  • For plugin changes, identify the affected SDK contract, plugin, and catalog entry.
  • Follow this repository's AGENTS.md and CONTRIBUTING.md.
  • Request another review with @kody start-review in a PR comment.
  • React with 👍 or 👎 to give feedback on individual suggestions.
Review settings
Review Options

The following review options are enabled or disabled:

Options Enabled
Bug ✅
Performance ✅
Security ✅
Business Logic ❌

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-12T02:53:33.198258Z 13659fe New commits
🔒 Security Review ✅ Completed 2026-11-12T02:56:16.452513Z 13659fe New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Comment thread web/src/styles/player-hud.css Resolved

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

Review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: d90d5a27-672a-4f10-bfe4-8d2978587269
Commits

Reviewing files that changed from the base of the PR and between 5980846 and 6110e12.

Files selected for processing: 2

  • web/src/player/components/SubtitleMenu.tsx
  • web/src/styles/player-hud.css

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 2 remain after this review.

Comment thread web/src/styles/player-hud.css Resolved
- Add PlayerLoadingCover: the backdrop's thumbhash paints first, then the image fades in, dimmed under the spinner, for both the plan read and the first frame
- Request a screen-sized backdrop with the watch detail and pass it through WatchPage to VideoPlayer
- Move the title into the full-width control row, with the transport centred and settings at the end; hide rail labels and float the volume slider at narrower widths
- Replace the buffering card with a floating spinner, and add a label only for party catch-up or reconnect stalls
@silo-kody

silo-kody Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

Silo Kody — review complete

Review finished. Check the inline comments for findings and verify each suggestion against the code and tests.

Reviewing changes in Silo
  • Include the related issue, expected behavior, and validation steps in the PR description.
  • For API changes, describe the effect on Apple and Android clients and Jellyfin compatibility.
  • For plugin changes, identify the affected SDK contract, plugin, and catalog entry.
  • Follow this repository's AGENTS.md and CONTRIBUTING.md.
  • Request another review with @kody start-review in a PR comment.
  • React with 👍 or 👎 to give feedback on individual suggestions.
Review settings
Review Options

The following review options are enabled or disabled:

Options Enabled
Bug ✅
Performance ✅
Security ✅
Business Logic ❌

@coderabbitai coderabbitai Bot removed go Pull requests that update go code api-v2 API v2 / Huma migration program (epic #135); long-running, stacked by phase labels Nov 12, 2026

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

Review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: fb9d0baf-d0eb-4226-ab63-d20855625ce6
Commits

Reviewing files that changed from the base of the PR and between 6110e12 and ffe9966.

Files selected for processing: 10

  • web/src/api/types.ts
  • web/src/api/v2/watch.ts
  • web/src/hooks/queries/items.ts
  • web/src/pages/watchRouteHelpers.ts
  • web/src/player/components/PlayerControls.tsx
  • web/src/player/components/PlayerLoadingCover.tsx
  • web/src/player/components/VideoPlayer.tsx
  • web/src/player/components/WatchPage.tsx
  • web/src/player/types.ts
  • web/src/styles/player-hud.css

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 2 remain after this review.

- Split the player controls' building blocks into PlayerControlsParts.tsx
  so PlayerControls.tsx stays under the 800-line size limit.
- Keep the playback info panel at least 10rem tall in short players.
- Paint the post-roll "still playing" caption above the picture, and let a
  dragged post-roll width yield when the end screen's column narrows.
- Measure the dock clearance again when the picture's aspect moves the
  upright-phone dock.
- Lead an audio track without a stream title with its language.
- Read menu arrow keys along the focused item's direction, scroll only the
  menu's own list, and count the touch sheet's close button as part of the
  menu when handing focus back.
- Announce the autoplay countdown once when it starts.
- Wrap touch playback speeds to two rows of 2.75rem targets, and let a
  desktop panel scroll as a whole in a short player.
- Lighten a dark accent until it reads at 4.5:1 on the HUD's panels.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@silo-kody

silo-kody Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

Silo Kody — review complete

Review finished. Check the inline comments for findings and verify each suggestion against the code and tests.

Reviewing changes in Silo
  • Include the related issue, expected behavior, and validation steps in the PR description.
  • For API changes, describe the effect on Apple and Android clients and Jellyfin compatibility.
  • For plugin changes, identify the affected SDK contract, plugin, and catalog entry.
  • Follow this repository's AGENTS.md and CONTRIBUTING.md.
  • Request another review with @kody start-review in a PR comment.
  • React with 👍 or 👎 to give feedback on individual suggestions.
Review settings
Review Options

The following review options are enabled or disabled:

Options Enabled
Bug ✅
Performance ✅
Security ✅
Business Logic ❌

The full-width player's elapsed time and length move from the ends of the
seek bar to the title block in the bottom-left corner, followed by the
wall-clock time playback ends: "10:00 / 41:42 · Ends 2:38 AM". The seek
bar spans the whole row. Compact layouts keep their times beside the bar
and add the end time to the title's detail line.

The end time keeps moving while paused, follows the bar during a drag,
counts real time at the playback speed, treats a Watch Party as 1x, uses
the profile's 12- or 24-hour clock, and hides while the length is unknown.
It reuses the catalog's player.scrubber.endsAt, now also exported to the
web (local catalog build until the catalog change merges).

Based on Rhainland's end-time label in #3916.

Co-authored-by: Rhainland <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
@silo-kody

silo-kody Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

Silo Kody — review complete

Review finished. Check the inline comments for findings and verify each suggestion against the code and tests.

Reviewing changes in Silo
  • Include the related issue, expected behavior, and validation steps in the PR description.
  • For API changes, describe the effect on Apple and Android clients and Jellyfin compatibility.
  • For plugin changes, identify the affected SDK contract, plugin, and catalog entry.
  • Follow this repository's AGENTS.md and CONTRIBUTING.md.
  • Request another review with @kody start-review in a PR comment.
  • React with 👍 or 👎 to give feedback on individual suggestions.
Review settings
Review Options

The following review options are enabled or disabled:

Options Enabled
Bug ✅
Performance ✅
Security ✅
Business Logic ❌

Comment thread web/src/player/components/SeekBar.tsx Resolved
… scrub

The full-width time line shows the elapsed time even while the length is
unknown, adding "/ length" once it is. A touch the system cancels mid-scrub
now ends the drag without seeking, so the preview and the end time stop
following the abandoned position.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@silo-kody

silo-kody Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

Silo Kody — review complete

Review finished. Check the inline comments for findings and verify each suggestion against the code and tests.

Reviewing changes in Silo
  • Include the related issue, expected behavior, and validation steps in the PR description.
  • For API changes, describe the effect on Apple and Android clients and Jellyfin compatibility.
  • For plugin changes, identify the affected SDK contract, plugin, and catalog entry.
  • Follow this repository's AGENTS.md and CONTRIBUTING.md.
  • Request another review with @kody start-review in a PR comment.
  • React with 👍 or 👎 to give feedback on individual suggestions.
Review settings
Review Options

The following review options are enabled or disabled:

Options Enabled
Bug ✅
Performance ✅
Security ✅
Business Logic ❌
⚠️ 5 Kody Rule(s) were not evaluated

These rules declare that they need repository context beyond this diff, and the review could not retrieve it, so they were not judged on this pull request:

  • Preserve optional store capabilities through production wrappers
  • Detach mandatory cleanup from request cancellation and bound its lifetime
  • Preserve durable media identity and share identity-evidence precedence
  • Bound decoder throughput trades and share direct-play eligibility
  • Retain distributed firing claims through their own validity windows

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 1720916473

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

- A malformed backdrop thumbhash drops the placeholder instead of
  throwing during the loading cover's render.
- The player's accent is lightened until both its panel contrast and its
  label's contrast reach 4.5:1, so a mid-grey accent's speed badge reads.
- Opening a menu reveals the chosen item in every scrolling box up to the
  menu, so a short panel that scrolls as a whole shows it too.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@silo-kody

silo-kody Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

Silo Kody — review complete

Review finished. Check the inline comments for findings and verify each suggestion against the code and tests.

Reviewing changes in Silo
  • Include the related issue, expected behavior, and validation steps in the PR description.
  • For API changes, describe the effect on Apple and Android clients and Jellyfin compatibility.
  • For plugin changes, identify the affected SDK contract, plugin, and catalog entry.
  • Follow this repository's AGENTS.md and CONTRIBUTING.md.
  • Request another review with @kody start-review in a PR comment.
  • React with 👍 or 👎 to give feedback on individual suggestions.
Review settings
Review Options

The following review options are enabled or disabled:

Options Enabled
Bug ✅
Performance ✅
Security ✅
Business Logic ❌

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

Review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 3d0e96a2-f2e0-45ff-8cf8-34fbe8977ddd
Commits

Reviewing files that changed from the base of the PR and between 28624fc and 1720916.

Files selected for processing: 18

  • .silo-translations
  • web/src/locales/ar-XB.json
  • web/src/locales/ar.json
  • web/src/locales/de.json
  • web/src/locales/en-XA.json
  • web/src/locales/en.json
  • web/src/locales/es.json
  • web/src/locales/fr.json
  • web/src/locales/ja.json
  • web/src/locales/keys.ts
  • web/src/locales/pt-BR.json
  • web/src/locales/zh-Hans.json
  • web/src/player/components/PlayerControls.test.tsx
  • web/src/player/components/PlayerControls.tsx
  • web/src/player/components/PlayerControlsParts.tsx
  • web/src/player/components/SeekBar.tsx
  • web/src/player/components/VideoPlayer.tsx
  • web/src/player/hooks/usePlayerEndTime.ts
Files skipped from review as they are similar to previous changes: 10

  • web/src/locales/ar-XB.json
  • web/src/locales/de.json
  • web/src/locales/ar.json
  • web/src/locales/pt-BR.json
  • web/src/locales/es.json
  • web/src/locales/en-XA.json
  • web/src/locales/fr.json
  • web/src/locales/en.json
  • web/src/locales/ja.json
  • web/src/locales/zh-Hans.json

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 0 remain after this review.

Comment thread .silo-translations
platform=web
version=2026.11.11-f9a8e2b
sha256=63225f06e56c52dd8628f9444dec47d3b6a69222c75a9f459bdf810cf19d3658
version=local-a4476caeff3c

@coderabbitai coderabbitai Bot Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor · Functional Correctness · Heavy lift

Replace the local translation pin before merge.

scripts/sync-translations with no arguments rejects a local-* pin and exits before it downloads anything. A fresh checkout of this branch cannot reinstall the pinned translations until .silo-translations names a published release and that release's SHA-256 digest. The committed generated files are not affected. Re-running the sync is.

Once the catalog release exists, run scripts/sync-translations --version <release>. The script then writes both version and sha256 from the release.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed, and it's listed under Risks in the description. The pin stays local until the catalog change that exports player.scrubber.endsAt to the web is released; then this branch runs scripts/sync-translations --version <release>. Leaving this thread open until that lands.

🤖 Claude Code (claude-opus-5-5)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Quick104 Understood. I won’t mark this finding as addressed yet.

Before merge, please update the pin after the catalog release and verify that the published version and SHA-256 digest are recorded.

You are interacting with an AI system.

The sheet's close and backdrop buttons sit beside the element carrying the
menu role, so player shortcuts took Space from them and toggled playback
instead of closing the sheet. They now carry data-player-menu, which the
shortcuts leave alone like a menu or dialog.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@silo-kody

silo-kody Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

Silo Kody — review complete

Review finished. Check the inline comments for findings and verify each suggestion against the code and tests.

Reviewing changes in Silo
  • Include the related issue, expected behavior, and validation steps in the PR description.
  • For API changes, describe the effect on Apple and Android clients and Jellyfin compatibility.
  • For plugin changes, identify the affected SDK contract, plugin, and catalog entry.
  • Follow this repository's AGENTS.md and CONTRIBUTING.md.
  • Request another review with @kody start-review in a PR comment.
  • React with 👍 or 👎 to give feedback on individual suggestions.
Review settings
Review Options

The following review options are enabled or disabled:

Options Enabled
Bug ✅
Performance ✅
Security ✅
Business Logic ❌
⚠️ 4 Kody Rule(s) were not evaluated

These rules declare that they need repository context beyond this diff, and the review could not retrieve it, so they were not judged on this pull request:

  • Preserve optional store capabilities through production wrappers
  • Detach mandatory cleanup from request cancellation and bound its lifetime
  • Preserve durable media identity and share identity-evidence precedence
  • Bound decoder throughput trades and share direct-play eligibility

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 385a5aa5be

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

PlayingNextScreen: keep the redesign's autoplay switch, checked from the
autoplay setting, under #3917's still-watching gate, which holds only the
countdown. The locale files keep main's strings that are ahead of the
catalog (#3997) alongside this branch's local catalog build.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 407192adc2

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

The docked transport row cannot wrap or shrink, and with both episode
buttons its large sizing needs 21.5rem plus the dock's sides: a 360px phone,
or a 390px one at 125% text, clipped the outer buttons. The row now takes
the largest sizing that fits: the large play button with wide gaps, then
standard sizes, then tight gaps.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@silo-kody

silo-kody Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

Silo Kody — review complete

Review finished. Check the inline comments for findings and verify each suggestion against the code and tests.

Reviewing changes in Silo
  • Include the related issue, expected behavior, and validation steps in the PR description.
  • For API changes, describe the effect on Apple and Android clients and Jellyfin compatibility.
  • For plugin changes, identify the affected SDK contract, plugin, and catalog entry.
  • Follow this repository's AGENTS.md and CONTRIBUTING.md.
  • Request another review with @kody start-review in a PR comment.
  • React with 👍 or 👎 to give feedback on individual suggestions.
Review settings
Review Options

The following review options are enabled or disabled:

Options Enabled
Bug ✅
Performance ✅
Security ✅
Business Logic ❌
⚠️ 4 Kody Rule(s) were not evaluated

These rules declare that they need repository context beyond this diff, and the review could not retrieve it, so they were not judged on this pull request:

  • Preserve optional store capabilities through production wrappers
  • Detach mandatory cleanup from request cancellation and bound its lifetime
  • Preserve durable media identity and share identity-evidence precedence
  • Bound decoder throughput trades and share direct-play eligibility

Bottom subtitles rose only by the control bar's height, which clears a dock
at the player's bottom edge but not the dock that sits under the picture on
an upright phone, so the transport covered the dialogue. They now rise by
the dock's measured clearance from the bottom edge, which equals the bar's
height everywhere else; the separate bar height measurement is gone.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@silo-kody

silo-kody Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

Silo Kody — review complete

Review finished. Check the inline comments for findings and verify each suggestion against the code and tests.

Reviewing changes in Silo
  • Include the related issue, expected behavior, and validation steps in the PR description.
  • For API changes, describe the effect on Apple and Android clients and Jellyfin compatibility.
  • For plugin changes, identify the affected SDK contract, plugin, and catalog entry.
  • Follow this repository's AGENTS.md and CONTRIBUTING.md.
  • Request another review with @kody start-review in a PR comment.
  • React with 👍 or 👎 to give feedback on individual suggestions.
Review settings
Review Options

The following review options are enabled or disabled:

Options Enabled
Bug ✅
Performance ✅
Security ✅
Business Logic ❌

Fill has no upright-phone dock, so switching between Fit and Fill moves the
controls without necessarily resizing anything the observer watches, and
the subtitle lift could keep the old clearance.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@silo-kody

silo-kody Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

Silo Kody — review complete

Review finished. Check the inline comments for findings and verify each suggestion against the code and tests.

Reviewing changes in Silo
  • Include the related issue, expected behavior, and validation steps in the PR description.
  • For API changes, describe the effect on Apple and Android clients and Jellyfin compatibility.
  • For plugin changes, identify the affected SDK contract, plugin, and catalog entry.
  • Follow this repository's AGENTS.md and CONTRIBUTING.md.
  • Request another review with @kody start-review in a PR comment.
  • React with 👍 or 👎 to give feedback on individual suggestions.
Review settings
Review Options

The following review options are enabled or disabled:

Options Enabled
Bug ✅
Performance ✅
Security ✅
Business Logic ❌
⚠️ 5 Kody Rule(s) were not evaluated

These rules declare that they need repository context beyond this diff, and the review could not retrieve it, so they were not judged on this pull request:

  • Preserve optional store capabilities through production wrappers
  • Detach mandatory cleanup from request cancellation and bound its lifetime
  • Preserve durable media identity and share identity-evidence precedence
  • Bound decoder throughput trades and share direct-play eligibility
  • Retain distributed firing claims through their own validity windows

@Quick104
Quick104 merged commit e58c825 into main Nov 12, 2026
7 checks passed
@Quick104
Quick104 deleted the feat/player-hud-web branch November 12, 2026 02:55
Quick104 added a commit that referenced this pull request Nov 12, 2026
…d2447a (#4013)

#3993 merged on a local catalog build. This release carries its strings,
the player's end time label for the web (silo-translations#16), and the
admin phone list text #3997 shipped ahead of the catalog
(silo-translations#17), which now has translations in every language.

Co-authored-by: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request javascript Pull requests that update javascript code size/XXXL 3000+ added + deleted lines (all files); change volume, not priority.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant