Skip to content

fix(web): keep sticky panels in view on desktop admin pages - #4797

Merged
Quick104 merged 9 commits into
mainfrom
fix/issue-4712-admin-desktop-sticky
Nov 21, 2026
Merged

Quick104 merged 9 commits into
mainfrom
fix/issue-4712-admin-desktop-sticky

Conversation

@Quick104

@Quick104 Quick104 commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

Problem

Closes #4712
Related issue: N/A
Validation tasks: none

Other clients: Apple N/A (web admin layout fix, no client counterpart); Android N/A (web admin layout fix, no client counterpart); Roku N/A (web admin layout fix, no client counterpart)

On the web admin at 1024 px and wider, three elements meant to stay in view while the page scrolls scrolled away with it: Backups → Restore's summary panel with its Review restore button, Collections → Arrange's "What viewers see" preview, and Activity's stream-table column header. They now stay in view, clear of the fixed server-activity icon in the top-right corner.

From 1024 px the admin shell's root wrapper used overflow-x-hidden, which makes it a scroll container that never scrolls, so every sticky element inside it stuck to the wrapper instead of the window. #4709 switched it to overflow-x-clip below 1024 px for the phone header; this does it at every width.

Approach

  • Restore's summary and Arrange's preview stick 4rem below the top, the line admin content already starts on to clear the activity icon. Activity's header keeps its existing top edge: the table only appears from about 1314 px, where the icon sits past the Time column. All three add --impersonation-banner-height (fix(web): keep pinned headers below the impersonation banner #4777), so they sit below the banner when one shows.
  • Both side panels are capped to the window height, less --playback-bar-clearance and the page padding below their grid. Without the padding term, the end of a long page pushes the panel back up under the icon. Without the cap, Arrange's preview, which with a starter pack is taller than the board, would never stick at all.
  • In a capped Restore summary, the summary scrolls on its own above a rule, and the selection notice and Review restore stay below it. Pressing Review from far down the chooser now opens the review step at the top of the page instead of partway down.
  • Arrange's preview takes keyboard focus where it is pinned (from 1280 px), since nothing inside it can be focused to scroll it.

Validation

  • Reproduced on a Silo dev deployment at the base: the wrapper computes overflow: hidden auto from 1024 px, and after scrolling, Restore's summary, Arrange's preview, and Activity's header sit hundreds of pixels above the window.
  • After the fix, on the same backend and data: the side panels hold at 64 px (the icon ends at 56 px) through the end of the page at 1024×460, 1024×700, 1280×800, and 1440×900; Activity's header holds at 0 at 1320 and 1440 px.
  • Shift+Tab onto an Activity row control sitting under the pinned header now scrolls it to 64 px, clear of the header (ends at 35 px) and of the activity icon (ends at 56 px); in the stacked layout, where no header is pinned, focus scrolling is unchanged. In a normal window a very long selection notice scrolls within 8rem, so the Restore summary keeps its room, and it takes keyboard focus while it overflows (Shift+Tab from Review reaches it; Page Down scrolls it). With a 110 px playback bar and a selection notice spanning many libraries at 1024×460, Review stays inside the summary (it was pushed under the bar before 92220d1).
  • With the impersonation banner's height set (49 px), the side panels hold at 113 px and Activity's header at 49 px, below the banner and clear of the shifted icon (ends at 105 px); without it nothing moves.
  • At the largest text size the panels hold at 4rem and still clear the icon. With a background playback bar's height set, both caps shrink by it.
  • In a capped summary on a 1366×650 window, a selection notice shows above Review while the summary scrolls. Tab reaches Review and the Arrange preview, and both show focus. Pressing Review deep in a 460 px tall chooser opens the review step at the top; without the scroll reset it opened 72 px down. Dragging a collection to the window's bottom edge still auto-scrolls the page. Below 1024 px nothing changes.
  • The Activity check served 30 generated sessions in place of the deployment's empty session list. The before/after captures come from Vite dev servers on the merge base and the fix against that same deployment, because its build host had no disk space for a second image.
  • Web lint, Prettier, the production build, and the bundle budget pass. The full web test suite passes on Node 24. make lint-changed, verify-local-paths, and verify-bidi pass. No Go changed.

