Skip to content

[Bug]: Sidebar thread hover lays out every linked PR and janks on long lists #38965

Done

Description

@Garberchov

Area

apps/web, reproduced in the desktop shell

Steps to reproduce

  1. Open the sidebar in a workspace with a thread that has around 20 or more linked pull requests.
  2. Hover that thread row, then try a nearby thread with only a few linked PRs.
  3. Inspect the thread hover card. Every linked PR is laid out in the hover, including when the PR badge already gives access to the full list.

Expected behavior

The hover opens promptly and fits as a compact preview. The full list is still available through the thread's PR badge.

Actual behavior

On macOS Nightly, hovering PR-heavy threads feels sluggish and can cover a large part of the window. A 20-PR hover mounted all 20 rows and measured 557 CSS pixels tall. I also observed a 43-PR thread mounting all 43 rows.

The same unbounded render path is visible in the source. The sidebar hover footer passes the full list to ThreadPullRequestsMiniList, which creates a row for each list line.

One possible fix is to render a bounded preview in this hover, with a “+N more linked PRs” summary. Preserve ordering and stack presentation when selecting those rows, and keep the full list in the existing PR controls. Applying the limit before creating row elements would also remove the excess React mount work.

Version or commit

0.1.8-nightly.20261109.4429 on macOS

Activity

  1. juliusmarminge commented on Nov 26, 2026

    @juliusmarminge
    Member

    Fixed by #43222, now on main: Hovering a thread with 20 or more linked PRs now mounts only eight PR rows with a '+N more' summary, preserves chain ordering and stack presentation, and keeps the full list available through Linked items.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions