Page MenuHomePhabricator

[lib] Show loader when there are no messages
ClosedPublic

Authored by ashoat on Mar 6 2022, 4:20 PM.
Tags
None
Referenced Files
F3530430: D3353.id10099.diff
Wed, Dec 25, 2:42 AM
F3530414: D3353.id10149.diff
Wed, Dec 25, 2:27 AM
F3529115: D3353.diff
Tue, Dec 24, 3:11 PM
Unknown Object (File)
Wed, Dec 18, 7:03 PM
Unknown Object (File)
Wed, Dec 18, 7:03 PM
Unknown Object (File)
Mon, Dec 9, 12:56 AM
Unknown Object (File)
Nov 21 2024, 5:46 PM
Unknown Object (File)
Nov 2 2024, 8:32 AM

Details

Summary

Earlier changes in this stack made it possible for a thread to appear without any messages. Without this change, the loader doesn't appear when there aren't messages, which means that MessageList in native never triggers a message fetch.

Depends On D3352

Test Plan

I decreased defaultMaxMessageAge such that no messages got loaded at all, and made sure that when I opened a thread without messages, the messages were fetche
d

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ashoat requested review of this revision.Mar 6 2022, 4:26 PM
This revision is now accepted and ready to land.Mar 7 2022, 10:19 PM