Skip to content

Compromises

atogle edited this page Aug 12, 2011 · 2 revisions

This page outlines some of the compromises that we have intentionally made in order to maximize the number of features we can develop. This will enable us or others to quickly locate and improve the codebase.

Media Carousel

  • We load the photos and videos into the media carousel by loading the last 100 messages and extracting media. Instead, we should filter out all messages that only have an attachment (or media for that matter), fetch a small amount (like 10), and then load more automatically as the user scrolls through the content. (AO)

  • There are two nearly identical functions in project.conversation.js that should be refactored and combined. Fix these when you have time: generate_message and generate_message_markup. (AO)

Clone this wiki locally