[PATCH 2 of 5] paper: skip empty table cells in annotate view, use rowspan on block heads

Anton Shestakov av6 at dwimlabs.net
Fri Jul 15 10:08:27 EDT 2016


On Fri, 15 Jul 2016 22:46:37 +0900
Yuya Nishihara <yuya at tcha.org> wrote:

> On Thu, 14 Jul 2016 15:31:27 +0800, Anton Shestakov wrote:
> > # HG changeset patch
> > # User Anton Shestakov <av6 at dwimlabs.net>
> > # Date 1468473227 -28800
> > #      Thu Jul 14 13:13:47 2016 +0800
> > # Node ID 75b968dd1b1b0f7b64abd0c6d2b2d38b5734237a
> > # Parent  1d5710a9fc8f764030af5c14bfef7da20eaea989
> > paper: skip empty table cells in annotate view, use rowspan on
> > block heads
> > 
> > Apart from looking nicer, this also substantially cuts down page
> > size that more than doubled after the recent annotate changes in
> > hgweb:  
> 
> Another downside of this change is that we have to scroll up to the
> block head in order to get the annotate info.

Yeah, while the popup does show up on hovering over any part of the
block, it's currently attached to its top. Which looks/works relatively
fine when there are individual cells for each line.

If we can prune patches 2-5 of this series, I can salvage the
different coloring of block heads and send it as another series (which
hopefully wouldn't have UI-breaking issues) and see what can be done
next.


More information about the Mercurial-devel mailing list