You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
session-desktop/js/views
lilia bd5f43bdb1 Avoid excessive re-rendering of the inbox list
This listener is doing way more work than necessary to update the dom by
removing all the list items and re-creating them. This also causes the
bug where selected state is cleared when new messages arrive, not to
mention binding new event listeners without unbinding the old ones.

Fix by simply promoting an element to the top of the list when it's
active_at value changes, rather than re-rendering the whole list. This
could backfire if the value gets changed to an earlier timestamp but for
now we assume that won't happen.

// FREEBIE
10 years ago
..
attachment_preview_view.js Remove erroneous license file and headers 10 years ago
attachment_view.js Remove erroneous license file and headers 10 years ago
confirmation_dialog_view.js Remove erroneous license file and headers 10 years ago
contact_list_view.js Remove erroneous license file and headers 10 years ago
conversation_list_item_view.js Avoid excessive re-rendering of the inbox list 10 years ago
conversation_list_view.js Avoid excessive re-rendering of the inbox list 10 years ago
conversation_view.js Remove erroneous license file and headers 10 years ago
end_session_view.js Remove erroneous license file and headers 10 years ago
error_view.js Remove erroneous license file and headers 10 years ago
file_input_view.js Remove erroneous license file and headers 10 years ago
group_member_list_view.js Remove erroneous license file and headers 10 years ago
group_update_view.js Remove erroneous license file and headers 10 years ago
identicon_svg_view.js Upsize svg identicons 10 years ago
inbox_view.js Avoid excessive re-rendering of the inbox list 10 years ago
key_conflict_dialogue_view.js Remove erroneous license file and headers 10 years ago
key_verification_view.js Remove erroneous license file and headers 10 years ago
list_view.js Remove erroneous license file and headers 10 years ago
message_detail_view.js Remove erroneous license file and headers 10 years ago
message_list_view.js Remove erroneous license file and headers 10 years ago
message_view.js Remove erroneous license file and headers 10 years ago
new_conversation_view.js Remove erroneous license file and headers 10 years ago
new_group_update_view.js Remove erroneous license file and headers 10 years ago
phone-input-view.js Remove erroneous license file and headers 10 years ago
recipients_input_view.js Remove erroneous license file and headers 10 years ago
toast_view.js Remove erroneous license file and headers 10 years ago
whisper_view.js Remove erroneous license file and headers 10 years ago
window_controls_view.js Remove erroneous license file and headers 10 years ago