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

オープン
#3,674 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
64/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
typescript
領域
frontend

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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).

主要言語
Go
スター
97
フォーク
61
平均マージ
4時間 14分
マージ済み PR(30日)
913

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

opensro-dev/opensro のほかの issue

opensro-dev/opensro の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。