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

[Bug]: Default-ref confirmation changes content while closing

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

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

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

評価

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

調査の方向性

apps/web/src/components/GitActionsControl.tsx の pendingDefaultBranchAction state と、2008-2039 行付近のダイアログのレンダリングから始めます。apps/web/src/components/ui/dialog-styles.ts を読んで、200 ms の終了トランジションを理解します。Abort、閉じるボタン、Escape による閉じ方を再現します。完了条件は、ダイアログが完全に閉じるまで、元のタイトル、説明、ボタンラベルが変更されないことです。

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

説明

bug 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 (also visible in the desktop app, which uses the web UI)

Steps to reproduce
  1. Open a git-backed thread on the repository's default ref, with working-tree changes and a configured remote.
  2. Click the top-right Commit & push action so the Commit & push to default ref? confirmation opens.
  3. Dismiss the confirmation with Abort, the close button, or Escape.
  4. Watch the dialog during its closing animation.
Expected behavior

The title, description, and button labels stay the same until the dialog has fully closed.

Actual behavior

Before the dialog disappears, its content changes to shorter fallback text. The title becomes Run action on default branch?, the description disappears, and the primary action label becomes Continue. This makes the dialog visibly shrink or jump during its exit animation.

Impact

Cosmetic issue.

Version or commit

Reported on 0.0.43-nightly.20260926.2282. The same state flow is present in source at 5f878d2a85807618a4c8571cdef5daa3124672d6.

Environment

T3 Code local instance on Linux (CachyOS). Exact client surface was not confirmed.

Investigation

The dialog's open prop depends on pendingDefaultBranchAction !== null. Dismissing it immediately sets that state to null, which also makes pendingDefaultBranchActionCopy null. The rendered title, description, and button then change to their fallback values while the popup remains mounted for its 200 ms exit transition.

Relevant source: GitActionsControl.tsx, dialog rendering, and exit transition.

I confirmed this state path in source, but could not capture a browser recording in this environment.

主要言語
TypeScript
スター
23.6k
フォーク
6.1k
平均マージ
10時間 20分
マージ済み PR(30日)
309

環境構築

Codespaces で開く

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

はじめの一歩

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

pingdotgg/t3code のほかの issue

pingdotgg/t3code の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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