UI: labels and headers cut with "..." (guild, guild war, academy, ranking)

Offen
#3,674 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
64/100
Issue-Typ
Bug
Klarheit
Klar beschrieben
Aktivitätsstatus
Aktiv
Tech-Stack
typescript
Bereich
frontend

Rechercherichtung

Start by opening apps/client-next/tools/ui-gallery and rendering the listed entries (guild-roster, inspect:guild-war-declaration, breadth:academy-master) to see each clipped label. Then read foundation/rendering/ui-glyphs.ts: layoutGlyphs invokes the native ellipsis and resolveTextOverlaps swaps in the shortened run, so decide per window whether the authored rect or the repair is wrong. Done means the labels fit inside their boxes under the Experimental "Fit window labels" option while the option off still reproduces the original output.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

area: client bug priority: high

Found in a full sweep of the UI gallery (apps/client-next/tools/ui-gallery). Many labels and column headers are cut with "..." where the text should fit or the native draws differently.

Gallery entries:

  • guild-empty, guild-roster: "Guild ma..." (guild master label); the master icon is drawn over its "...". The roster header shows both "Level" and a lowercase "level" column.
  • inspect:guild-war-declaration, inspect:guild-war-confirmation, reach:guild-war-agreement, breadth:guild-union: "Compe...", "Number o...", "Retained ...", "Distribute...".
  • breadth:academy-master, Academy panel: "Lv 8..." column, "Dismiss" header.
  • Academy Matching: "Recr..." filter label, "Graduate"/"Member" headers run together.
  • Job ranking: "Ranking" / "Experience" headers clipped.

To do: fix the presentation so the text stays inside its box and clear of its neighbours.

Cause found: the "..." is the port's own overlap repair, not native. foundation/rendering/ui-glyphs.ts layoutGlyphs says the native ellipsis (7831D0) is not invoked by a plain CIFStatic, and that applying it is "an intentional port overlap repair" (resolveTextOverlaps swaps in the shortened run when a label's ink would enter a neighbour). So each "Compe..." is a static the original draws in full and overlapping. Decide per window whether the authored rects or the repair is wrong.

Owner rule (2026-11-16): retail's own overflow and misalignment are bugs, not behaviour to copy. Fix these even where retail draws them the same way, on by default under the Experimental "Fit window labels" row (off is the original).

Vorherrschende Sprache
Go
Sterne
97
Forks
61
Ø Merge
4 Std. 14 Min.
Gemergte PRs (30 T.)
913

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus opensro-dev/opensro

Alle Issues in opensro-dev/opensro

Ähnliche Issues

Weitere Issues zu Go

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.