Repository navigation
fix(webui): end long Arabic-sidebar chat titles with an ellipsis - #7678
Merged
Merged
Conversation
In Arabic, a long English chat title was chopped mid-letter at the right edge, with the fade drawn on the left where nothing was cut. Long titles now end in an ellipsis at their own end, whatever language they are in. Closes amd#7628
Collaborator
|
Thanks @tylerbea, the ellipsis is a nice simplification. The Arabic screenshot suite (
Could you look at those two before we merge? |
…their own end Each title now sets dir="auto", so a Latin title in the Arabic sidebar gets its ellipsis at the end of its own text. The row decides the side, and the title flexes to the full row width, which the whole-row visual check measures.
Contributor
|
Verdict: Approve with suggestions Long chat titles now end in "…" at their own end in both sidebars. The latest push looks like it fixes both Arabic screenshot-suite failures raised earlier. I found no bugs.
🔍 Technical details
|
kovtcharov
added a commit
to kovtcharov/gaia
that referenced
this pull request
Nov 15, 2026
In the Arabic UI, hovering an English chat title hid its first words under the rename/pin/delete buttons, clamped English text was cut at the wrong end or lost its "…", and at phone width the model-server notice grew to 1,400 px of one-word lines and setup's "Use GAIA's own instead" spilled out of its button. Titles now keep their start and end in "…" in every direction mix, clamped text ends at its own end, notices and setup buttons wrap cleanly at 390 px, and the remaining English labels are translated. - Sidebar: the hover buttons take room from the title instead of covering it, so a Latin title in an Arabic row keeps its start (amd#7678's ellipsis kept). - Clamped text: skill descriptions, automation prompts and notifications get dir="auto"; clamped blocks align to their own start, since a right-aligned LTR clamp pushes its "…" past the edge ("preparation a."). - Phone width: the top notice wraps its buttons under its words; setup footer and report buttons grow with a wrapped label. - Placeholders: search and hint fields show the Arabic alone so it reads whole; the schedule name hint drops its nested brackets; the document path field is wide enough for its example. - Still-English labels: Open sidebar, the pstack tooltip, the AMD gateway tooltip, and Memory's context and source cells. - The "install it from the notice above" line now leaves with the notice. - test:rtl: new rules for each bug (hover overlap, clamped direction and alignment, vertical label spill, clipped and bracketed placeholders, the 390 px notice, the install hint), each seen failing first. ## Screenshots | | Before | After | | --- | --- | --- | | Hovering an English chat title in the Arabic sidebar | <img src="https://raw.githubusercontent.com/kovtcharov/gaia/qa-evidence-rc29/testing/rc29-qa/u_251_ar_sidebar_row_hover_zoom.png" width="360"> | <img src="https://raw.githubusercontent.com/kovtcharov/gaia/qa-evidence-rc29/testing/rc29-qa/r2_f10_sidebar_hover_ar.png" width="360"> | | Server-down notice at 390 px | <img src="https://raw.githubusercontent.com/kovtcharov/gaia/qa-evidence-rc29/testing/rc29-qa/u_260_ar_chat_390_light.png" width="200"> | <img src="https://raw.githubusercontent.com/kovtcharov/gaia/qa-evidence-rc29/testing/rc29-qa/server-down-notice-390-ar-light.png" width="200"> | Clamped English prompt on an Arabic schedule card, after: <img src="https://raw.githubusercontent.com/kovtcharov/gaia/qa-evidence-rc29/testing/rc29-qa/clamped-schedule-ar.png" width="480">
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In the Arabic sidebar, long chat titles were cut off mid-letter at the wrong end, because the fade that hides the overflow always sat on one side. Long titles now end with "…" at their own end, whichever way they read. English titles get the "…" too instead of the fade.
Closes #7628
Test plan
npx vitest runon the Sidebar tests (67 passed); the title test now asserts the ellipsisnpm run build🔍 Technical details
Sidebar.cssswaps the fixed-sidemask-imagefade fortext-overflow: ellipsisand drops the 24 px end padding that only existed for the fade. Withunicode-bidi: plaintext, the ellipsis follows each title's own direction.