GeezerVison is showing github.com — fix(web): the sidebar thread hover shows five linked PRs, not all of them by shivamhwp · Pull Request #39050 · pingdotgg/t3code
Conversation
Closes #38965
A thread with 20 or more linked PRs mounted every linked PR as a row in its sidebar hover card. A 20-PR hover measured 557px tall and janked on long lists. The hover now shows the first five linked PRs and a "+N more linked PRs" line. The PR badge's tooltip still lists every PR in its scrollable container.
The cap is applied after the full list is ordered and its stacks are resolved, so depth and stack labels are unchanged. Rows past the limit are never created.
Before (base 94baff19c6): all 20 PRs listed in the hover.

After (head 5490e1f3b4): five PRs and "+15 more linked PRs".

How it was checked
Not shown
- The desktop shell. The hover is shared web code, so the change reaches it, but I did not run it there.
- Translations for the nine non-English catalogs were written by hand and have not been checked by a native speaker.
- The full CI suite and build.
🤖 Generated with Claude Code
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
…them
A thread with 20 or more linked PRs mounted every PR row in its sidebar hover card, which laid out to over 500px and made hovering sluggish. The hover now shows the first five and a "+N more linked PRs" line; the PR badge keeps the full list.
Co-Authored-By: Claude Haiku 5.5 <[email protected]>
The scenario links 20 PRs through the app's Link pull request dialog, hovers the thread row, and asserts five list items and "+15 more linked PRs". It fails on base and passes with the fix.
Co-Authored-By: Claude Haiku 5.5 <[email protected]>
coderabbitai
Bot
commented
Nov 19, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|

