message_list_data_cache: Cache MessageListData objects.

We start caching MessageListData objects for the narrows which
user has visited. We restore the cached objects if the filters
match. Also, the cached objects are updated based on events. One
major piece is update path the is pending implementation is the
message move code path.
This commit is contained in:
Aman Agrawal
2024-08-12 09:23:25 +00:00
committed by Tim Abbott
parent 259e77fbf6
commit 5b9a2584c5
9 changed files with 177 additions and 28 deletions

View File

@@ -144,6 +144,7 @@ EXEMPT_FILES = make_set(
"web/src/message_fetch.ts",
"web/src/message_list.js",
"web/src/message_list_data.ts",
"web/src/message_list_data_cache.ts",
"web/src/message_list_hover.js",
"web/src/message_list_tooltips.ts",
"web/src/message_list_view.js",