Repository navigation
fix(web): keep every audiobook browse tab reachable on narrow screens - #3170
Conversation
With extra-large text on a 390 px phone the Books/Series/Authors/Narrators switcher grew wider than its column, pushing Narrators under the A-Z index where it could not be tapped. Let the switcher shrink to its column and scroll sideways like the other pill strips.
|
Warning Review limit reachedThis review ran on the open-source allowance, not this organization's plan, because the pull request author doesn't have an assigned seat. Waiting won't change this — ask an organization admin to assign them a seat, or add seats in Billing if every seat is already assigned, then retry. Next included review available in 24 minutes. View limit details
Comment |
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:
|
|
C7 still needs validation after merge; this PR does not establish a result. Automated check: Macroscope check run agent (gpt-6-luna). No validation was performed. Posted via Macroscope — v1 validation impact |
|
No verified findings introduced by this PR at Fit: 10/10 · Readiness: 9/10 — ready. This restores access to existing audiobook browse controls with a small change in the component that owns their layout. CI and the local checks pass. Note AI-generated review posted as Quick104 using Codex in T3 Code ( Checked the complete diff, both switcher call sites and their layout ancestry, Tailwind output, keyboard activation, existing feedback, and validation records. The Claude pass suggested keeping the selected tab visible after a remount; the same visibility limitation exists on the base, so it did not survive as an introduced-defect finding. Local production build, bundle budget, focused ESLint and Prettier, and Validated features: #1256 C7 is the direct layout change; C1 and C11 also use these browse entry controls. The current The native API, Apple, Android, and Jellyfin surfaces need no coordinated change for these web CSS classes. The Audiobooks and audiobook-library setup manual pages remain accurate; no manual update is needed. |
Problem
Related issue: #1253
Validation tasks: changes #1256 C7
On a 390 px phone with Extra Large text, the audiobook library's Books / Series / Authors / Narrators switcher is wider than its column. Narrators ends up under the A–Z index and can't be tapped, so that view is unreachable. Large text and wider phones (430 px) were fine.
The switcher now shrinks to its column and scrolls sideways, like the other pill strips in the web app.
Approach
The switcher gets
max-w-full overflow-x-autowith a hidden scrollbar, and its buttonsshrink-0, the same patternPillSwitcherand the device list use. Nothing changes where the switcher already fits.Validation
pnpm run lint,format:check,build,budget:checkandmake test-webon an integration build with the other Audiobooks #1253 fixes: pass.Evidence
Evidence: https://evidence.siloserver.org/r/silo-server/pr-3170/
Surface and build: Web, Audiobooks library → Library, at 390 px with Extra Large text (strip at rest, scrolled, and after tapping Narrators) and at desktop width; before on
e6df1d8ed, after on this branch; same data.Risks
None identified.
Checklist
AI Disclosure
Note
Fix audiobook browse tabs overflow on narrow screens
The
AudiobookAxisTabsradio group in LibraryBrowse.tsx now uses the full container width with horizontal overflow. Each axis button getsshrink-0so it keeps its width, and the scrollbar is hidden while the row scrolls sideways.Macroscope summarized 6d22c24.