Re: [PATCH gitweb] Visually indicating patch size with horizontal bars
- From
Petr Baudis <pasky@suse.cz>
- Date
- Nov 1, 2005, 23:43 UTC
- Message-ID
- <20051101234302.GD1431@pasky.or.cz>
- In-Reply-To
- <46a038f90511011533q177328fdrf4b0dd68f188282e@mail.gmail.com>
Dear diary, on Wed, Nov 02, 2005 at 12:33:38AM CET, I got a letter where Martin Langhoff <martin.langhoff@gmail.com> told me that...
Show 6 quoted lines
> On 11/2/05, Petr Baudis <pasky@suse.cz> wrote: > > What about having the color indicate the number of affected files (let's > > say on a blue..red scale) and the width the size of patch? > > I'm a /little bit/ colour blind on the red scale -- so I vote for 2 > bars, each half the heigth of the current bar. ;-)
That's certainly possible as well (if you make each of the bars of different color), but for most people not equally visually obvious. Perhaps we could have a knob at the bottom of the page, but that isn't very satisfying a solution either... :-(
Another possibility is to make the height dynamic and in proportion with the number of affected files. Or combine both the color and dynamic height. I believe changing the color to red would make it appear as black for the red-color-blind people?
-- Petr "Pasky" Baudis Stuff: http://pasky.or.cz/ VI has two modes: the one in which it beeps and the one in which it doesn't.