DoSomethingArchive / LetsDoThis-iOS

:iphone: iOS source code for DoSomething: Take Action on the News
http://app.dosomething.org
MIT License
2 stars 0 forks source link

Profile breaks for large number of Signups #972

Open aaronschachter opened 8 years ago

aaronschachter commented 8 years ago

When there's too many Signups, we get an unterminated string: https://northstar.dosomething.org/v1/signups?user=56eab76e469c6444628b60f2&count=200

img_4682

Trello: https://trello.com/c/Du5z8M7G

This feels like an API bug - wouldn't expect to get a 200 back with invalid JSON data in this scenario:

screen shot 2016-03-22 at 8 53 06 am

lkpttn commented 8 years ago

Also worth asking if there's a similar limit for completed actions.

aaronschachter commented 8 years ago

@lkpttn We're using currently using this single request to render both doing and completed on the Profile, by traversing through each Signup.

aaronschachter commented 8 years ago

This would be best handled by lazy loading all Signups ( #967 ) but temp blocked by phoenix#6301 ^