[Bug]: thread details lists hide a single item behind a "Show 1 more" row that is as tall as the item#33296

opened2d agobyBBrechard

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

  1. Open a thread that has exactly two linked pull requests, or exactly five servers in its Servers section.
  2. 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.

Two linked PRs: the second is behind "Show 1 more"

Five servers: the fifth is behind "Show 1 more"

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.