[PATCH 14 of 20] hgweb: add ajaxScrollInit skeleton

Dave S snidely.too at gmail.com
Mon Aug 12 18:32:47 CDT 2013


(resend, to list this time)

On Mon, Aug 12, 2013 at 11:50 AM, Alexander Plavin <alexander at plav.in>
wrote:


10.08.2013, 17:22, "Laurens Holst" <laurens.nospam at grauw.nl>:
> Op 09-08-13 20:57, Alexander Plavin schreef:
>
>> # HG changeset patch
>> # User Alexander Plavin <alexander at plav.in>
>> # Date 1376061308 -14400
>> # Fri Aug 09 19:15:08 2013 +0400
>> # Node ID f28ca736646cf582ef71b518b995a1d63c40849a
>> # Parent 015d43fca74b12c5c79ca14683d375dc9675fdd2
>> hgweb: add ajaxScrollInit skeleton
>>
>> This piece of code handles onscroll event and makes request to load next
page
>> of entries, but doesn't actually add the loaded entries to the DOM tree
yet.
>
> If I look at the bottom of the shortlog (e.g.
> http://hg.plav.in/hg/shortlog/1215bf60468f), every time I scroll down it
> keeps loading even though there is nothing to see anymore.

By 'scrolling down' you mean 'scrolling a bit up and then down', right? :)
As you can't scroll down after the end of the page.

With a scroll wheel,I sometimes get a bounce or sag that gives the same
effect.
And it seems to be worse when you jump to tip, and scroll down; I can never
see the bottom of the page.

I haven't figured out who much the page is growing; Opera's "page info"
tool doesn't seem clear about this, and I haven't looked enough to have a
better tool.

Also, the less-more-+60 links seem to behave a little oddly, sometimes
giving just 1 or 2 lines of output. Hmmm, this happens consistently when I
jump to 0, but then there are no commits older than that, so it makes sense
(I guess). I haven't figured out again what I did to get 2 lines.

I do feel that I'm not sure where I am after scrolling down a few times to
load more lines; the date of the c/s is there of course, but the rev number
shown next to less-more is for the top of the page, isn't it? So I'm
guessing or counting on my thumbs for the revs at the bottom.


/dps
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20130812/f57c0a28/attachment.html>


More information about the Mercurial-devel mailing list