Jim's compact card covers a text box's controls on an expanded Example drawing
メンテナーはふだん 1 日以内に返信
@Disesfgewu がすでに取り組んでいます。
2026年11月7日 から。
評価
この issue はまだ評価されていません。
説明
On an expanded Example drawing, Jim's stage is the compact caption card at z-index: 7, over the bottom-right corner of the canvas. With a short caption it covers 1.3% to 9.0% of the canvas at 1280x800, 1440x900, 1920x1080 and 1250x630 (divider at its maximum); with a self-view or a long caption, up to 20.8% (measurements in #586). A text box's controls (text colors, Confirm, Cancel) sit below the box, and near that corner they land under the card, so a pointer cannot reach them. Placing a box with board-text.js's own layout at every visible point of the expanded canvas on a 25-unit grid, at least one control is under the card for 3.8% of the points at 1280x800, 2.2% at 1440x900, 8.4% at 1920x1080 and 16.6% at 1250x630 with a short caption, and 13.4%, 8.9%, 12.5% and 32.2% with a long one. Ctrl+Enter still confirms and Escape still cancels from the box's text field, and the box can be moved, so the label is not lost, but the mouse path is blocked.
The layout tests check the canvas's size and the card's captions on top, not whether the card overlaps a text box's controls, so they pass either way.
Two ways to fix it, from the review of #586:
- reserve a strip for the card, for example by shrinking the expanded canvas box by the stage's height, so the card never sits over the canvas;
- keep the layout, and add a test that the stage's bounds do not intersect a text box's controls near the bottom-right, with whatever change makes it pass (such as placing the controls above the box when the card is below it).
Acceptance: at 1280x800, 1440x900, 1920x1080 and 1250x630 (divider at its maximum), with a long caption and a self-view, a text box created anywhere on the expanded canvas has its Confirm and Cancel reachable by pointer, and a browser test checks it.
Refs #579, related to #512
- 主要言語
- Rust
- スター
- 223
- フォーク
- 148
- 平均マージ
- 1日 7時間
- マージ済み PR(30日)
- 225
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
sysprog21/codetrial のほかの issue
-
Show recorded scores in past attempt rows対応中かも @liehcheng が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
sysprog21/codetrial#604 · コメント 4 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
Let candidates filter problems to their saved list対応中かも @hszzt が今日担当しました。 オープン
sysprog21/codetrial#616 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Report credits an inaccurate problem restatement as a strength対応中かも @jserv が今日担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
sysprog21/codetrial#613 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
sysprog21/codetrial の issue をすべて見る
似ている issue
-
area:frontend kind:bug priority:p2 ready
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
bug priority: medium
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
storytold/vectorcraft#6143 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
rubys/roundhouse#1917 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 2 日以内に返信
-
good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信