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

Đang mở
#835 3 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@Phonlin đang làm issue này rồi.

Từ ngày 24/11/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

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

Ngôn ngữ chính
Rust
Star
236
Fork
153
Merge trung bình
1 ngày 9 giờ
Pull request đã merge (30 ngày)
187

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của sysprog21/codetrial

Tất cả issue của sysprog21/codetrial

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.