Evidence

Evidence: https://evidence.siloserver.org/r/silo-server/issue-4712/

Risks

Every sticky element on an admin page now sticks from 1024 px. The only others, AdminDevices' group headers and the dashboard's transcode-nodes header, sit inside their own scroll boxes and don't change.

Follow-ups, already on main before this change:

  • Admin pages and the select-mode bar don't clear the background playback bar on desktop (AdminLayout's lg:pb-8, SelectModeBar's bottom-0): follow-up run in progress.
  • Activity's "Paused" label runs into the User column at narrow table widths: follow-up run in progress.
  • The setup wizard's step rail never sticks, from the same overflow-x: hidden cause in .setup-shell: follow-up run in progress.
  • Pressing Review restore drops keyboard focus to the page: [bug] Pressing Review restore drops keyboard focus to the page #4799, which waits for this PR because it changes the same handler.

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 how I checked a change nobody sees.

Council review

Plan round (one round, on the unfixed code): Sol (gpt-6.2-sol, xhigh), Opus (claude-opus-5-5, high), and Gemini (gemini-4-neon, xhigh); none scored. It dropped a planned opaque band above Activity's header (it would have hidden focusable rows) and moved the Arrange preview's keyboard focus and the Restore section jumps into scope.

Visual review: 2 rounds, final captures from 8de230a

Member Round 1 Round 2
Sol (gpt-6.2-sol, xhigh) better, 7/10 better, 8/10
Opus (claude-opus-5-5, high) better, 7/10 better, 7/10
Gemini (gemini-4-neon, xhigh) better, 6/10 better, 8/10

Fixed: panels pushed under the icon at the page's end, Review hidden inside a capped summary, no boundary where the summary meets Review, and mismatched fonts in the before captures. Answered: the Arrange preview's heading and edges scroll with its content, the icon sits over the table frame's corner as it did before, the reserve below the Restore summary is what keeps it clear of the icon at the page's end, and Review's focus ring is the shared button style. The rest were present before this change.

Background review: 3 rounds, latest on 920e185

Member Round 1 (8de230a) Round 2 (92220d1) Round 3 (920e185)
Sol (gpt-6.2-sol, xhigh) 7/10 7/10 —
Opus (claude-opus-5-5, high) 8.5/10 8.5/10 9/10
Gemini (gemini-4-neon, xhigh) 9/10 — 8.5/10

Round 1: Opus and Gemini found nothing. Sol's two findings couldn't be posted (a GitHub authentication error), so they're recorded here; both are fixed in 92220d1. A row control focused with Shift+Tab under Activity's pinned header stayed hidden; row controls now carry a scroll margin, since a root scroll-padding would also scroll the page when the header's own sort buttons take focus. A long selection notice in a short window with a playback bar pushed Review out of the capped Restore summary; the summary now gives up its height first and the notice scrolls, so Review keeps its row. Round 2: Opus confirmed both fixes and found that the summary's shrink weight let a notice that fits scroll by a pixel; fixed in 48da7f2. Round 3 covers that fix and the impersonation-banner offsets added after main's #4777. Opus found nothing to post; its one unconfirmed lead, the activity icon covering the corner of a row's actions button focused at 3rem, measured as a 3 × 8 px overlap, so 3473538 lands focus at 4rem instead. Gemini's round found three gaps, fixed in 8cf73cf: the rows' focus margin now follows the table layout's container query instead of the 1024 px breakpoint, it also covers the FFmpeg log box, and a very long notice scrolls within 8rem instead of squeezing the summary away. Sol's second round (on 92220d1, also unpostable because of the authentication error) found the same two, plus that WebKit can't keyboard-scroll an overflowing notice; 00adb18 makes the notice focusable while it overflows. All review threads are resolved.

