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

未关闭
#835 3 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

维护者通常 1 天内回复

@Phonlin 已经在做这个了。

开始于 2026年11月24日。

评估

这个 Issue 还没有评估数据。

描述

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

主要语言
Rust
星标
236
派生
153
平均合并
1 天 9 小时
30 天内合并 PR
187

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

sysprog21/codetrial 的其他 Issue

查看 sysprog21/codetrial 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。