agourlay / post-on-my-fridge

Fun content platform built with Akka and Ember.js
Apache License 2.0
21 stars 4 forks source link

Redesign refresh feature. #20

Closed agourlay closed 12 years ago

agourlay commented 12 years ago

Currently the fridge is rebuilt from scratch with an ajax request every 10 minutes. If the user is watching a youtube video at this moment, he will lose it.

The automatic refresh feature needs to be rebuilt at the post level instead of the fridge level. 1) do not empty the fridge. 2) retrieve all post with ajax request. 3) check if post is already displayed on the fridge. -> if yes, just update position. (use some sliding transition to move de post around) -> if no build it. -> if one of the post displayed on the fridge is not in the list, erase it.

agourlay commented 12 years ago

:D but needs to be refactored a bit.