git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: gitk next/prev buttons

From
Marc Branchaud <marcnarc@xiplink.com>
Date
Oct 8, 2013, 17:50 UTC
Message-ID
<525445FB.6000806@xiplink.com>
In-Reply-To
<524A33E5.7090001@threeamdesign.com.au>
On 13-09-30 10:31 PM, Lucas Sandery [three am design] wrote:
Show 7 quoted lines
> The "next" and "prev" buttons are lacking consistency and logic. For RTL
> languages previous is almost always on the left, and next on the right. The
> words are contradictory, "next" actually goes to backwards chronologically,
> and "prev" goes forward. Could the positions of the buttons be switched and
> the text be replaced with "earlier" and "later"? This would make the
> reference time not just order, and would mean the updated UI would not be
> confused with the previous one.
I agree with you here (I like "older" and "newer" myself).

In theory gitk accepts the same arguments as "git rev-list", and in theory you should be able to use things like --reverse to get the commits in a different order.

However, in practice I don't think anyone futzes with the ordering much with gitk. gitk even ignores the --reverse and --timestamp options, and I've had a hard time getting gitk to display commits in an order where "older" and "newer" would not make sense.

> Also, the arrow-only next/previous buttons (beside the commit ID) should
> really point up and down. Horizontal directions are ambiguous for navigation
> of a vertical list.

Here I don't agree. These arrows are purely about history navigation. They don't have anything to do with "up" or "down" in the list. In that sense they're more like the arrows in your web browser.

		M.
Previous: Lucas SanderyNext: Jonathan Nieder
Message 3 of 12 in “gitk next/prev buttons”
  1. Lucas Sandery [three am design]Oct 1, 2013
  2. Lucas SanderyOct 2, 2013
  3. Marc BranchaudOct 8, 2013
  4. Jonathan NiederOct 8, 2013
  5. Marc BranchaudOct 8, 2013
  6. [PATCHv2] gitk: Replace "next" and "prev" buttons with down and up arrows.Marc Branchaud, Dec 18, 2013
  7. Marc BranchaudJan 21, 2014
  8. Paul MackerrasJan 22, 2014
  9. Junio C HamanoJan 22, 2014
  10. Paul MackerrasJan 23, 2014
  11. Junio C HamanoJan 23, 2014
  12. gitk: Rename "next" and "prev" buttons to "older" and "newer".Marc Branchaud, Oct 8, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.