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
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
Unknown Object (File)
Oct 28 2024, 3:20 AM
Unknown Object (File)
Oct 28 2024, 3:20 AM
Unknown Object (File)
Oct 28 2024, 3:20 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
Branch
ashoat/website_load
Lint
No Lint Coverage
Unit
No Test Coverage

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