[Bug]: Guided review: “Also in this stop” files lack inline comment controls

未关闭
#36,208 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
62/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
react, typescript
领域
frontend

调研方向

Start with GuideExcerpt.tsx, which enables gutter comment controls, line selection and the comment editor for highlighted excerpts. Compare it with GuideFileDiff.tsx, which renders the files under "Also in this stop" without that wiring. Done when hovering a changed line in an expanded additional file shows the + button and submits a comment through the same flow as excerpts.

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

描述

Description

When reviewing a pull request using the guide, highlighted code excerpts show a + button when hovering over a line, allowing me to add a review comment. Files listed under “Also in this stop” do not offer this control when expanded.

Steps to reproduce

  1. Open a pull request’s review guide.
  2. Navigate to a stop containing highlighted excerpts and additional files under “Also in this stop”.
  3. Hover over a line in a highlighted excerpt: the + comment button appears.
  4. Expand one of the additional files and hover over a changed line: no comment button appears.

Expected behavior

Changed lines in expanded “Also in this stop” files should support inline review comments, just like highlighted excerpts.

Actual behavior

The additional files display their diffs, but inline commenting is unavailable.

Environment

  • T3 Code desktop: 0.1.10-nightly.20261113.4630
  • macOS: 27.2.1 (build 26B131)

Investigation

GuideExcerpt.tsx enables gutter controls and line selection and connects them to the comment editor. GuideFileDiff.tsx, used for the additional files, does not have that integration.

I found no exact duplicate. Open PR #35324 touches this viewer, but its current changes do not add commenting support there.

I’d be interested in contributing a focused fix that reuses the existing commenting flow, if this limitation is unintended.

主要语言
TypeScript
星标
24.8k
派生
6.4k
平均合并
59 分钟
30 天内合并 PR
418

环境准备

在 Codespaces 中打开

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

从这里开始

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

pingdotgg/t3code 的其他 Issue

查看 pingdotgg/t3code 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

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