-
Notifications
You must be signed in to change notification settings - Fork 12
-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consolidate Commit and Changes tabs in All Commits view #194
Comments
While I agree that the difference between Commit and Changes tabs is a bit unclear, I'm not sure how to improve that. "Commit Overview" could be a more precise name for the "Commit" tab, but it's too long. Generally I have two usage patterns:
I don't like neither ST or GitX approaches:
Merging two tabs into one will limit at least one of them.
Is there an example? The header is quite small to show commit description. Not sure how that is possible. I can show commit description as a tooltip, but this not what you want probably. Or you mean the GitX approach? |
@DanPristupov FWIW I think the commit info can be dropped completely from the "Changes" tab. That would give us a bit more space to actually view the changes, while the commit metadata can be reviewed on the other tab or in the commit list above the panel. |
Hi @DanPristupov. Nice work on fork! I am really loving it. Like @olivergierke I also miss a more compact way of looking at commits. I come from many years of GitX, but I dig that compactness on command line too, using: diff-so-fancy The commit tab could add the commit info a-la GitX without being verbose. Here is a screenshot for those that do not know how GitX does it: Anyway, thank you very much for fork and keep up the good work. |
@andion thank you for the mockup. I like it. This can be tricky from performance point of view. All the file context should probably be lazy... May be I should implement a draft, hidden by default and add an option to enable it. Than we can start to gradually improve it. If it work out OK, I'll enable it for everybody. Otherwise, it'll stay hidden for majority of users. |
I'm all for compactness and I do think Fork wastes a lot of space that could used better. I'm not sure though about including the change list in one view, the way GitX does. This could work well when you're dealing with small commits, but what if, speaking from a game development scenario, the list includes lots of changes in:
Then you have two problems:
|
OK, I checked the upvotes and here's what we will have in 1.0.70. This is basically what @olivergierke and @andion have proposed. |
@DanPristupov I love it! Thank you for the good work! |
1.0.70 just out! Please try the new feature and give me some feedback. |
@andion I've never seen such problem. How often does it occur? What happens when you click on such an item? |
I have the same problem. Occurs almost always, but only with the second file in the BTW: Congrats, I love the new view!
|
Like @ivanlomba it's almost always, and on the second file. If you click on the item in the front it goes to that file. If you manage to click on the item on the back... it makes a third item appear exactly as the one that was on the top before. But, if you click on that one, it makes consecutive file paths appear, and it collapses their respective expanded views... ending in something like this: If it's not clear enough and it helps I can try to make a small vid. |
I'm late to the game but I love this feature. Thank you so much for adding it. One behaviour I have is to basically see the commits from my remote team when I wake up, and navigating with the up & down arrow keys makes it easy to see each commit. But it's currently a 2-step process where, for each commit that I focus on, I have to use the mouse to tap Expand all. Another alternative I have is to go to the Changes tab and look it from there, as it stays as the selected tab as I move through the commits. But the downside of this alternative is that it doesn't show all files changed at once -- like the Commit tab -- but one file at a time. I was wondering if someone else has this routine as well. If so, would it be reasonable to keep Expand all persistently thought a session? Or having a preference backing it up through app restarts? |
@leandrofavarin thank you for describing your use case. There's #420 which is pretty much what you asked. I'm going to implement that soon. Not sure about showing multiple files at once in the Changes tab though. Technically it's possible, but I don't want to make the UI too complicated. |
@DanPristupov thank you 🙏 I apologize not looking at the Issues tab thoroughly to find a similar feedback. I believe #420 should suffice for my use case and avoid bringing complexity to the UI. |
The separation of the Commit and Changes tabs in the All Commits view feels a bit arbitrary. I'd love to see a canonical view of the changes including the files' diffs but the complete commit message at the same time.
If the Changes tab exposed the complete commit message, that would already do the trick for me, but then the Commit tab is pretty much offering the same information but missing the diff. So it might be a chance to consolidate into one view?
The text was updated successfully, but these errors were encountered: