Skip to content

Feature: CodeView should support per-item header heights #1096

Description

@spalger

Prerequisites

Proposal

Allow CodeView items to specify or resolve a diffHeaderHeight. CodeView should use it for item height estimation, sticky-header positioning, and scroll calculations.

Motivation and context

I'd like to render file-level annotations, or alternate content for collapsed files, which would look better as a part of the header rather than an annotation that is indented for the line-number column. This would require that we can specify a per-item header size though as right not it causes jumps in the scrolling when headers are not a consistent size.

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

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions