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

Aberta
#835 3 comentários 0 reações 1 responsável Ver no GitHub

Mantenedores costumam responder em até 1 dia

@Phonlin já está trabalhando nisso.

Desde 24/11/2026.

Avaliação

Esta issue ainda não foi avaliada.

Descrição

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

Linguagem predominante
Rust
Estrelas
236
Forks
153
Merge médio
1d 9h
PRs com merge (30d)
187

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de sysprog21/codetrial

Todas as issues de sysprog21/codetrial

Issues semelhantes

Mais issues de Rust

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.