Add text objects to whiteboard and example drawing
Los mantenedores suelen responder en 1 día
@Ethan921001 ya está trabajando en esto.
Desde el 25/10/2026.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
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.
- Lenguaje dominante
- Rust
- Estrellas
- 177
- Forks
- 100
- Merge medio
- 1 d 9 h
- PR fusionados (30 d)
- 209
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de sysprog21/codetrial
-
Allow deselecting a chosen problem card by clicking it againPosiblemente ocupada @woohsin la tomó hace 4 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
sysprog21/codetrial#392 · 4 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Audio output can be confirmed without playing a test soundPosiblemente ocupada @ChenYingHan1121 la tomó hace 7 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
sysprog21/codetrial#359 · 5 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Add a Copy code button to the final reportPosiblemente ocupada @yansawu la tomó hace 7 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
sysprog21/codetrial#318 · 6 comentarios · 2 reacciones · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Navigate to editor lines from compiler diagnosticsPosiblemente ocupada @yujoulai la tomó hoy. Abierto
sysprog21/codetrial#486 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Add an opt-in shortcut to format JavaScript code in the editorPosiblemente ocupada @webdevbyjasmine la tomó hoy. Abierto
sysprog21/codetrial#485 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 1 día
Todos los issues de sysprog21/codetrial
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 73/100
Los mantenedores suelen responder en 1 día
-
C-bug needs-triage O-UEFI T-libs
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
bug priority: P3 ready-for-agent
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
shep-pm/shep-kelpie#1332 ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
ramensoftware/windhawk#1156 · 2 comentarios ·
-
area/cli complexity:trivial good first issue Stellar Wave test
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Externalize-Labs/externalize#23 ·
Los mantenedores suelen responder en 1 día