Skip to content

Clips sidebar redraw cost grows with offscreen timeline clips #2704

Closed

Description

@AksharP5

The GPUI Clips sidebar builds and lays out every timeline clip card whenever the sidebar redraws, including cards outside the scroll viewport. Scrolling and reordering become increasingly expensive as a recording is split into more clips.

The cost comes from render_clip_list eagerly rendering every segment in a scrolling flex column. GPUI already provides a uniform virtual list that can limit that work to visible cards.

The change should preserve card appearance, scroll limits and inline rename. Dragging in a scrolled list must retain global timeline indices when earlier cards are not rendered.

I am working on this. Checked all 276 open PRs and 211 other open issues, including the PRs touching this file and their discussions. No existing change covers sidebar virtualization.

Activity

  1. linear commented on Oct 18, 2026

    @linear
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