You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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.
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.
Activity
umputun commentedon Apr 26, 2026
one design question: do you see this panel as an extension of the existing commit-info popup (
ikey), or as a separate overlay?both answer "what am I looking at?", just at different layers, the
ipopup 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:
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"I)ipopup 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/-18aggregate 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.umputun commentedon Apr 26, 2026
also worth flagging #130 in this thread, it's a third angle on the same "what am I looking at?" question:
--descriptioncli flag so the agent can explain the diff to the user in a dedicated pane. #130 — agent-supplied prose (--description=..., markdown), the why of the diffipopup — which commits are in the rangeif all three end up as sections in the same
ioverlay (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.melonamin commentedon Apr 26, 2026
I think merging works well, different modes on the screenshot below