Whiteboard drawing-limit warning is not visible on narrow viewports
I maintainer di solito rispondono entro 1 giorno
@ZuoTso ci sta già lavorando.
Dal 23/11/2026.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
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
- Lingua principale
- Rust
- Stelle
- 236
- Fork
- 153
- Merge medio
- 1g 9h
- PR unite (30g)
- 187
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di sysprog21/codetrial
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 70/100
I maintainer di solito rispondono entro 1 giorno
-
Unify Java harness validation error messagesForse già presa @weichieh0204 l’ha presa oggi. Aperta
sysprog21/codetrial#872 · 1 commento · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
Inferred void class operations are never checked against the starter's return typeForse già presa @papaya0112 l’ha presa oggi. Aperta
sysprog21/codetrial#871 · 1 commento · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
Edge Thumbnail Store accepts a store that does not refresh a key on overwriteForse già presa @BOBOGUAGUA428 l’ha presa oggi. Aperta
sysprog21/codetrial#869 · 1 commento · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di sysprog21/codetrial
Issue simili
-
needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
manaflow-ai/cmux#59692 ·
I maintainer di solito rispondono entro 1 giorno
-
Retire stale Python-parity labels in Rust ingress and auth testsForse già presa @github-actions l’ha presa oggi. Apertafactory factory:building factory:unowned ralph-status:in-progress via:opencode-free/hy4-flash-free
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
JoshCLWren/comic-pile#5874 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
status:ready unit
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
nonagenticai/conveyor#787 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno