Infinite Scroll on My Commons page
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?
#1 Updated by Boone Gorges almost 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 almost 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.
#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!