[Bug]: The active Pull requests pane tab can't be dragged or middle-click closed

未关闭 适合新手
#38,384 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
77/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
typescript
领域
desktop

调研方向

在 TypeScript 代码中找到 SettingsTabNotch、NewTabLauncher 和 ChatHeader,并查看其他窗格标签页如何处理拖动、中键点击和光标行为。在一个线程标签页旁打开 Pull requests 以复现问题,然后比较这三个组件中的相关处理器。完成标准是:活动的 Pull requests 和 New 标签页能按预期响应中键点击和拖动,并且活动的草稿线程标签页不再显示文本光标。

由索引模型根据 Issue 内容生成。

描述

[!NOTE]
🤖 Claude (Opus 5.5) on behalf of Etan

On #28845: the active Pull requests tab shows a text cursor, can't be dragged, and ignores a middle click. Other pane tabs drag and close on middle click.

Repro: open Pull requests beside a thread tab, then hover its tab, drag it, and middle-click it.

Cause: SettingsTabNotch renders the active tab as a plain div with only onContextMenu, so it has no drag, middle-click or cursor handling.

Also: the active New tab (NewTabLauncher) ignores a middle click and shows a text cursor, and the active draft-thread tab (ChatHeader) shows a text cursor.

Pull requests tab: text cursor, no drag Thread tab: drags with a ghost
主要语言
TypeScript
星标
24.8k
派生
6.4k
平均合并
4 小时 46 分钟
30 天内合并 PR
488

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

从这里开始

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

pingdotgg/t3code 的其他 Issue

查看 pingdotgg/t3code 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

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