You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Changes is disabled on New thread even when the selected branch has a diff #43905
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
Create a temporary repository with a clean working tree and one committed change on repro/changes relative to origin/main. The remote below is a local bare repository.
In T3 Code desktop, add the fixture directory printed by pwd as a project and open New thread for it.
Use Current checkout with repro/changes selected. Before sending anything, open Thread details. The Changes vs origin/main row shows +4 / −1 and is disabled.
Send a first message that leaves the repo untouched, such as “Reply only with OK. Do not run tools or edit files.”
In the same checkout and branch, click Changes vs origin/main again. It still shows +4 / −1, but now opens Diff, where you can expand example.txt to see the changes.
Expected behavior
Clicking Changes opens the selected branch’s diff on the New thread screen, so I can review it before sending the first message.
Actual behavior
The Changes row is greyed out and cannot be clicked, even though it already shows nonzero diff totals (+150 / −97 in the reported example). After the thread starts, Changes becomes clickable.
Impact
Minor bug or occasional failure
Version or commit
0.1.12 (Beta)
Environment
T3 Code desktop on macOS 15.8.2, local checkout.
Screenshots, recordings, or supporting files
Reporter screenshots from two branch examples. The steps above reproduce both states on one branch.
New thread. The row is disabled even though it shows +150 / −97.
After a thread has started. The row is enabled. This screenshot shows +320 / −69.
Activity