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)
Fri, Nov 22, 2:30 PM
Unknown Object (File)
Nov 19 2024, 12:51 AM
Unknown Object (File)
Nov 15 2024, 11:43 PM
Unknown Object (File)
Nov 15 2024, 11:43 PM
Unknown Object (File)
Nov 15 2024, 11:43 PM
Unknown Object (File)
Nov 9 2024, 2:26 AM
Unknown Object (File)
Nov 9 2024, 2:26 AM
Unknown Object (File)
Nov 9 2024, 2:24 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
Branch
ashoat/fix_notifs
Lint
No Lint Coverage
Unit
No Test Coverage