Skip to content

Some admin titles still lose their start when cut short in right-to-left languages #5017

Open

Description

@Quick104

In Arabic, a few more truncated titles in the web app can lose their start when they're in the other script. The "…" lands where the title begins. The same happens to an Arabic title on an English page. Each site uses truncate or line-clamp without the dir that the "Right to left" rules in web/src/i18n/README.md call for:

  • web/src/pages/admin-users/detail/overview/RecentlyWatchedCard.tsx and WatchingNowCard.tsx: the media titles (playTitle, sessionTitle) in the admin user Overview cards. They're metadata titles, so they need .bidi-text plus dir="auto". The admin user detail ListRow can now take titleDir="auto", but it only adds w-fit max-w-full, not .bidi-text. The fallback title is translated text, so it should take the direction only when a real title is shown.
  • web/src/components/homeRows/RowLine.tsx: home-row titles in the admin row list (ListRow in components/calm). A custom row name can be in either script. Default section titles are translated, so only a custom name should opt in through titleDir.
  • web/src/components/collections/CollectionPosterCard.tsx: the title drawn on a collection card that has no poster (line-clamp-3 inside the artwork). This sits on poster artwork, where the README keeps direction physical, so it needs a decision about which side the text belongs on.

These sites were found by reading the source. The same pattern was reproduced at the sibling sites in Chromium and Firefox; these were not reproduced live.

Source: found in review of #5016
Defect: Silo-Server/silo-server web/src/pages/admin-users/detail/overview/RecentlyWatchedCard.tsx playTitle

Activity

  1. added
    bug
    impact: polish
    priority: P2
    on Nov 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugimpact: polishpriority: P2

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions