Skip to content

fix(web): keep every audiobook browse tab reachable on narrow screens - #3170

Merged
Quick104 merged 1 commit into
Silo-Server:mainfrom
Rhainland:fix/1253-audiobook-axis-tabs
Oct 31, 2026
Merged

Quick104 merged 1 commit into
Silo-Server:mainfrom
Rhainland:fix/1253-audiobook-axis-tabs

Conversation

@Rhainland

@Rhainland Rhainland commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

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-auto with a hidden scrollbar, and its buttons shrink-0, the same pattern PillSwitcher and the device list use. Nothing changes where the switcher already fits.

Validation

  • pnpm run lint, format:check, build, budget:check and make test-web on an integration build with the other Audiobooks #1253 fixes: pass.
  • In a browser at 390 px with Extra Large text: before, tapping Narrators timed out because the A–Z index covered it; after, the strip scrolls and Narrators opens. Default and Large text at 390 px, landscape, and desktop look unchanged.

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

  • 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 (T3 Code)
  • Tool(s): Claude Code, Codex CLI, GitHub CLI, Playwright, Docker, ffmpeg
  • Model(s): claude-opus-5-5; gpt-6.1-sol (review)
  • Involvement: Fully AI-generated, human verified
  • Adversarial review: Independent Claude Opus 5.5 and GPT 6.1 Sol reviews of the branch diff (correctness, repo standards, the bug as described). Neither found anything.

Note

Fix audiobook browse tabs overflow on narrow screens

The AudiobookAxisTabs radio group in LibraryBrowse.tsx now uses the full container width with horizontal overflow. Each axis button gets shrink-0 so it keeps its width, and the scrollbar is hidden while the row scrolls sideways.

Macroscope summarized 6d22c24.

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.
@coderabbitai

coderabbitai Bot commented Oct 27, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

This 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.

Check out review usage here.

View limit details

Limit details: You’ve used all 4 included reviews currently available.

Learn how review limits work.

Review configuration:

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: 8c95b15e-447d-4f15-8c78-f9274ecb8879
Commits

Reviewing files that changed from the base of the PR and between 62b1a6e and 6d22c24.

Files selected for processing: 1
  • web/src/pages/LibraryBrowse.tsx
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@silo-triage silo-triage Bot added the size/S 0–49 added + deleted lines (all files); change volume, not priority. label Oct 27, 2026
@silo-kody

silo-kody Bot commented Oct 27, 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 evidence-required Needs before-and-after evidence before the Evidence check passes javascript Pull requests that update javascript code priority: P2 Limited scope, workaround exists, or polish labels Oct 27, 2026
@macroscopeapp

macroscopeapp Bot commented Oct 27, 2026

Copy link
Copy Markdown

unblocks #1256 C7 is inaccurate: the Web task records C7 as Not run, not failed or blocked, and the Audiobooks tasks linked from #1253 have no recorded passed, failed, or blocked results. This change affects C7’s large-text control-reachability check, so please use:

Validation tasks: changes #1256 C7

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

@Quick104

Copy link
Copy Markdown
Contributor

No verified findings introduced by this PR at 6d22c24d411250666a74ebb4cb180b362d3a026a (base 62b1a6e82408eb4be3409255583bf8b0a192a69f).

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 (gpt-6.1-sol, xhigh), with an independent Claude Code adversarial pass (claude-opus-5-5, high). Tools included GitHub CLI and Playwright. This review does not establish human acceptance of a validation case.

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 git diff --check pass. Isolated Chromium renders of the actual component, production CSS/fonts, and letter bar reproduce the base overflow at 390 px with Extra Large text. On the head, the strip fits its column and Narrators can be selected after scrolling. Keyboard activation also works. Checks covered 390 px at default/Large/Extra Large text, 430 px, landscape, and desktop. These renders use a fixture around the component; the full library flow, real touch devices, and the complete C7 lifecycle were not rerun. This CSS change adds no tests.

Validated features: #1256 C7 is the direct layout change; C1 and C11 also use these browse entry controls. The current Validation tasks: changes #1256 C7 line identifies the reported failure. Live board inspection found no accepted passed cases; #1256's formal results remain Not run. Its comment reports a successful integration retest with human acceptance pending. Recheck C7, including text size and rotation, on a build containing this head; no accepted result is replaced by this review.

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.

@Quick104
Quick104 merged commit 6394776 into Silo-Server:main Oct 31, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working evidence-required Needs before-and-after evidence before the Evidence check passes javascript Pull requests that update javascript code priority: P2 Limited scope, workaround exists, or polish size/S 0–49 added + deleted lines (all files); change volume, not priority.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants