Feature #3536
closed
Infinite Scroll on My Commons page
Added by Matt Gold about 10 years ago.
Updated 3 months ago.
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?
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?
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.
- 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.
- 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!
- Status changed from Assigned to Rejected
- Target version changed from Future release to Not tracked
Closing due to age and that we've moved on from the My Commons page.
Also available in: Atom
PDF