AI Disclosure

  • Harness: Claude Code in T3 Code
  • Tool(s): Claude Code; headless Chromium via Playwright against a Silo dev deployment; Codex and Antigravity for council members
  • Model(s): claude-opus-5-5 (implementation and review subagents); claude-sonnet-5-5 (review finder and validation agent); gpt-6.2-sol, gemini-4-neon (council)
  • Involvement: Fully AI-generated, human verified
  • Adversarial review: see Council review above. Code review ran at xhigh on the final diff in two passes (three finders each, a validation agent, and a sweep); it moved the Arrange preview's focusability to where it is pinned, restructured the Restore summary so Review sits outside the scrolling area, moved the selection notice beside Review, and fixed comments. The simplify pass changed comments only.

🤖 Generated with Claude Code

From 1024 px the admin shell's root wrapper used `overflow-x-hidden`,
which makes it a scroll container that never scrolls, so the sticky
elements inside it scrolled away with the page: Activity's column
header, Restore's summary, and Collections > Arrange's viewer preview.
The wrapper now uses `overflow-x-clip` at every width, as it already
did below 1024 px.

Restore's summary and Arrange's preview stick at 4rem, below the fixed
server-activity control. Their height is capped to the window, less
any background playback bar and the page padding below their grid, so
the end of a long page can't push them back under the control. A
taller panel scrolls inside itself: Restore keeps Review pinned at its
foot, and Arrange's preview takes keyboard focus where it is pinned.
Without the cap, Arrange's preview, taller than the board once a
library has a starter pack, would never stick.

Restore's section jumps land level with the pinned summary, and
Review, now reachable deep in a long chooser, opens the review step at
the top of the page.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@silo-triage silo-triage Bot added the size/M 50–199 added + deleted lines (all files); change volume, not priority. label Nov 21, 2026
@coderabbitai

coderabbitai Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

Walkthrough

The admin shell now clips horizontal overflow at every viewport width. Activity, collection, and backup restore pages update sticky positioning, panel scrolling, and focus-related scroll offsets. The backup review handler also scrolls the window to the top when review begins.

Changes: Admin sticky panels and scroll positioning

Layer / File(s) Summary
Admin shell and activity scroll positioning
web/src/components/AdminLayout.tsx, web/src/pages/AdminActivity.tsx, web/src/components/calm/SelectModeBar.tsx
The admin shell uses overflow-x-clip at all viewport widths. Activity-page focusable elements gain a large-screen scroll margin. The SelectModeBar comment now describes its fixed positioning and reserved space.
Collection viewer preview
web/src/components/collections/admin/GroupsBoard.tsx, web/src/components/collections/admin/ViewerPreview.tsx
The viewer preview gains an 80rem pinned-state breakpoint, a viewport-based height cap, and internal scrolling. It becomes keyboard-focusable when pinned and receives visible-focus styling.
Backup restore panels and review navigation
web/src/pages/admin-backups/RestoreChoose.tsx, web/src/pages/AdminBackupRestore.tsx
The Restore summary panel gains a larger sticky offset, a height cap, and independently scrolling content. Starting review scrolls the window to the top. Section anchors receive a larger large-screen scroll margin.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Change: Bug fix · Severity of issue fixed: Medium

Suggested reviewers: blurbery

Merge Risk: Low · up to 48da7

On admin screens between 1024 and 1279px wide, the Collections Arrange preview is not pinned and scrolls away while you arrange. The other pinned panels behave as intended. This is a small, easily reversed UI gap that is worth fixing before or shortly after merge.

Security architecture risk: Minimal · up to 48da7

