Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[Bug]: Add to agent silently discards an earlier unsent PR diff question

オープン 初心者向け
#14,637 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
84/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
typescript
領域
frontend

調査の方向性

apps/web/src/components/pullRequest/PullRequestDetailPanel.tsx の composer への引き渡しと、apps/web/src/components/pullRequest/pullRequestDetail.logic.ts の置換ロジックから始めてください。apps/web/src/components/pullRequest/pullRequestDetail.logic.test.ts の関連するテストを読み、その後、Add to agent アクションを繰り返したときに、以前に送信されていない質問と行の引用が保持されるよう、カバレッジを更新してください。

索引モデルが issue の本文から書いたものです。

説明

enhancement via-triage
Before submitting
  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.
Area

apps/web

Steps to reproduce
  1. In a thread linked to a PR, open its Code tab.
  2. Select a diff line, enter a question, and click Add to agent. Do not send the composer.
  3. Repeat on a different line with a second question.
  4. Inspect the composer.
Expected behavior

I expected Add to agent to keep both unsent questions and their line citations.

Actual behavior

After the second action, only its line citation remains. The first unedited question is also replaced. The public [composer handoff](https://github.com/pingdotgg/t3code/blob/451afcb22d93f06cb24f9bc16703404564952553/apps/web/src/components/pullRequest/PullRequestDetailPanel.tsx#L1074-L1100) uses [replacement logic](https://github.com/pingdotgg/t3code/blob/451afcb22d93f06cb24f9bc16703404564952553/apps/web/src/components/pullRequest/pullRequestDetail.logic.ts#L659-L721), and its [test](https://github.com/pingdotgg/t3code/blob/451afcb22d93f06cb24f9bc16703404564952553/apps/web/src/components/pullRequest/pullRequestDetail.logic.test.ts#L1209-L1215) expects the earlier citation to be removed.

Impact

Cosmetic issue

Version or commit

No response

Environment

No response

Logs or stack traces

Screenshots, recordings, or supporting files

No response

Workaround

No response

主要言語
TypeScript
スター
24.8k
フォーク
6.4k
平均マージ
8時間 34分
マージ済み PR(30日)
243

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

pingdotgg/t3code のほかの issue

pingdotgg/t3code の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。