On Mar 18, 2010, at 3:14 AM, Pieter de Bie wrote: >> I think the scope bar (the blue one) should stay as is (though the color >> doesn't). All the others I'd be willing to change if someone has a better >> idea for how to organize them. > > I don't get the scrollbar. It's something of a mix of specifying rev > parameters and the branch menu on the left. Now you suddenly have two > different ways to select a branch -- choose one in the sidebar, or > choose something else in the scope bar. Why? How will you ever make > this clear to users?
The scope bar filters which commits are shown in the tableview. Branch selection in the source view moves the tableview to that branch's commit. Scope bars are quite common, here is an example from the Finder: <http://brotherbard.com/gitx/scopebar_screenshot.png> In the screenshot the Desktop was the selected item in the source view but you can choose to see the results for the whole computer. This is where I got the idea for putting the selected branch in quotes. You can also find scope bars in Dictionary.app, Mail.app, in Xcode's Build Results window, and in many 3rd party apps that use tableviews. You can read more about them in Apple's HIG: <http://developer.apple.com/mac/library/documentation/UserExperience/Conceptual/AppleHIGuidelines/XHIGWindows/XHIGWindows.html#//apple_ref/doc/uid/20000961-SW3> I should note that I am not using rev parameters to do this, I am filtering the commits themselves. I have GitX store all the commits and just re-filter them when the selection changes so it doesn't have to go out to git just to change the view. In some cases it has to re-graph the commits, but I still do that with the commits in memory. Before each selection change I check to see if any of the refs changed and only reload the commits if they did. --Nathan http://brotherbard.com/ To unsubscribe from this group, send email to gitx+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
