Add an example drawing area to coding interviews
Maintainer thường phản hồi trong vòng 1 ngày
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 55/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- rust
- Lĩnh vực
- full-stack
Hướng nghiên cứu
Start by locating the Whiteboard Interview Mode implementation and the interview page layout it diverges from — the proposal explicitly says to reuse the whiteboard's image-export/delivery mechanism for the interviewer view. Map where the editor, test runner and tabs/panels are composed in the interview workspace to decide where the Code | Example tab or expandable panel attaches. Done looks like: a canvas with pen, eraser, rectangle, circle, line, arrow, undo/redo and clear, living alongside the existing editor and test flow, with the current drawing delivered to the interviewer on content change. No file, test or entry point is named in the issue, so scope and layout decisions remain with the maintainer.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Motivation
During a normal coding interview, candidates often need to explain an example input, output, or data structure before or while writing code.
For problems involving trees, linked lists, graphs, arrays, pointer movement, or intermediate algorithm states, a visual explanation can be clearer than describing everything verbally or drawing ASCII diagrams inside code comments.
CodeTrial already provides a separate Whiteboard Interview Mode, but that mode replaces the editor and test workflow. This proposal is different: it keeps the existing coding interview experience and adds a drawing area that can be used together with the editor and test runner.
The goal is to provide a dedicated space for visually explaining examples and data structures without interrupting the normal coding workflow.
Proposal
Add an example drawing area to the existing coding interview workspace.
The drawing area would be available during a normal coding interview and would not replace the editor, test results, or current interview flow.
Candidates could use it to illustrate:
- Example inputs and outputs
- Binary trees and other tree structures
- Linked lists
- Graphs
- Arrays
- Pointer movement
- Intermediate states while explaining an algorithm
Drawing tools
The first version could provide the following tools:
- Pen
- Eraser
- Rectangle
- Circle / ellipse
- Line
- Arrow
- Undo / redo
- Clear
The pen would still be useful for handwritten values or short labels. For example, a candidate could draw circles for tree nodes, connect them with lines or arrows, and write node values inside the circles.
Interaction with the existing interview
The drawing area should work as an additional part of the normal coding interview rather than as a separate interview mode.
A candidate could, for example:
- Read and repeat the problem.
- Draw a sample input or data structure in the example area.
- Explain the approach while referring to the drawing.
- Write the implementation in the existing editor.
- Run tests as usual.
- Update the drawing when explaining edge cases, pointer movement, or optimization.
How the interviewer sees the drawing
The drawing should also be visible to the interviewer so that it can become part of the interview conversation.
When a candidate refers to a tree node, graph edge, pointer, array position, or intermediate state, the interviewer should be able to inspect the current drawing and understand what the candidate is referring to.
This could potentially reuse the existing image-delivery mechanism from Whiteboard Interview Mode by exporting the current drawing and sending it to the interviewer when the content changes.
The goal is not only to give the candidate a place to sketch, but also to let the interviewer use the drawing as part of the interview context.
Possible layout
The drawing area could be presented as a tab or an expandable panel in the existing interview page so that it does not permanently reduce the space available to the editor.
For example:
Code | Example- or an expandable
Examplepanel below the page
The exact layout can follow the current interview page design.
Scope
The initial version is intended to support visual explanation during coding interviews rather than provide a full diagram editor.
It does not need to support:
- Selecting existing objects
- Moving shapes
- Resizing shapes
- Editing text objects
- Grouping objects
- Layers
- Advanced diagram editing features
The main goal is to make common coding interview examples easier to draw, explain, and discuss with the interviewer.
- Ngôn ngữ chính
- Rust
- Star
- 160
- Fork
- 64
- Merge trung bình
- 1 ngày 9 giờ
- Pull request đã merge (30 ngày)
- 111
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
-
Highlight the active line in the code editorCó thể đã có người làm @ArthurArthurArthur0817 đã nhận 6 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
sysprog21/codetrial#247 · 3 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Preserve test run historyĐang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 62/100
sysprog21/codetrial#301 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Standardize section header and toggle indicator styles for test panelCó thể đã có người làm @kumi222 đã nhận hôm nay. Đang mở
sysprog21/codetrial#298 · 2 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Allow interview page to scroll vertically and horizontally when zoomed inCó thể đã có người làm @Alan52254 đã nhận hôm nay. Đang mở
sysprog21/codetrial#296 · 1 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Allow candidates to toggle avatar visibility back on (Show/Hide Avatar)Có thể đã có người làm @lakekenny đã nhận hôm nay. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
sysprog21/codetrial#291 · 3 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ự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
-
state:triage-needed
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/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 62/100
scanaislop/aislop#482 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
docs(skills): issue-first should reference an existing Linear ticket instead of filing a duplicateĐang mởdocumentation
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 74/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 65/100
chatmail/core#8824 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày