metafizzy / next-project

Help us decide what to build next
16 stars 2 forks source link

Infinite Scroll v2 #2

Closed desandro closed 7 years ago

desandro commented 8 years ago

Infinite Scroll is no longer maintained :cry:. Infinite Scroll was the OG of awesome front-end widgets. It needs a proper re-vitalization.

the only way forward with this project is a 100% rewrite with a new API.

Features

  • Events - scrollBottomHit, requestingNextPage, nextPageResponse, nextPageAdded
  • A flexible API for handling what to do when getting the next page
  • get next page HTML, add it to page
  • get next page's data, compile it in template, add it to page
  • extra stuff: tooltips, lazyLoad, video js, etc.
  • Masonry, Isotope, Packery integration
  • no jQuery dependency
  • Doesn't break the back button
  • Update URL. Scrolling to /page2's content update's the URL to /page2
  • Promises?

Add your 👍 reaction if you'd like to see Metafizzy release Infinite Scroll v2.

dennisgaebel commented 8 years ago

+1

ademilter commented 8 years ago

+1

nkpgardose commented 8 years ago

+1

sawyerh commented 8 years ago

+1 (Please add "Don't break the back button" to the features? :smiley:)

kingkool68 commented 8 years ago

+1

This is how I handled infinite scroll for an archive page on PewResearch.org https://gist.github.com/kingkool68/9277919

Here's a fun edge case: Say you're infinitely scrolling through a page and some pages have JS to handle video. You have to check the script dependencies of each page and if you find a new script src inject that into the page.

Like http://zadieheimlich.com. Some pages have video on them that depend on http://cdn.zadieheimlich.com/wp-includes/js/mediaelement/mediaelement-and-player.min.js?ver=2.18.1 and http://cdn.zadieheimlich.com/wp-includes/js/mediaelement/wp-mediaelement.js?ver=4.4.1

howells commented 8 years ago

+1

desandro commented 8 years ago

@sawyerh Good call on back button stuff. Added to feature list

richgcook commented 8 years ago

+1

seb-thomas commented 8 years ago

This would be great. Adding some kind of pagination would super cool too, as per this blog post: https://googlewebmastercentral.blogspot.co.uk/2014/02/infinite-scroll-search-friendly.html

Demo: http://scrollsample.appspot.com/items

idleberg commented 8 years ago

+1

amdad commented 8 years ago

+1

mrdoinel commented 8 years ago

+1

macsupport commented 8 years ago

+1

stephenjwatkins commented 8 years ago

+1

abrad45 commented 8 years ago

+1

aderaaij commented 8 years ago

+1 Sounds like a mighty challenge, but songs will be written about you if you pull it off.

dariodev commented 8 years ago

+1 events, back button, update url :thumbsup:

zachwinnie commented 8 years ago

+1

JourneyRossOld commented 8 years ago

+1

urcades commented 8 years ago

+1

corysimmons commented 8 years ago

:+1: the pagination option is a wonderful idea.

sambaldwin commented 8 years ago

:+1:

patrick-wc commented 8 years ago

+1 with an option to load in X times then have a "load more" button

DanielWeitenauer commented 8 years ago

+1

bicrazor commented 8 years ago

+1

tienvooracht commented 8 years ago

+1

KnightAlex commented 8 years ago

+1

bradmurray commented 8 years ago

+1

viocassel commented 8 years ago

+1

esiao commented 8 years ago

+1 and Isotope integration would be the best, I managed to create an infinite scroll script working with filters and load more button on a WordPress instance. But having a library for this working on every project would be a great value.

dreammonkey commented 8 years ago

+1

nageshtiwari-dp commented 8 years ago

+1

discoliam commented 8 years ago

+1

Bouwyn commented 8 years ago

+1

omidantilong commented 8 years ago

+1

sajpasa commented 8 years ago

+1

SelimSalihovic commented 8 years ago

+1

amdad commented 8 years ago

+1

JonathanJonathanJonathan commented 8 years ago

+1

Luxbit commented 8 years ago

+1

otravers commented 8 years ago

+1

derWebdesigner commented 8 years ago

+1

karlobencic commented 8 years ago

+1

federico77 commented 8 years ago

+1

itwseood commented 8 years ago

+1

MALIK-0 commented 8 years ago

+1

fuseblue commented 8 years ago

+1

marat93 commented 8 years ago

+1

arnoldmontiel commented 8 years ago

+1

DamirPecnik commented 8 years ago

+1