Add text objects to whiteboard and example drawing
Maintainer thường phản hồi trong vòng 1 ngày
@Ethan921001 đang làm issue này rồi.
Từ ngày 25/10/2026.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Motivation
The whiteboard and example drawing currently support freehand drawing but do not provide a tool for entering text.
During an interview, candidates may need to label diagram nodes, annotate arrows, or write short notes such as variable names and time complexity. Writing these labels freehand with a mouse can be slow and difficult to read.
Proposed feature
Add a Text tool to both the whiteboard interview and the example drawing panel so candidates can place typed labels alongside their drawings.
Expected user flow
- The candidate selects the Text tool in the drawing toolbar.
- The candidate clicks or taps the desired location on the canvas.
- A text input appears and receives keyboard focus.
- The candidate types a label, optionally using multiple lines.
- The candidate confirms the input to place the text on the canvas, or cancels without changing the drawing.
- The text appears in the board image shared with the interviewer and in the session replay.
For example, a candidate drawing a linked list could label nodes head and tail, then add O(n) time beside the diagram.
Initial scope
- Support text entry in both drawing surfaces.
- Support multiline text and the selected drawing color.
- Include text additions in the existing Undo history.
- Support Redo where it is already available.
- Make Clear remove both text and freehand strokes, with Undo restoring them.
- Include text in exported board images and recording/replay operations.
Moving, resizing, and editing existing text objects could be considered as follow-up improvements.
Acceptance criteria
- A candidate can add a typed label to either drawing surface.
- Cancelling text entry leaves the canvas and its history unchanged.
- Text and freehand strokes work together correctly with Undo and Clear.
- The interviewer receives a board image containing the text.
- Replaying the recorded operations reproduces the text and subsequent edits.
- Existing pen and eraser interactions continue to work.
- Ngôn ngữ chính
- Rust
- Star
- 177
- Fork
- 100
- Merge trung bình
- 1 ngày 8 giờ
- Pull request đã merge (30 ngày)
- 217
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không 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
-
Audio output can be confirmed without playing a test soundCó thể đã có người làm @ChenYingHan1121 đã nhận 8 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
sysprog21/codetrial#359 · 5 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Add a Copy code button to the final reportCó thể đã có người làm @yansawu đã nhận 8 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
sysprog21/codetrial#318 · 6 bình luận · 2 reaction · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Offer a way back to Setup from the lobbyCó thể đã có người làm @Patriciaath999 đã nhận hôm nay. Đang mở
sysprog21/codetrial#513 · 1 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Jim's stage covers the editor, and Hide avatar does not free the spaceCó thể đã có người làm @Phonlin đã nhận hôm nay. Đang mở
sysprog21/codetrial#512 · 2 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Desktop app opens a blank window on Windows and sends tauri.localhost to the browserCó thể đã có người làm @Patriciaath999 đã nhận hôm nay. Đang mở
sysprog21/codetrial#510 · 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ự
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
good first issue hardware help wanted no-box serve
Độ khó 2/5 1-3 giờ 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
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/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 64/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Query Log shows "Upstream" for CNAME cloaking, schedule, NXDOMAIN hijack and response IP blocksĐang mởbug good first issue query-log web
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
ferrous-networking/ferrous-dns#326 ·
Maintainer thường phản hồi trong vòng 1 ngày