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

Re: [RFH] QGit: how to cram a patch in a crowded screen

From
PRPavel Roskin <proski@gnu.org>
Date
May 31, 2007, 00:23 UTC
Message-ID
<1180571013.3582.32.camel@dv>
In-Reply-To
<e5bfff550705301118k4ca8720bna260e171f0eb83ca@mail.gmail.com>
On Wed, 2007-05-30 at 21:18 +0300, Marco Costalba wrote:
> My (crazy) idea is:
> 
> - Let switch from message to diff content scrolling down after the end
> of message.
...

I'll appreciate if you follow standard conventions for standard GUI actions and don't change the behavior of such basic keys as arrows.

It would be better to use something more advanced for application specific behavior. I belong to the post-vi generation, so my mind cannot easily associate letters (like 'i' and 'k') with up and down actions. But we could use some key combinations with obvious "directional meaning", such as Ctrl-arrows.

I've said it before, and it's worth repeating - any key must be discoverable through the GUI. No key or feature should be discovered by accident - it would be a sign of bad design.

> So I imagine two labels for each content type:
> 
> - for message content a top right label called "Up" and one in bottom
> right position called "Diff"
...
> I plan also to change the labels in something more intuitive with
> scroll action, as example adding an up and down direction little
> arrows next to them.

I'm afraid it would misuse the paradigm of labels. It should be buttons, perhaps in the toolbar.

> P.S: In case someone wonders what's the goal of this label madness. It
> is to be able to browse a repo in either both sequential directions,
> up or down, using only the mouse wheel.

It may be a cool feature, but users don't expect the mouse wheel to change anything other than position of the text. Switching the revision by the scrolling the wheel would be a feature discovered by accident.

-- 
Regards,
Pavel Roskin
Previous: Marco CostalbaNext: Marco Costalba
Message 11 of 13 in “[RFH] QGit: how to cram a patch in a crowded screen”
  1. Marco CostalbaMay 26, 2007
  2. Andy ParkinsMay 26, 2007
  3. Marco CostalbaMay 26, 2007
  4. Jan HudecMay 27, 2007
  5. Marco CostalbaMay 27, 2007
  6. Jan HudecMay 31, 2007
  7. Marco CostalbaJun 2, 2007
  8. Jan HudecJun 4, 2007
  9. Andy ParkinsMay 30, 2007
  10. Marco CostalbaMay 30, 2007
  11. Pavel RoskinMay 31, 2007
  12. Marco CostalbaMay 31, 2007
  13. Alex RiesenMay 31, 2007

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.