Let candidates move Jim’s floating stage out of the way

Abierto
#835 3 comentarios 0 reacciones 1 asignado Ver en GitHub

Los mantenedores suelen responder en 1 día

@Phonlin ya está trabajando en esto.

Desde el 24/11/2026.

Evaluación

Este issue todavía no se ha evaluado.

Descripción

When Jim’s card overlaps the editor, the editor makes room on the right or at the bottom. The right-hand strip applies to every line, even below the card, so with Auto wrap on, long lines can wrap early where nothing covers them. When the card overlaps the bottom, the editor adds extra scroll space so the last few lines and the caret can move up past it. That feels like giving up more editor space than the overlap calls for. At 1024×600, the card can also cover part of the test drawer. I’d like to move the card aside and keep working where I am, with the captions still visible. [#791](https://github.com/sysprog21/codetrial/pull/791) · [#790](https://github.com/sysprog21/codetrial/issues/790)

I tried a local prototype with one Move stage button. Clicking or tapping switches sides at the same height. Dragging lets you pick a height, and the card snaps to the nearer left or right edge when you let go. With the button focused, Enter or Space switches sides, and the arrow keys reposition the card. At 1024×600, I checked that dragging preserves the editor’s width, caret, focus, and scroll position.

The prototype uses the same layout and controls at 1200 px and below as it does on larger screens. Jim and self-view sit side by side, Live CC scrolls below them, and Hide/Show avatar stays in the control row.

Changing height currently requires dragging or a keyboard. I’d be happy to start with left/right movement only if that’s enough to address the overlap.

Would this fit as a follow-up to [#512](https://github.com/sysprog21/codetrial/issues/512)? If so, I’m happy to open a PR.

Before

https://github.com/user-attachments/assets/9c354436-cedb-4d2b-aebc-18564f63abc3

Lenguaje dominante
Rust
Estrellas
236
Forks
153
Merge medio
1 d 9 h
PR fusionados (30 d)
187

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de sysprog21/codetrial

Todos los issues de sysprog21/codetrial

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.