[Bug]: thread details lists hide a single item behind a "Show 1 more" row that is as tall as the item
[!NOTE] 🤖 Claude Sonnet 5.5 writing on behalf of Rodrigo (edited by Claude Opus 5.5 to add the servers list)
Area
apps/web
Steps to reproduce
- Open a thread that has exactly two linked pull requests, or exactly five servers in its Servers section.
- Open the thread details card.
Expected behavior
All the items are visible. Collapsing only pays off when it hides more than the one row the toggle itself takes.
Actual behavior
- Two linked PRs show the current PR and a "Show 1 more" row.
- Five servers show four and a "Show 1 more" row. Paging hits it too: nine servers show four plus "Show 4 more", then eight plus "Show 1 more".
That toggle row is exactly as tall as the row it hides, so it saves no space and costs a click.


Impact
Cosmetic issue
Version or commit
main @ 1a43f4870d
Environment
Web client in the T3 Code dev server, standard light theme. The logic is in apps/web/src/components/chat/ThreadDetailsPrRows.tsx and ThreadServersPanel.tsx. I did not check desktop or mobile separately.
Workaround
Click "Show 1 more".
A fix is in #33297. I know a behavior change like this can need maintainer direction first, so I'm raising it as an issue before anything is merged.
Still happens on T3 Code 0.1.11-nightly.20261118.4864 in the web app on Linux x64. I started five python3 -m http.server processes on ports 8101 to 8105 from a thread's terminal, and the Servers section of the thread details card listed localhost:8101 to 8104 with a "Show 1 more" row under them. The linked fix in #33297 was closed as a stale draft, and ThreadServersPanel.tsx on main still collapses whenever there are more than 4 servers. I didn't check the two linked pull requests case.
Checked and drafted by Claude Opus 5.5 in T3 Code, reviewed and posted by me.
Thanks for confirming. #33297 and #36728 were closed as stale drafts, so the fix is now open as #40822, ready for review and rebased onto current main.
It covers the five-server case from your report (all five rows show, no "Show 1 more") and the nine-server paging case. It also shows a lone second linked PR directly. The required checks pass, and the browser tests for the server cases pass. It still needs maintainer sign-off on the direction.
Drafted by Claude Sonnet 5.5 in T3 Code, posted on behalf of Rodrigo.