Cable-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
2015-09-14 13:49:20 -07:00
..
attachment_preview_view.js Remove erroneous license file and headers 2015-09-07 14:58:42 -07:00
attachment_view.js Remove erroneous license file and headers 2015-09-07 14:58:42 -07:00
confirmation_dialog_view.js Remove erroneous license file and headers 2015-09-07 14:58:42 -07:00
contact_list_view.js Remove erroneous license file and headers 2015-09-07 14:58:42 -07:00
conversation_list_item_view.js Avoid excessive re-rendering of the inbox list 2015-09-14 13:49:20 -07:00
conversation_list_view.js Avoid excessive re-rendering of the inbox list 2015-09-14 13:49:20 -07:00
conversation_view.js Remove erroneous license file and headers 2015-09-07 14:58:42 -07:00
end_session_view.js Remove erroneous license file and headers 2015-09-07 14:58:42 -07:00
error_view.js Remove erroneous license file and headers 2015-09-07 14:58:42 -07:00
file_input_view.js Remove erroneous license file and headers 2015-09-07 14:58:42 -07:00
group_member_list_view.js Remove erroneous license file and headers 2015-09-07 14:58:42 -07:00
group_update_view.js Remove erroneous license file and headers 2015-09-07 14:58:42 -07:00
identicon_svg_view.js Upsize svg identicons 2015-09-14 13:49:19 -07:00
inbox_view.js Avoid excessive re-rendering of the inbox list 2015-09-14 13:49:20 -07:00
key_conflict_dialogue_view.js Remove erroneous license file and headers 2015-09-07 14:58:42 -07:00
key_verification_view.js Remove erroneous license file and headers 2015-09-07 14:58:42 -07:00
list_view.js Remove erroneous license file and headers 2015-09-07 14:58:42 -07:00
message_detail_view.js Remove erroneous license file and headers 2015-09-07 14:58:42 -07:00
message_list_view.js Remove erroneous license file and headers 2015-09-07 14:58:42 -07:00
message_view.js Remove erroneous license file and headers 2015-09-07 14:58:42 -07:00
new_conversation_view.js Remove erroneous license file and headers 2015-09-07 14:58:42 -07:00
new_group_update_view.js Remove erroneous license file and headers 2015-09-07 14:58:42 -07:00
phone-input-view.js Remove erroneous license file and headers 2015-09-07 14:58:42 -07:00
recipients_input_view.js Remove erroneous license file and headers 2015-09-07 14:58:42 -07:00
toast_view.js Remove erroneous license file and headers 2015-09-07 14:58:42 -07:00
whisper_view.js Remove erroneous license file and headers 2015-09-07 14:58:42 -07:00
window_controls_view.js Remove erroneous license file and headers 2015-09-07 14:58:42 -07:00