[Bug 5972] New: Load-on-scroll is broken on log pages

mercurial-bugs at mercurial-scm.org mercurial-bugs at mercurial-scm.org
Mon Aug 27 15:02:39 UTC 2018


https://bz.mercurial-scm.org/show_bug.cgi?id=5972

            Bug ID: 5972
           Summary: Load-on-scroll is broken on log pages
           Product: Mercurial
           Version: stable branch
          Hardware: PC
                OS: Linux
            Status: UNCONFIRMED
          Keywords: regression
          Severity: feature
          Priority: wish
         Component: hgweb
          Assignee: bugzilla at mercurial-scm.org
          Reporter: av6 at dwimlabs.net
                CC: gregory.szorc at gmail.com,
                    mercurial-devel at mercurial-scm.org

Every time hgweb generates a page where more items can be loaded by scrolling
the page down (i.e. ajaxScrollInit() JS function is used), it needs to somehow
get the hash of the next page's first entry or none if there aren't any more
commits. For example, by processing `revcount`+1 entries and handling the last
one separately, just for its hash (variables named entries and nextentry in
webcommands.py).

Looks like 5989261a8356 missed that fact and now log pages generate `revcount`
entries and think there's no nextentry, meaning ajaxScrollInit() reports "No
more entries" and doesn't do any AJAX requests. Graph pages work fine though.

This is on 4.7.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list