Skip to content

[bug] Restore: a merging account's email loses its start when cut short in right-to-left languages #4880

Closed

Description

@Quick104

What happened

On the backup restore Choose step, in Arabic, an account that already exists on this server has a muted line under its name that starts with what the restore will add and ends with the email, in the form " · ". When the row is too narrow for the whole line, it is cut at its end, which in a right-to-left line is the left side, where the email sits. The email loses its first part and reads "…example.com", so the address can't be told apart from any other on the same domain. The full line is still in the tooltip.

This follows #4878, which changes the same line's width and should merge first.

Steps to reproduce

  1. Set the interface language to Arabic.
  2. Have a backup with an account that also exists on this server and has data the restore would add (for example watch history), with an email address.
  3. Admin → Backups → Restore on that backup.
  4. On the Choose step, at a phone width (360 px), find that account's row.

Reproduced with the real Choose step and fixture data in a temporary dev-only route, at 360 px in Chromium. It was not reproduced on a live server: no dev sandbox could start at the time.

Expected behavior

The email keeps its start (the part before the @) when the line is cut short, as it already does for an account whose line is only the email (#4711).

Silo version / commit

main at f0c80d2

Deployment

Local dev build (the web app's dev server; no Silo server behind it)

Area

Admin pages and settings

Clients affected

Web UI

Relevant logs

No logs available; this is a layout problem.

Technical notes

AccountRow in web/src/pages/admin-backups/RestoreUsers.tsx joins the pending-data summary, the username (when it differs from the label) and the email into one string in one truncating span. With the summary first, the span follows the page direction, so text-overflow cuts at the line's left end, where the left-to-right email sits. The notes for #4711 already list this: one truncated line holding both directions can't keep both starts. Putting the summary and the email in separate elements, with the email in its own dir="ltr" truncating span, would let the email keep its start.

AI harness

Claude Code (in T3 Code)

AI tool(s)

Claude Code; T3 Code delegated tasks (Antigravity) for the visual review that found it; Playwright for captures

AI model(s)

claude-opus-5-5; gemini-4-neon

AI involvement

Fully AI-generated. The agent confirmed it in the captures; a person has not checked it yet.

Independent or adversarial review

Found by Gemini (gemini-4-neon) in a three-model visual review of #4878's captures, and confirmed by the agent in the same captures before and after that change.

Confirmations

  • I searched open and recently closed issues and pull requests, and this is not already reported
  • I reproduced this myself on a real deployment
  • Any logs provided are raw apart from marked redactions and are not AI-summarized; if none were available, I said so above

Source: found in review of #4878

Activity

  1. added
    bug
    on Nov 21, 2026
  2. added
    impact: polish
    priority: P2
    on Nov 21, 2026
  3. Quick104 commented on Nov 21, 2026

    @Quick104
    ContributorAuthor

    🤖 AI agent claim. Claude Code in T3 Code (claude-opus-5-5) is working on a fix for this issue on behalf of @Quick104, who is assigned.

    A pull request will link here when the fix is ready. If the work stops without a fix, the assignment and this comment are removed.

    Planning to work on this, or have context to add? Reply here and mention @Quick104.

  4. self-assigned this
    on Nov 21, 2026
  5. added a commit that references this issue on Nov 21, 2026
    ac8f4af
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugimpact: polishpriority: P2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions