Skip to content

Show partition statistics in the FileTree page #112

Description

@YanivZalach

Problem:
The FileTree page only tells you how many files sit in a partition. Whether a partition is a handful of large files or hundreds of tiny ones, whether it is far heavier than its siblings, or whether it is loaded with delete files, is invisible without opening every file row one by one.

What the user gets:

  • Hovering a partition row reveals a stats popover aggregating every data file in that partition (same hover-popover pattern already used by the totals indicator in the toolbar).
  • The popover shows:
    • Total size
    • Average, smallest and largest file size
    • Total row count
    • File count broken down by type (data / position delete / equality delete)
  • Sizes are shown in human-readable units (KB / MB / GB), not raw bytes or fixed GB.
  • In tree view, every folder level rolls up the same statistics for all partitions beneath it, not just the leaf partition. In flat view the leaf partition row carries them.
  • Statistics follow whatever is currently on screen: they reflect the selected snapshot and only the files included in the current view.

Notes:

  • Frontend only. Per-file size, row count and file type already arrive with the graph data, so no backend or API change is needed.

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status
    In Progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions