Page MenuHomePhabricator

[lib] Always include an extra item in getCandidateSidebarItemsForThreadList
ClosedPublic

Authored by ashoat on Thu, Dec 19, 6:22 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Jan 1, 6:02 AM
Unknown Object (File)
Tue, Dec 31, 9:03 AM
Unknown Object (File)
Tue, Dec 31, 7:56 AM
Unknown Object (File)
Mon, Dec 30, 10:16 AM
Unknown Object (File)
Mon, Dec 30, 9:56 AM
Unknown Object (File)
Sun, Dec 29, 2:46 AM
Unknown Object (File)
Sat, Dec 28, 4:05 PM
Unknown Object (File)
Sat, Dec 28, 1:32 PM
Subscribers
None

Details

Summary

We need the extra item to determine whether to show the "See more..." item. Currently there's a bug where it is omitted when it should be displayed.

Test Plan

I tested in my local environment by creating a bunch of threads and confirming that "See more..." would appear on a web client. Tried from two user accounts, one where it was read and one where it was unread.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable