Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Log: Always preview diff when commit is selected/focused in list? #1131

tony started this conversation in Ideas
Discussion options

Thank you for the project @extrawurst!

Usability question. Right now the meat of a commit isn't readily viewable (at least in my config as of 0.20.1)

image

Above: for the sake of example only, the bottom right pane is used to show preview. Ultimately opening it anywhere, including a bottom drawer could be possible

I would like to have when select a commit, a pane to show a preview (preferrable scrollable somehow)
gitui preview mock

Above: preview without needing to open full commit browser

logs: gitui 0.20.1 vs tig 2.4.11 diff preview

2022年02月08日.12-22-54.-.tig.vs.gitui.-.logs.-.default.commit.selection.behavior.mp4

Above: tig(1) vs gitui(1) commit viewing behavior upon a single click

2022年02月08日.12-29-49.-.tig.vs.gitui.-.logs.-.clicks.to.see.diff.mp4

Above gitui(1): Previewing diff is a few clicks away, each commit seems to be opened separately. However gitui(1)'s opening of a commit's diff is far more intricate and featureful. I'm speaking of merely having a tig-like preview here upon selection / hover of a commit (not necessarily fully opening the full diff view):

2022年02月08日.12-26-03.-.tig.vs.gitui.-.logs.-.default.commit.selection.behavior.-.preview.pane.mp4

Above (fast paging of previews w/ tig(1)): once a preview pane is open in tig(1) by pressing "enter" on an individual commit, it persists and pressing up/down will keep the pane open. It acts a lot like mailbird/airmail/geary providing a message preview pane in an email client.

Q: Is this a question or a feature request? If I should rephrase tis as a feature request let me know.

You must be logged in to vote

Replies: 1 comment

Comment options

It is certainly a feature request, I don’t see how to build this without new commands wich sacrifices entry barrier everyone though. the benefit of having this combined total unified diff is not clear to me either. There is still the unclear part of how to scroll it cause it is unlikely it ever fits in view.

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants

AltStyle によって変換されたページ (->オリジナル) /