Skip to content

fix(web): wrap long paths in an expanded skipped-root row - #5072

Merged
Quick104 merged 1 commit into
mainfrom
fix/skipped-root-details-wrap
Nov 21, 2026
Merged

Quick104 merged 1 commit into
mainfrom
fix/skipped-root-details-wrap

Conversation

@Quick104

@Quick104 Quick104 commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

Problem

Related issue: N/A
Validation tasks: none

Other clients: N/A (no client-visible change; the Libraries Troubleshooting list is a web admin page with no counterpart in the Apple, Android, or Roku apps)

On the web admin Libraries page, the Troubleshooting section lists library roots the scanner skipped. At desktop widths it is a table, and expanding a row shows the root path, a sample file path, and the file count. That expanded cell kept the table's whitespace-nowrap, so a long sample path ran to the table edge and was cut off before the file name, which is the part an admin needs. Arabic and other right-to-left interfaces had the same problem. The card layout at narrow widths already wrapped.

This change lets the expanded cell wrap, so the whole path shows across as many lines as it needs.

Approach

The expanded row's TableCell now sets whitespace-normal. CardPath already breaks long paths (break-all) once wrapping is allowed, and the card layout already relies on that. The change stays in the expanded row so it merges cleanly with #5063, which edits other lines of the same file.

Validation

  • Reproduced on a dev sandbox built from main: with one skipped root's sample path at 214 characters, the expanded row clipped the path at 1440 px in English and in Arabic. After the change, the same row on the rebuilt sandbox wraps the full path in both directions. At 1024 px, the narrowest table width, the table already scrolls sideways with the row collapsed. Expanding the row no longer widens it. The card layout at 390 px is unchanged.
  • No browser console errors before or after.
  • Web lint, format check, build, bundle budget, and the focused tests for components/admin/libraries pass.
  • make test-web: 29 tests in 4 files fail (request.deadline, authCore.v2, client-context-v3, player-auth-refresh). The same 29 fail on main, and none of them reaches this component.
  • No test added: jsdom does no layout, so a unit test can't see wrapping. The before and after captures are the proof.

Evidence

Desktop and phone width, English and Arabic, before and after, with the steps and build:

Evidence: https://evidence.siloserver.org/r/silo-server/skipped-root-details-wrap/

Risks

None identified. Only the expanded detail row of this one table changes. The collapsed rows and other tables keep whitespace-nowrap.

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

This ran as a follow-up of the review of #5063, so each round used one reviewer.

Rounds: 1, last reviewed 1e945b3

Member Round 1
Sol (gpt-6.2-sol, high) 9/10, no findings

Visual review: 1 round, captures from 1e945b3

Member Round 1
Sol (gpt-6.2-sol, high) better, 8/10

Answered, no change: the wrapped path's second line in Arabic sits on the page's start side, as web/src/i18n/README.md asks of path blocks and as the card layout already does. Mid-word breaks come from CardPath's shared break-all, which this change doesn't touch. The header overlapping the filter at phone width shows in the before captures too, so this change didn't cause it.

AI Disclosure

  • Harness: Claude Code, run from T3 Code
  • Tool(s): Claude Code subagents (code review), Codex (visual and adversarial review)
  • Model(s): claude-opus-5-5 (implementation, two code-review finders), claude-sonnet-5-5 (one code-review finder, validation check), gpt-6.2-sol (visual and adversarial review)
  • Involvement: Fully AI-generated; verified by the agent on a dev sandbox, not yet by a person
  • Adversarial review: Code review at medium (three finders and a validation check) found nothing in this diff. One finder pointed at the same nowrap problem in the Metadata Matcher's expanded row, which [bug] Long paths widen the desktop matcher queue table instead of truncating #4763 already tracks. The plan check was skipped because the fix is one class on the line the source shows at fault. See Council review for the visual and background reviews.

🤖 Generated with Claude Code

Note

Fix long path wrapping in expanded skipped-root rows in web admin

Adds the whitespace-normal class to the expanded skipped-root details cell in SkippedRootsSection.tsx. Long paths in the expanded row now wrap at standard break opportunities instead of overflowing.

Macroscope summarized 1e945b3.

The expanded row in the Libraries page's Troubleshooting table inherited
whitespace-nowrap from TableCell, so a long sample file path was clipped
before the file name. Let that cell wrap so the path breaks across lines,
as it already does in the card layout.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@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 the size/S 0–49 added + deleted lines (all files); change volume, not priority. label Nov 21, 2026
@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-21T17:34:48.955513Z 1e945b3 PR opened
🔒 Security Review ✅ Completed 2026-11-21T17:36:06.762472Z 1e945b3 PR opened
ℹ️ 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.

@coderabbitai

coderabbitai Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The expanded skipped-root details cell now allows its contents to wrap whitespace.

Changes: Skipped-root detail wrapping

Layer / File(s) Summary
Expanded detail cell wrapping
web/src/components/admin/libraries/SkippedRootsSection.tsx
The expanded details cell adds whitespace-normal to allow its contents to wrap.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Bug fix

Possibly related PRs

Suggested labels: bug, javascript, size/S

Merge Risk: Minimal · up to 1e945

This is a small styling change that lets long file paths wrap in the expanded Troubleshooting row of the admin Libraries page. It is limited to that one cell and is easy to revert. No actionable merge risk remains.

Security architecture risk: Minimal · up to 1e945

The change adjusts how existing diagnostic paths wrap in the web admin interface. It does not introduce or worsen an identified security, ownership, rollback, or failure-containment risk.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the main change: long paths in the expanded skipped-root row now wrap. The raw summary confirms the change sets whitespace-normal on the expanded cell in SkippedRootsSection.tsx. The '…
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.
Description check Passed The description is directly related to the changeset. It explains that the expanded skipped-root row in the web admin Libraries Troubleshooting table used whitespace-nowrap, which clipped long sample …
Full details: Title check

Explanation

The title names the main change: long paths in the expanded skipped-root row now wrap. The raw summary confirms the change sets whitespace-normal on the expanded cell in SkippedRootsSection.tsx. The 'fix(web)' prefix is a conventional-commit scope, which is acceptable.

Full details: Description check

Explanation

The description is directly related to the changeset. It explains that the expanded skipped-root row in the web admin Libraries Troubleshooting table used whitespace-nowrap, which clipped long sample paths. It states the fix sets whitespace-normal on the expanded TableCell in SkippedRootsSection.tsx, and it gives reproduction steps, validation results, and risks that match the one-file, +4/-1 change in the raw summary.

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
Recent 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: 28000c66-0481-4fe0-ab15-af371a018976
Commits

Reviewing files that changed from the base of the PR and between 02a9d1d and 1e945b3.

Files selected for processing: 1

  • web/src/components/admin/libraries/SkippedRootsSection.tsx

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

@silo-triage silo-triage Bot added bug Something isn't working impact: polish Annoyance, cosmetic, or nice-to-have priority: P2 Limited scope, workaround exists, or polish labels Nov 21, 2026
@coderabbitai coderabbitai Bot added the javascript Pull requests that update javascript code label Nov 21, 2026
@Quick104
Quick104 merged commit f9adad1 into main Nov 21, 2026
19 checks passed
@Quick104
Quick104 deleted the fix/skipped-root-details-wrap branch November 21, 2026 17:53
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/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.

1 participant