alexcorre/git-blame — pull request #13 by dmnd (2014-07-14 04:22:43+00:00)
Title: Resizable but static width panel

Some of my collaborators have long last names which makes a dynamic width
annoying. Because of this (and another reason, see below) I decided to
implement a static-width panel that's resizable.

This pull request adds a resize-handle and some style tweaks to make things look good
at varying widths, including fixed-width dates (with configurable format strings).

![image](http://recordit.co/UzlhdRxAl3.gif)

(For some reason the `cursor: col-resize` doesn't show up in the gif)

The other reason a static-width panel is better is because when blaming large
files in repositories with lots of history there is a noticeable delay before
the panel appears. It would feel much better if it displayed instantly, but
this is problematic in the current implementation because the width is unknown
until blame returns.

With a static panel width, the panel can react immediately to the keypress and
display a throbber to indicate blame is running. Then when blame completes, the
panel can update without resizing.

I haven't actually implemented instant display yet but I intend to.