Page MenuHomePhabricator

[lib] Show "just you" for thread title if there are no members besides you
ClosedPublic

Authored by ashoat on Feb 6 2023, 5:30 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Apr 7, 2:05 AM
Unknown Object (File)
Mar 28 2024, 6:49 PM
Unknown Object (File)
Mar 28 2024, 6:49 PM
Unknown Object (File)
Mar 28 2024, 6:48 PM
Unknown Object (File)
Mar 28 2024, 6:44 PM
Unknown Object (File)
Mar 21 2024, 7:43 AM
Unknown Object (File)
Mar 21 2024, 7:43 AM
Unknown Object (File)
Mar 21 2024, 7:43 AM
Subscribers
None

Details

Summary

This resolves ENG-2933, which was broken in D6615 when I removed the 'just you' special-case there.

Since filtering out the user (and pluralization) are now handled in getNameForThreadEntity, we need to check the length of the list there instead of in threadUIName now.

Test Plan

Make sure there are no empty strings in the web calendar filters, and that 'just you' appears where the empty strings previously did

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable