Skip to content

feat: review info panel #154

Closed
Closed

Description

@melonamin

I often get back to a couple of revdiffs that were opened automatically for me by a workflow. It would be helpful to quickly get additional context on what I am looking at.

A simple info panel like this could be handy in this situation:

Image

Activity

  1. umputun commented on Apr 26, 2026

    @umputun
    Owner

    one design question: do you see this panel as an extension of the existing commit-info popup (i key), or as a separate overlay?

    both answer "what am I looking at?", just at different layers, the i popup tells you which commits are in the range, your panel would tell you which repo, mode, refs, and totals. they're complementary.

    a few options:

    • merge into i, prepend a session-info section above the commits list. side benefit: the popup stops being a dead-end in --stdin / --all-files / file-only modes where it currently shows "no commits in this mode"
    • separate overlay on a new key (e.g. I)
    • single unified i popup with a session-info header and a commits section below it (when applicable)

    I lean toward merging, but if your mental model is two distinct panels let me know, it shapes the approach for the PR.

    also, the lines: +231/-18 aggregate isn't currently computed, file diffs load lazily per-file, so a session total means either eager pre-load or computing during the existing files-load goroutine. fine either way, just flagging.

  2. umputun commented on Apr 26, 2026

    @umputun
    Owner

    also worth flagging #130 in this thread, it's a third angle on the same "what am I looking at?" question:

    if all three end up as sections in the same i overlay (description → session info → commits), it composes cleanly and the popup stops being empty in --stdin / --all-files / file-only modes. doesn't change the question above, just gives more weight to the merge option vs a separate panel.

  3. melonamin commented on Apr 26, 2026

    @melonamin
    ContributorAuthor

    I think merging works well, different modes on the screenshot below

    Image
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