message_list: Downgrade message_list.all to MessageListData.

This data structure has never been one that we actually render into
the DOM; instead, its role is to support clicking into view that
contain muted streams and topics quickly.

This downgrade makes that situation much more explicit, and is also
useful refactoring to help simpify the upcoming changes in #16746.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2021-03-29 21:23:09 -07:00
committed by Tim Abbott
parent 837736001d
commit 6f764ce4b3
25 changed files with 114 additions and 114 deletions

View File

@@ -20,8 +20,8 @@ const subs = mock_esm("../../static/js/subs", {
update_settings_for_subscribed: noop,
});
mock_esm("../../static/js/message_list", {
all: {
mock_esm("../../static/js/all_messages_data", {
all_messages_data: {
all_messages() {
return ["msg"];
},