Skip to content

Reduce closed-menu rendering overhead when returning to a worktree #20308

Closed

Description

@nwparker

Returning to a worktree after a while leaves the terminal briefly blank while its renderer is restored.

The activation path eagerly constructs and translates terminal context-menu rows, the close confirmation body, and New Tab menu entries even while those surfaces are closed. Defer that work behind the existing Radix content mount boundaries to reduce cold terminal activation overhead without retaining additional terminal renderers.

Acceptance: demonstrate lower cold-switch restoration time, preserve menu/confirmation behavior, and keep terminal retention, replay ordering, geometry and remote execution behavior intact. A brief snapshot restore interval may remain.

Activity

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