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

Aperta
#835 3 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@Phonlin ci sta già lavorando.

Dal 24/11/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

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

Lingua principale
Rust
Stelle
236
Fork
153
Merge medio
1g 9h
PR unite (30g)
187

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di sysprog21/codetrial

Tutte le issue di sysprog21/codetrial

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.