You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Some admin titles still lose their start when cut short in right-to-left languages #5017
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