No actionable comments were generated in the recent review.
Walkthrough
-
The linked pull-request mini-list accepts an optional display limit and shows a translated count for hidden entries. The sidebar tooltip sets the limit to five. Component and end-to-end tests cover the displayed entries and overflow count.
Changes: Linked PR preview
| Layer / File(s) |
Summary |
Mini-list limit and overflow count apps/web/src/components/ThreadStatusIndicators.tsx, apps/web/src/i18n/translations/*.json, apps/web/src/components/ThreadStatusIndicators.linkedPr.browser.test.tsx |
ThreadPullRequestsMiniList accepts an optional limit, renders only the visible entries, and shows a translated count for remaining entries. Without a limit, it continues to show the full list. The component test checks a five-entry limit and a “+2 more linked PRs” count. |
Sidebar tooltip integration apps/web/src/components/sidebar/SidebarThreadRow.tsx, scripts/scenarios/sidebar-hover-caps-linked-prs.e2e.ts |
The sidebar tooltip sets the mini-list limit to five. The end-to-end scenario links 20 pull requests and checks that the tooltip shows five entries and a “+15 more linked PRs” count. |
Estimated code review effort: 2 (Simple) | ~10 minutes
Change: Bug fix · Severity of issue fixed: Medium
Suggested reviewers: only21mil, maria-rcks, juliusmarminge
Merge Risk: Minimal · up to a5438
-
The sidebar hover now shows at most five linked PRs plus a count of the rest, and the full list stays available from the PR badge. No merge-blocking risk was identified.
Pre-merge checks: 4
-
| Check name |
Status |
Explanation |
| Title check |
 |
The title names the main change: the sidebar thread hover now shows five linked PRs instead of all of them. It follows the conventional commit form and matches the changeset, which caps the hover list… |
| Description check |
 |
The description follows the template. It has a Problem section (20 or more linked PRs render every row in the sidebar hover, measured at 557px tall and janky), a Change section (cap at five with a sum… |
| Linked Issues check |
 |
Issue #38965 requires a compact sidebar hover that does not mount every linked PR, keeps the full list in the PR badge, and preserves PR ordering and stack labels. At the reviewed head, `SidebarThread… |
| Out of Scope Changes check |
 |
The changed files relate to issue #38965. ThreadStatusIndicators.tsx adds the optional limit and the summary line. SidebarThreadRow.tsx sets the hover limit to 5. ThreadStatusIndicators.linkedPr.bro… |
Full details: Title check
-
Explanation
The title names the main change: the sidebar thread hover now shows five linked PRs instead of all of them. It follows the conventional commit form and matches the changeset, which caps the hover list at five entries and adds a "+N more linked PRs" summary.
Full details: Description check
-
Explanation
The description follows the template. It has a Problem section (20 or more linked PRs render every row in the sidebar hover, measured at 557px tall and janky), a Change section (cap at five with a summary line, applied after ordering and stack resolution), a Scope section that links issue #38965, and a Verification section. Verification gives specific checks with observed results: the e2e scenario fails on base with 5 expected and 20 found, and passes on head. The description also states what was not checked. Two minor gaps: the template asks for a note on why the change needs no issue, which is covered by the issue link, and the agent attribution line is present as a Claude Code footer that names the tool but not an explicit model and harness. Those gaps are small, so the description is mostly complete.
Full details: Linked Issues check
-
Explanation
Issue #38965 requires a compact sidebar hover that does not mount every linked PR, keeps the full list in the PR badge, and preserves PR ordering and stack labels. At the reviewed head, SidebarThreadTooltip in apps/web/src/components/sidebar/SidebarThreadRow.tsx sets HOVER_PULL_REQUEST_LIMIT = 5 and passes limit={HOVER_PULL_REQUEST_LIMIT} to ThreadPullRequestsMiniList in the hover footer. This call site was read directly. The body of ThreadPullRequestsMiniList in apps/web/src/components/ThreadStatusIndicators.tsx could not be read because the file read was truncated before that function. Per the change summary, the list is sliced to limit after ordering and stack resolution, so rows past the limit are not created, and a '+N more linked PR(s)' line is shown. The PR badge tooltip path is not changed. The browser test (7 PRs, limit 5, asserts 5 items and '+2 more') and the e2e scenario (20 PRs, 5 items, '+15 more linked PRs') cover the behavior. Limitation: the incremental diff from previous head 5490e1f to head a543825 was unavailable, so changes made since the previous review could not be read. This verdict relies on the head call site, the change summary, and the test descriptions.
Full details: Out of Scope Changes check
-
Explanation
The changed files relate to issue #38965. ThreadStatusIndicators.tsx adds the optional limit and the summary line. SidebarThreadRow.tsx sets the hover limit to 5. ThreadStatusIndicators.linkedPr.browser.test.tsx and scripts/scenarios/sidebar-hover-caps-linked-prs.e2e.ts test the bounded hover. The nine i18n catalogs each add one pluralized string for the summary line. No unrelated module or behavior change appears in the change summary. Limitation: the incremental diff since previous head 5490e1f was unavailable, and the mini list body could not be read at head. Changes made in that unread range are not verified.
Finishing Touches
-
Generate unit tests (beta)
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info
-
Run configuration
-
Commits
-
Reviewing files that changed from the base of the PR and between 5490e1f and a543825.
Files selected for processing: 1
-
apps/web/src/components/ThreadStatusIndicators.linkedPr.browser.test.tsx
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 6 remain after this review.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Handing this over to Julius. What I checked, on commit 5490e1f3b4 (the commit before the a5438257 push; I did not verify the newer commits).
Reproduced (base 94baff19c6, web client in a real browser): a thread with 20 linked PRs. Hovering its sidebar row lists all 20 PRs. The scenario fails on expect(...).toHaveCount(5) with 20 found.
Fix verified (head 5490e1f3b4, web client in a real browser): the same scenario lists 5 PRs and shows "+15 more linked PRs". It passes. The PR badge tooltip still lists every PR.
Other checks at 5490e1f3b4, in a clean checkout:
ThreadStatusIndicators.linkedPr.browser.test.tsx: 2 of 2 pass. The new test fails on the unfixed code.
- The repo's
check:changed: format, lint, knip, typecheck, unit tests and React compiler checks all pass.
- CI on
5490e1f3b4: all 45 checks passed.
Not verified:
- The desktop shell, where the issue was reported. The hover is shared web code, but I did not run it there.
- Mobile. Not affected by this change.
- The nine non-English translations were written by hand. A native speaker should check them.
- Your newer commits,
a543825735 and the merge 6794dbd0de.
Evidence: the before and after hover screenshots are in the PR body.
Posted by Claude for Shivam.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
We're closing this in favour of #39971, which fixes the same problem and is the better version. It applies the same five-row cap to the hover card only, leaves the normal status list unbounded, and does it with a smaller diff and a browser regression test. If you think this PR covers something #39971 misses, let us know and we can reopen it.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|