leaguevine / leaguevine-ultistats

MIT License
18 stars 4 forks source link

Show more teams/tournaments when scrolling down to the bottom of a list of teams/tournaments #35

Closed mliu7 closed 12 years ago

mliu7 commented 12 years ago

There should be a scroll down for more prompt at the bottom of the list of teams/tournaments, and then scrolling down even farther adds more teams/tournaments to the list. It should act similarly to how the Facebook or Twitter apps work.

mliu7 commented 12 years ago

The easiest way to do this is for the last element in the team/tournament list to say "tap for more". Clicking this element then fetches more items from the server and appends them to the list.

mliu7 commented 12 years ago

Reopening because this doesn't seem to be working on the live server for some reason. I'll need to investigate.

cboulay commented 12 years ago

Take a look at the (3rd screencast)[http://spinejs.com/pages/screencasts] and jump ahead to about 4:30. It's a different but similar framework and it might give you some ideas.

BTW, I didn't evaluate Spine.JS at the beginning but it has a lot of built-in features that handles some of the things that we've been struggling with. It's a little more prescriptive/less flexible but I may just give it a shot once Ultistats is fully afloat.

mliu7 commented 12 years ago

Fixed. This issue was on the Leaguevine side, and not because of Leaguevine-Ultistats. The Leaguevine API was returning the "next" parameter as http://api.leaguevine.com/v1/teams/... instead of https://api.leaguevine...