Example drawing leaves too little room to draw, even when enlarged
Los mantenedores suelen responder en 1 día
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 68/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- css
- Área
- frontend
Línea de trabajo
Start by inspecting web/styles.css at .example-surface and the Example drawing toolbar implementation; run the app and reproduce the cramped canvas. Add a way to switch the right-hand editor panel to a larger drawing view and back. Done means the full canvas is visible without scrolling, the left sidebar remains usable, and switching back preserves the code and drawing.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Current behavior
At revision 8f5ad5c, with Example drawing enabled for a coding interview, the drawing area is too small to draw on comfortably. The canvas keeps the board's 16:10 ratio at the full width of the editor panel, but .example-surface (web/styles.css:1904-1918) shows only a strip of it and scrolls the rest. Only about 30% of the canvas is visible when Example drawing opens, and about 60% after dragging the divider under the editor (.drawer-resizer) all the way up:
| Viewport | Visible at first open | Visible with the divider at its maximum |
|---|---|---|
| 1280x800 | 838x143 of 838x524 (27%) | 838x334 (64%) |
| 1440x900 | 998x188 of 998x624 (30%) | 998x404 (65%) |
| 1920x1080 | 1478x269 of 1478x924 (29%) | 1478x530 (57%) |
Even at its maximum, most of the editor panel is still taken by things that are not needed while drawing. At 1280x800 the panel is 768 px tall and the canvas gets 334 px of it; the rest goes to the editor toolbar and code (194 px), Add a case, the drawing toolbar, the status line and the Test results row, and Jim's stage covers the right end of the strip. The screenshot below shows the divider at its maximum in a window of about 1250x630 for Macbook air 13.6 inch, where even less of the canvas fits.
With a mouse or a trackpad, a sketch such as a linked list with a cycle has to be squeezed into that strip, or drawn while scrolling it.
Expected behavior
A button on the Example drawing toolbar switches to a larger drawing view and back. The larger view covers only the right-hand editor panel, whose code, Add a case and Test results are not needed while drawing, and shows the whole canvas without scrolling. The left sidebar, with the problem statement and the interview controls, stays visible and usable. Switching back returns to the editor with the code and the drawing unchanged.
- Lenguaje dominante
- Rust
- Estrellas
- 223
- Forks
- 148
- Merge medio
- 1 d 10 h
- PR fusionados (30 d)
- 227
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una 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
-
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
Los mantenedores suelen responder en 1 día
-
CODETRIAL_DURATION_MIN does not preselect the interview length in the lobbyPosiblemente ocupada @RWong04 la tomó hace 1 día. Abierto
sysprog21/codetrial#582 · 3 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Let candidates choose a report improvement as the next practice focusPosiblemente ocupada @Hsieh-HC la tomó hace 1 día. Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 74/100
sysprog21/codetrial#580 · 3 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Mechanize UI color token enforcement checkPosiblemente ocupada @ArthurArthurArthur0817 la tomó hace 1 día. Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 68/100
sysprog21/codetrial#578 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Desktop app cannot change keys after the first SetupPosiblemente ocupada @Patriciaath999 la tomó hace 4 días. Abierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
sysprog21/codetrial#564 · 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 69/100
Los mantenedores suelen responder en 1 día
-
A match arm above the largest i64 is compared as 0Posiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 83/100
DioxusLabs/dioxus#6063 ·
Los mantenedores suelen responder en 1 día
-
`nsh-core` fails to compile when taffy's default `calc` feature is enabled elsewhere in the graphAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
longbridge/nsh#966 ·
Los mantenedores suelen responder en 1 día
-
Windows docs: pin a tested ConPTY version for Kitty graphics; 1.25.260930003 corrupts large uploadsAbierto
Dificultad 1/5 1-3 horas Aptitud para principiantes 88/100
raphamorim/rio#2021 ·
Los mantenedores suelen responder en 1 día