Skip to content

Configurable bottom count for sticky tree items #15136

Description

@Ivorforce

Problem or limitation

Sticky items (just merged, #13998) allow fixing the root headers to the top: The first X items stay in view, providing context. If the tree is deeper than X, direct parents are scrolled past.

In many contexts, the bottommost (direct parent) headers are important, often more so than root items.
When trying to configure deeply enough to see them, vertical space suffers because half of it is taken by headers out of view (e.g. skeleton trees):

Image (image credit: @passivestar)

Proposed improvement

Add a separate bottom sticky count. Instead of the topmost items, stick the bottommost ones:

Image

When both a top count and a bottom count are configured, and there are headers in between, add a separator:

Image

Proposal review

  • Yes, this proposal is highly specific and actionable.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions