Skip to content

fix(web): keep long profile names inside the restore profile list - #4708

Merged
Quick104 merged 1 commit into
mainfrom
fix/restore-profile-name-overflow
Nov 21, 2026
Merged

Quick104 merged 1 commit into
mainfrom
fix/restore-profile-name-overflow

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 (the backup restore screen is web admin only)

On the backup restore screen, a long profile name could not fit in an account's profile
list. The name stayed on one line, ran past the row's edge, and pushed the profile's
detail ("Primary · Created here · …") down to zero width. This change lets the name wrap
and moves the detail under it when the two don't fit side by side.

Profile names can be up to 64 characters. The profile list is narrow on a phone, and also
at 1024 px, where the restore list sits between the admin sidebar and the restore summary
and its rows are about 340 px wide. There, both 64-character test names ran 140 to 230 px
past the row, and their detail was hidden.

Approach

In ProfileRow the name and detail now share a line that can wrap (flex-wrap), and the
name can wrap within the row (wrap-anywhere instead of shrink-0). A row whose name and
detail fit on one line looks the same as before. Otherwise the detail moves under the name
and still ends in "…" if it is wider than the row, and a name wider than the row wraps,
including one with no spaces.

A short name with a long detail also gets two lines on a narrow screen, where its detail
used to be cut off beside the name. That was a deliberate tradeoff, since it shows more of
the detail. Capping the name's width and ending it in "…", as the account row does, would
show only about 20 characters of a profile name at phone width.

Validation

  • Reproduced on a Silo dev deployment built from main with two restorable accounts whose
    profiles have 64-character names, one with spaces and one without. At 360, 390, and 1024
    px the names overflowed the row and the detail measured 0 px wide. On the fixed build
    both names stay inside the row on two lines with their detail in full. At 768 and 1440
    px the names keep one line, and a detail that doesn't fit beside them moves under them.
    German (longer detail text) and Arabic (right to left) behave the same way, and nothing
    scrolls sideways at 320, 360, or 390 px.
  • Clicking the second line of a wrapped name toggles its checkbox. Tab reaches the
    checkbox, and Space toggles it.
  • Web lint, format check, build, and bundle budget pass. Seven web unit test files fail on
    the test host, and none of them imports the changed file: four fail the same way on the
    unfixed base, and three timing-sensitive player and collection tests pass or fail from
    run to run on the same commit.
  • No test is added: the change is two class strings, and the measurements above are the
    check.

Evidence

Surface and build: web admin, Backups › Restore › Choose › Users, fixed build 4bf1856.

Evidence: https://evidence.siloserver.org/r/silo-server/restore-profile-name-overflow/

Risks

None identified. The change is limited to the profile list on the restore screen.

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

Rounds: 1, reviewed 4bf1856

Member Round 1
Sol (gpt-6.2-sol, xhigh) 9/10
Opus (claude-opus-5-5, high) 9/10
Gemini (gemini-4-neon, xhigh) 10/10

Visual review: 2 rounds, captures from 4bf1856

Member Round 1 Round 2
Sol better, 9/10 better, 9/10
Opus better, 8/10 better, 8/10
Gemini better, 7/10 better, 9/10

Answered: a reported 2 px checkbox shift is not there (the captures are byte-identical down through the rows that still fit on one line). The detail line still ends in "…" when it is wider than the row, as every secondary line on this screen does; making it wrap is a separate change. The account row's own name clipping and the English account description are outside this change (the second is #4669). Follow-up: Sol's one finding, that a name no line break can split (a long run of joined emoji) still ran past the row, arrived after this merged and is fixed in #4755.

AI Disclosure

  • Harness: Claude Code in T3 Code
  • Tool(s): Claude Code, T3 Code delegated tasks, Codex, Antigravity
  • Model(s): claude-opus-5-5 (implementation), gpt-6.2-sol, claude-opus-5-5, gemini-4-neon (plan and visual review), claude-sonnet-5-5 (code-review subagents)
  • Involvement: Fully AI-generated. The agent verified it live on a dev sandbox; a person has not verified it yet.
  • Adversarial review: Before implementing, Sol, Opus, and Gemini checked the plan; none changed it. Code review at xhigh found no defects: its one candidate, that the label's leading-none would cramp a wrapped name, was refuted by running tailwind-merge and by the measured 20 px line height. A simplify pass reworded one comment. Background and visual review results are under Council review.

🤖 Generated with Claude Code

Note

Fix profile name overflow in restore profile list

Long profile names in the restore users list now wrap onto extra lines instead of overflowing. The ProfileRow container allows wrapping, adds horizontal and vertical gaps, and removes the label's no-shrink behavior. See RestoreUsers.tsx.

Macroscope summarized 4bf1856.

On the backup restore Choose step, each profile under an account showed its
name on one line that could not shrink or wrap. A profile name can be 64
characters, and the profile list is narrow: on a phone, and at 1024 px where
the list sits between the admin sidebar and the restore summary. A long name
ran 140 to 230 px past the row's edge and left its detail with no width.

The name and detail now share a wrapping line. When they don't fit side by
side, the detail moves under the name, and a name wider than the row wraps,
including one with no spaces. Rows that fit look the same as before.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@silo-triage silo-triage Bot added the size/S 0–49 added + deleted lines (all files); change volume, not priority. label Nov 21, 2026
@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 ❌

@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-21T00:27:54.078571Z 4bf1856 PR opened
🔒 Security Review ✅ Completed 2026-11-21T00:29:27.883118Z 4bf1856 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 profile row layout now allows long names to wrap. The name and detail text can move onto separate lines when they do not fit side by side.

Changes: Profile row layout

Layer / File(s) Summary
Profile name and detail wrapping
web/src/pages/admin-backups/RestoreUsers.tsx
The name and detail container now wraps with separate horizontal and vertical gaps. The name can wrap instead of remaining fixed in size.

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

Change: Bug fix · Severity of issue fixed: Low

Possibly related PRs

  • Silo-Server/silo-server#3399: Introduced the restore profile selection in the same file; this change updates the layout of its profile rows.
Merge Risk: Minimal · up to 4bf18

This changes only how long profile names wrap in the backup restore list. Rows that already fit on one line should look the same. No actionable merge risk remains.

Security architecture risk: Minimal · up to 4bf18

The change adjusts how profile names and details fit within the restore screen. Selection behavior and control associations remain unchanged; no introduced or worsened architecture-level security risk was identified.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the main change: long profile names are kept inside the restore profile list. It is specific and follows the conventional prefix format. The title matches the raw summary and the PR ob…
Description check Passed The description explains the problem (long profile names overflow the row and hide the detail text), the approach (flex-wrap and wrap-anywhere in ProfileRow), validation at several widths, and test re…
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.
Full details: Title check

Explanation

The title names the main change: long profile names are kept inside the restore profile list. It is specific and follows the conventional prefix format. The title matches the raw summary and the PR objectives, which describe ProfileRow wrapping in RestoreUsers.tsx.

Full details: Description check

Explanation

The description explains the problem (long profile names overflow the row and hide the detail text), the approach (flex-wrap and wrap-anywhere in ProfileRow), validation at several widths, and test results. It relates directly to the changeset.

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: c1a3eb66-b2c6-4bda-b84e-b0fd18d0f449
Commits

Reviewing files that changed from the base of the PR and between 0d649bd and 4bf1856.

Files selected for processing: 1

  • web/src/pages/admin-backups/RestoreUsers.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.

@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 triaged High-confidence review completed; does not mean fixed, validated, or accepted for release. labels Nov 21, 2026
@Quick104
Quick104 merged commit 4651402 into main Nov 21, 2026
19 checks passed
@Quick104
Quick104 deleted the fix/restore-profile-name-overflow branch November 21, 2026 00:43
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 priority: P2 Limited scope, workaround exists, or polish size/S 0–49 added + deleted lines (all files); change volume, not priority. triaged High-confidence review completed; does not mean fixed, validated, or accepted for release.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant