Whiteboard drawing-limit warning is not visible on narrow viewports
Maintainer thường phản hồi trong vòng 1 ngày
@ZuoTso đang làm issue này rồi.
Từ ngày 23/11/2026.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Problem
On narrow viewports, the whiteboard's drawing-limit warning can appear outside the visible area, leaving users without visible feedback when a stroke is rejected.
Steps to reproduce
- Open the interview whiteboard in Chromium with a 390 × 844 viewport.
- Fill the whiteboard to
MAX_STROKES(600) using the existing browser test helper. - Scroll until the canvas is visible.
- Attempt another stroke using pointer input, without scrolling to the warning.
Actual behavior
The 601st stroke is correctly rejected, and the warning is added to #board-status:
Drawing limit reached. Undo or clear before adding more.
However, the warning is entirely below the viewport.
Measured results:
Viewport: 390 × 844
Stroke count: 600
Warning top: 851.95px
Warning bottom: 896.95px
Fully visible: false
Since #board-status is placed after the entire .board-surface, users may not see the reason their drawing attempt was rejected.
Expected behavior
The drawing-limit warning should be visible when a stroke is rejected, without requiring users to scroll away from the canvas.
Suggested improvement
Place the warning near the canvas or drawing toolbar while preserving its role="status" semantics.
Add a narrow-viewport regression test that verifies the warning appears within the visible viewport after a rejected stroke.
Verification
Reproduced locally using Playwright and Chromium against PR #661 (6c1b23a4).
- Existing whiteboard browser tests: 23 passed, 0 failed.
- Additional 390 × 844 visibility regression test: failed as expected (
fullyVisible: false).
The reproduction is confirmed on the reviewed PR commit; the latest main has not yet been independently retested.
Related PR: https://github.com/sysprog21/codetrial/pull/661
- Ngôn ngữ chính
- Rust
- Star
- 236
- Fork
- 153
- Merge trung bình
- 1 ngày 9 giờ
- Pull request đã merge (30 ngày)
- 187
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của sysprog21/codetrial
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 70/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Unify Java harness validation error messagesCó thể đã có người làm @weichieh0204 đã nhận hôm nay. Đang mở
sysprog21/codetrial#872 · 1 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Inferred void class operations are never checked against the starter's return typeCó thể đã có người làm @papaya0112 đã nhận hôm nay. Đang mở
sysprog21/codetrial#871 · 1 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Edge Thumbnail Store accepts a store that does not refresh a key on overwriteCó thể đã có người làm @BOBOGUAGUA428 đã nhận hôm nay. Đang mở
sysprog21/codetrial#869 · 1 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của sysprog21/codetrial
Issue tương tự
-
needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
manaflow-ai/cmux#59692 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Retire stale Python-parity labels in Rust ingress and auth testsCó thể đã có người làm @github-actions đã nhận hôm nay. Đang mởfactory factory:building factory:unowned ralph-status:in-progress via:opencode-free/hy4-flash-free
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
JoshCLWren/comic-pile#5874 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
status:ready unit
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
nonagenticai/conveyor#787 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 79/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày