Closed Bug 1043902 Opened 11 years ago Closed 7 years ago

When a conversation is restored from hold, display only the newest few messages and prepend more as the user scrolls up

Categories

(Instantbird Graveyard :: Conversation, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: nhnt11, Unassigned)

Details

Attachments

(1 file, 1 obsolete file)

When a conversation with lots of messages (imagine an active MUC that has been open for a few days) is restored, we currently add messages from oldest to newest. This can take a lot of time, and even though it's async, is slow and inconvenient since the latest messages appear last. The convbrowser should display the first few (maybe 50? 100?) messages first, and then keep adding more messages (again, in groups of 50?) as the user scrolls up.
(In reply to Nihanth Subramanya [:nhnt11] from comment #0) > The convbrowser should display the first few (maybe 50? 100?) messages Does this have to be a constant? I would like if we could display about twice what can fit in the display area. And that number would change significantly based on the window size and the message theme used (eg. simple vs Bubbles). Be careful to not break section scroll :-).
Attached patch WIP (obsolete) — Splinter Review
This WIP includes code for prepending a group of messages, and uses this to prepend the last 50 messages when a conversation is restored from hold, and 50 more every time the user scrolls to the top. I've been working on getting the unread ruler working with prepended groups, and a few other issues, hopefully I'll have that up soon.
Assignee: nobody → nhnt11
Status: NEW → ASSIGNED
Attached patch WIP 2Splinter Review
This makes the unread ruler work with prepending, and also generalizes (albeit sloppily) the code in removeUnreadRuler that merges bubble groups. This is used to merge two prepended groups when required.
Attachment #8474116 - Attachment is obsolete: true
Assignee: nhnt11 → nobody
Status: ASSIGNED → NEW
On the behalf of Florian: Closing bugs related to the Instantbird UI as WONTFIX, as the development of the standalone chat client Instantbird has stopped. Instantbird users are encouraged to migrate to Thunderbird. The user interface of instant messaging in Thunderbird will feel familiar, as the Thunderbird IM support started as a fork of Instantbird.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
On the behalf of Florian: Closing bugs related to the Instantbird UI as WONTFIX, as the development of the standalone chat client Instantbird has stopped. Instantbird users are encouraged to migrate to Thunderbird. The user interface of instant messaging in Thunderbird will feel familiar, as the Thunderbird IM support started as a fork of Instantbird.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: