GNOME Bugzilla – Bug 712249
Show backlogs
Last modified: 2013-11-13 21:05:55 UTC
See patches.
Created attachment 259755 [details] [review] chatView: Change low-level insert methods to take an iter We will start displaying logged messages from previous conversations in the chat log soon. Those messages should appear at the top of the log rather than the bottom as live messages, so make the low-level insertion methods a bit more flexible.
Created attachment 259756 [details] [review] chatView: Split _insertMessage() We will start to include backlogs, which will use the same format as normal messages, but are not stored as TpMessages. In order to share the existing code, split _insertMessage() into a generic method and _insertTpMessage() which drives it for TpMessages.
Created attachment 259757 [details] [review] chatView: Insert backlogs on startup Backlogs from previous conversations can provide useful context, so we should include them. Fetch a reasonable amount on startup to fill the chat log, we will add a way to request more logs soon.
Created attachment 259758 [details] [review] chatView: Fetch more logs when scrolling past the top The backlog we fetch on startup may not be enough, so allow users to request more history by scrolling past the top.
Attachment 259755 [details] pushed as af0495f - chatView: Change low-level insert methods to take an iter Attachment 259756 [details] pushed as 53b53d6 - chatView: Split _insertMessage() Attachment 259757 [details] pushed as 53c4b46 - chatView: Insert backlogs on startup Attachment 259758 [details] pushed as 3c281b9 - chatView: Fetch more logs when scrolling past the top