Repository navigation
fix(web): wrap long paths in an expanded skipped-root row - #5072
Conversation
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 — 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:
|
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
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
TableCellnow setswhitespace-normal.CardPathalready 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
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.components/admin/librariespass.make test-web: 29 tests in 4 files fail (request.deadline,authCore.v2,client-context-v3,player-auth-refresh). The same 29 fail onmain, and none of them reaches this component.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
Council review
This ran as a follow-up of the review of #5063, so each round used one reviewer.
Rounds: 1, last reviewed 1e945b3
Visual review: 1 round, captures from 1e945b3
Answered, no change: the wrapped path's second line in Arabic sits on the page's start side, as
web/src/i18n/README.mdasks of path blocks and as the card layout already does. Mid-word breaks come fromCardPath's sharedbreak-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
🤖 Generated with Claude Code
Note
Fix long path wrapping in expanded skipped-root rows in web admin
Adds the
whitespace-normalclass 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.