The changes adjust sticky positioning, scrolling, and keyboard focus within existing admin pages. No introduced or worsened risk to security, failure containment, rollback, or ownership guarantees was identified.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title "fix(web): keep sticky panels in view on desktop admin pages" matches the main change. The PR changes the admin shell overflow from overflow-x-hidden to overflow-x-clip at all widths so stic…
Linked Issues check Passed [#4712] Requirement 1: keep three elements in view at 1024 px and wider. The change sets the admin shell wrapper in web/src/components/AdminLayout.tsx to overflow-x-clip at all widths and keeps flow-r…
Out of Scope Changes check Passed All changed files relate to the sticky-panel behavior in #4712:
- AdminLayout.tsx: overflow-x-clip at all widths, and comment updates. Directly required.
- GroupsBoard.tsx, ViewerPreview.tsx: pinning …
Description check Passed The description is specific and related to the changeset. It names the three affected admin elements (Backups Restore summary, Collections Arrange preview, Activity table header) and the root cause (o…
Full details: Title check

Explanation

The title "fix(web): keep sticky panels in view on desktop admin pages" matches the main change. The PR changes the admin shell overflow from overflow-x-hidden to overflow-x-clip at all widths so sticky panels stick to the window on desktop. It also caps panel heights and adds scroll margins. The title names the fix and its scope, and it does not describe anything outside the changeset.

Full details: Linked Issues check

Explanation

[#4712] Requirement 1: keep three elements in view at 1024 px and wider. The change sets the admin shell wrapper in web/src/components/AdminLayout.tsx to overflow-x-clip at all widths and keeps flow-root. The wrapper no longer computes overflow hidden or auto, so sticky elements inside it engage the window. Restore's summary (RestoreChoose.tsx) and Arrange's preview (GroupsBoard.tsx, ViewerPreview.tsx) move to top-16 at large widths. Activity's header keeps top-0 (AdminActivity.tsx). The PR reports measured results: panels hold at 64 px, and Activity's header holds at 0 at 1320 and 1440 px.

[#4712] Requirement 2: no collision with the fixed server-activity control (fixed end-5 top-5, about 56 px bottom edge). Restore and Arrange panels start at 64 px, clear of the control. The PR states the Activity header sits above the table only where the control is past the Time column. This is a measured claim in the PR, not a code-level proof, and the summary does not show the header's full width.

[#4712] Requirement 3: a panel taller than the window keeps its lower content reachable. Both side panels get a height cap that subtracts --playback-bar-clearance and page padding. In a capped Restore summary, the summary scrolls internally. Review and the selection notice sit in their own area. Arrange's preview gets an internal scroll and tabIndex when pinned (focusable prop), so keyboard users can reach it.

[#4712] Technical notes: the issue asks for overflow-x-clip at every width with flow-root kept (met). The issue's Activity table threshold (62rem) differs from the PR's observed ~1314 px appearance. The PR measured the latter on the deployment, so the difference does not change the verdict.

Automated tests: the PR cites web lint, Prettier, build, and the full web test suite. No new automated test was identified in the summary. The issue asks for code behavior, and the PR supplies browser measurements as evidence.

Non-coding items (manual validation, evidence links) do not apply.

Full details: Out of Scope Changes check

Explanation

All changed files relate to the sticky-panel behavior in #4712:

  • AdminLayout.tsx: overflow-x-clip at all widths, and comment updates. Directly required.
  • GroupsBoard.tsx, ViewerPreview.tsx: pinning breakpoint, top-16 offset, height cap, and focusable prop so a capped, pinned preview can be scrolled by keyboard. Follows from the height-cap requirement.
  • RestoreChoose.tsx: top-16 and height cap for the summary, internal scroll, and Review kept in its own row. Follows from the height-cap requirement. The SectionBlock scroll margin change keeps section jumps clear of the pinned summary.
  • AdminBackupRestore.tsx: scrolls to top when Review opens the review step. Needed because a capped, pinned panel makes Review reachable from far down the page, so the review step must start at the top. Related to the Restore panel's behavior.
  • AdminActivity.tsx: scroll-mt-12 on row controls, so a row control focused under the pinned header scrolls clear of it. Related to the Activity header becoming sticky.
  • SelectModeBar.tsx: comment-only change that removes the sticky-related explanation. Consistent with the new AdminLayout behavior.

Follow-ups named in the PR (impersonation banner #4714, playback-bar clearance on admin pages, Activity narrow-table label, setup wizard rail, Restore focus #4799) are excluded from this PR and are not part of the diff. No unrelated change was identified.

Full details: Description check

Explanation

The description is specific and related to the changeset. It names the three affected admin elements (Backups Restore summary, Collections Arrange preview, Activity table header) and the root cause (overflow-x-hidden at 1024px and wider versus overflow-x-clip). It also covers the approach (sticky offsets, height caps, impersonation-banner height, keyboard focus, scroll reset), validation at several viewport sizes, and known follow-ups. The description matches the summarized file changes in AdminLayout, SelectModeBar, GroupsBoard, ViewerPreview, AdminActivity, AdminBackupRestore, and RestoreChoose.

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

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 21, 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-21T04:50:51.482461Z 00adb18 New commits
🔒 Security Review ✅ Completed 2026-11-21T04:52:39.554040Z 00adb18 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.

@silo-kody

silo-kody Bot commented Nov 21, 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 ❌

@silo-triage silo-triage Bot added bug Something isn't working impact: polish Annoyance, cosmetic, or nice-to-have javascript Pull requests that update javascript code priority: P2 Limited scope, workaround exists, or polish labels Nov 21, 2026
On Activity, a row control focused while under the pinned column
header (Shift+Tab back up the table) stayed hidden behind it. Row
controls now carry a scroll margin, so focus scrolls them clear; a
root scroll-padding would also scroll the page when the header's own
sort buttons take focus.

On Restore, a long selection notice in a short window with a
background playback bar could push Review out of the capped summary
and under the bar. The summary now gives up its height first, and the
notice scrolls on its own, so Review keeps its row.

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

silo-kody Bot commented Nov 21, 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 ❌

@Quick104 Quick104 left a comment

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.

Adversarial review (claude-opus-5-5, reviewed 92220d1)

Round 2 status of the round 1 findings:

  • S1 (pinned Activity header hides focus): resolved. A focused element uses its own scroll-margin, so the descendant selector on the rows container is the narrowest form that works. The selector covers every focusable in a row (links, buttons, dropdown triggers). The header's sort buttons sit outside it, so focusing them doesn't scroll the page. lg: turns it on in the card layout too, where there is no pinned header. There it only moves focus scrolling 48px lower, which is harmless.
  • S2 (long notice pushes Review under the playback bar): resolved, with one nit below (O1).

No other problems in the delta at the lg boundary, in the stacked layout below lg (all the new flex and shrink classes are lg: only), without a notice, with a summary that fits (nothing shrinks), or in RTL (block-axis properties only).

AI disclosure: written by claude-opus-5-5 (Claude Code) as part of an automated adversarial review.

The summary's shrink weight of 999 still took a fraction of a pixel
from the footer, so a notice that fit became a scroll box with 1 px of
travel. A weight of 100000 keeps the footer's share under a layout
unit while a notice too long for the window still scrolls.

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

silo-kody Bot commented Nov 21, 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: 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: fd9324fa-bbed-420c-bedc-39c2a545e088
Commits

Reviewing files that changed from the base of the PR and between f0c80d2 and 48da7f2.

Files selected for processing: 7

  • web/src/components/AdminLayout.tsx
  • web/src/components/calm/SelectModeBar.tsx
  • web/src/components/collections/admin/GroupsBoard.tsx
  • web/src/components/collections/admin/ViewerPreview.tsx
  • web/src/pages/AdminActivity.tsx
  • web/src/pages/AdminBackupRestore.tsx
  • web/src/pages/admin-backups/RestoreChoose.tsx

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

Quick104 and others added 2 commits November 20, 2026 22:52
…desktop-sticky

# Conflicts:
#	web/src/components/AdminLayout.tsx
Main now publishes the impersonation banner's height and moves the
desktop activity control below it (#4777). Restore's summary and
Arrange's preview start 4rem below the banner, and their height caps
subtract it, so they stay clear of the control; Activity's column
header pins below the banner instead of under it. Without a banner the
variable is 0px and nothing moves.

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

silo-kody Bot commented Nov 21, 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 ❌

@Quick104 Quick104 left a comment

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.

Adversarial review (gemini-4-neon, reviewed 920e185)

Prior round status:

  • S1: resolved (row links, buttons, and [tabindex] controls clear the pinned column header and banner without double counting, and header sort buttons stay unaffected; see G2/G3 for two remaining reach edges).
  • S2: resolved (Review stays inside the capped panel in a short window with a background playback bar; see G1 for what an uncapped long notice does to the summary on normal desktop viewports).
  • O1: resolved (lg:shrink-[100000] keeps the footer's shrink share below B_F / 100000, under one 1/64 px layout unit, so a fitting notice does not scroll).

Banner offsets against #4777 hold: --impersonation-banner-height defaults to 0px on :root (web/src/app.css:2583), both panel height caps (GroupsBoard.tsx:650, RestoreChoose.tsx:650) subtract it once so bottom clearances match the page padding (2rem and 6rem), and root scroll-padding-top composes additively with RestoreChoose.tsx:429 (scroll-mt-24 lg:scroll-mt-16), AdminLayout.tsx:215, and AdminActivity.tsx:669 without double counting.

Findings (inline below):

  • G1 (medium) — web/src/pages/admin-backups/RestoreChoose.tsx:690: an uncapped long selection notice drains 100% of the summary box's content height before the notice scrolls, collapsing the section index and plan into a 16 px faded sliver even on normal desktop viewports.
  • G2 (low) — web/src/pages/AdminActivity.tsx:669: :is(a,button,[tabindex]) misses FFmpegConsole's keyboard-focusable scroll box (AdminActivity.tsx:1576), so Shift+Tab into overflowing FFmpeg logs tucks its top behind the pinned header.
  • G3 (low) — web/src/pages/AdminActivity.tsx:669: gating scroll-mt-12 on lg: instead of TableLayout's container query (@min-[62rem] / @min-[70rem]) applies a 48 px scroll margin in the stacked layout (1024–1311 px, or 1024–1439 px with routes), causing unexpected scroll jumps when focusing controls near the top of the viewport.

AI-assisted review using Gemini 4 Neon (gemini-4-neon) in T3 Code.

Comment thread web/src/pages/AdminActivity.tsx Resolved
Comment thread web/src/pages/AdminActivity.tsx Resolved
Row controls scrolled into focus under Activity's pinned header landed
3rem down, where the shell's fixed activity control still covered the
top corner of a row's end-side actions button. A 4rem scroll margin,
the line admin content starts on, clears both.

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

silo-kody Bot commented Nov 21, 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 ❌

…otice

From review: the rows' scroll margin applied from lg, so in the stacked
layout (1024 px up to the table's container width), where no header is
pinned, focusing a control near the top still scrolled the page. It now
follows the table layout's container query, and it also covers the
FFmpeg log box, which Chromium and Firefox let the keyboard focus when
it overflows.

On Restore, a very long selection notice made the summary give up all
of its height even in a normal window. The notice now scrolls within
8rem, and only shrinks further in a window too short for both.

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

silo-kody Bot commented Nov 21, 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 ❌

From review: since the selection notice scrolls within 8rem, a long
one overflows in a normal window, and WebKit doesn't let the keyboard
focus a scroll box on its own, so its keyboard users couldn't read the
rest. The notice now takes focus, with an outline, only while it
overflows; one that fits adds no tab stop.

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

silo-kody Bot commented Nov 21, 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 ❌

@Quick104
Quick104 merged commit 4724769 into main Nov 21, 2026
20 checks passed
@Quick104
Quick104 deleted the fix/issue-4712-admin-desktop-sticky branch November 21, 2026 04:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working impact: polish Annoyance, cosmetic, or nice-to-have javascript Pull requests that update javascript code priority: P2 Limited scope, workaround exists, or polish size/M 50–199 added + deleted lines (all files); change volume, not priority.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[bug] Desktop admin pages' sticky panels never stick

1 participant