Refactor: Message List
🎯 The objective
The goal of this project is to limit the amount of memory used to display the message list. This will be accomplished by only loading information about a limited number of messages into memory at a time. The window of messages loaded into memory will be dynamically adjusted when the user scrolls the message list and is close to reaching one end of the message window.
🎒 Resources
- #8970
🦮 Rules of the Road
🟢 In Scope
- Develop views on messages based on the new message database that show only a portion of the messages and offer lazy loading scrolling
- TODO
🔴 Out of Scope
- TODO
🚧 Technical and/or Business Requirements
Cross-Functional Tasks
🤝 Support - Product
- Update any SUMO references where downloading more messages is recommended
@kewisch @rafaeltonholo in order to address #8970 (which should not have been closed for its collected information imo) not only lazy loading should be implemented but also async loadinng
Absolutely. Rafael added the issue you filed to resources at the top, so this is definitely an issue that we'll consider when we build out this refactor. The reason we'd like to consolidate is that it will likely mean substantial changes to the message list itself and how it behaves. So it wouldn't be a matter of making a patch to 8970, but rather that your issue is fixed as a side effect of refactoring it in the right way. As Rafael mentioned, if it continues to be an issue afterwards we can always re-open or create a new issue for a follow-up.