Project

General

Profile

Feature #3536

Infinite Scroll on My Commons page

Added by Matt Gold about 7 years ago. Updated over 6 years ago.

Status:
Assigned
Priority name:
Normal
Assignee:
Category name:
My Commons
Target version:
Start date:
2014-10-08
Due date:
% Done:

0%

Estimated time:

Description

Right now, there is a "Load More" link at the bottom of the My Commons page. To bring the site into line with current web practices, can we implement infinite scroll there, so that new items get loaded as users get to the bottom of the page?

History

#1 Updated by Boone Gorges about 7 years ago

I personally find infinite scroll to be an annoying feature in general, but I agree that for My Commons it could be nice.

If we implement this, we should not break pagination URLs. I suggest that we use history.pushState to change the browser URL for every 20 items.

Would be cool in the long run to think about rebuilding this interface in Backbone or something like that rather than reinventing the wheel, but that's a big job that doesn't necessarily have to hold up this one. Ray, do you have thoughts about implementation?

#2 Updated by Raymond Hoh about 7 years ago

I worked on infinite scroll awhile ago for an older BP project. Wasn't too hard using a JS library (I think I used the library by Paul Irish), but it did not dynamically change the browser URL using HTML5's history API.

Things might have changed since I used that library though.

#3 Updated by Boone Gorges over 6 years ago

  • Assignee changed from Boone Gorges to Raymond Hoh

Ray, whaddya say about having a look at this for 1.8? Maybe do some initial tests to see if there are any blockers, and report back if you think it's going to take an inordinate amount of time.

#4 Updated by Boone Gorges over 6 years ago

  • Target version changed from 1.8 to Future release

Ray - I'm tentatively moving this out of 1.8, as it's low priority, and I want to make sure it doesn't hold up our release. Once you've had a chance to do an initial feasibility review, please feel free to move it back into a numbered milestone. Thanks!

Also available in: Atom PDF