Cable-Desktop/js/models
lilia 2861fa26a7 Implement infinite scrolling message lists
Only load the most recent messages when initially rendering a
conversation. Scrolling to the top of a message list loads older
messages.

This required some slight refactoring of how we insert message elements
into the dom. If the message is added to the end of the collection,
append it at the end. Otherwise, assume it is an older message and
prepend it.

When adding elements to the top, reset the scrollPosition to its
previous distance from scrollHeight. This keeps the current set of
elements fixed in the viewport.

// FREEBIE
2015-11-15 14:56:58 -08:00
..
conversations.js Clear the lastMessage when deleting a conversation 2015-11-08 11:14:21 -08:00
messages.js Implement infinite scrolling message lists 2015-11-15 14:56:58 -08:00