bzrweb with logarithmic pagination

Chris McCormick chris at mccormick.cx
Fri Jul 8 07:41:01 BST 2005


On Fri, Jul 08, 2005 at 12:57:39PM +0800, bazaar-ng-request at lists.canonical.com wrote:
> Date: Thu, 7 Jul 2005 17:51:53 +1000
> From: Martin Pool <mbp at sourcefrog.net>
> Subject: Re: bzrweb with extra rss crack
> To: bazaar-ng at lists.canonical.com
> Message-ID: <20050707075150.GA29051 at sourcefrog.net>
> Content-Type: text/plain; charset=us-ascii
> 
> On  6 Jul 2005, Chris McCormick <chris at mccormick.cx> wrote:
> > > If you work on it at all, might I recommend that you actually hide older
> > > versions past say 100 revisions. Rather than just compacting them?
> > > I'm not sure what your design is, but right now with 691 revisions, the
> > > web-page becomes 700k in size. Which seems rather large.
> > 
> > Great idea. I used to have pagination code for this reason in there but
> > took it out as someone thought it was ugly. But 700k for a single page
> > is ridiculous so I'll put back in some kind of pagination.
> 
> Mercurial uses a very nice kind of log scale for its web interface;
> maybe we could adopt that.
> 
>   http://www.selenic.com/hg

I've considered a log based pagination system in the past and completely
forgot about the idea. This is a really cool idea - I'll have a look
at trying to do it in an intuitive manner when looking at bzrweb this
afternoon.

Best,

Chris.

-------------------
chris at mccormick.cx
http://mccormick.cx




More information about the bazaar mailing list