Page MenuHomePhabricator

Add a Conpherence Profile Menu Item
ClosedPublic

Authored by chad on Apr 12 2017, 7:22 PM.
Tags
None
Referenced Files
F13143901: D17662.diff
Fri, May 3, 7:49 AM
Unknown Object (File)
Thu, Apr 25, 2:10 AM
Unknown Object (File)
Fri, Apr 12, 5:34 AM
Unknown Object (File)
Mon, Apr 8, 1:33 AM
Unknown Object (File)
Apr 2 2024, 5:35 AM
Unknown Object (File)
Mar 3 2024, 7:30 AM
Unknown Object (File)
Jan 17 2024, 1:01 PM
Unknown Object (File)
Jan 13 2024, 1:02 PM
Subscribers

Details

Summary

Builds a Conpherence Profile Menu Item, complete with counts for the unreads. This allows pinning to home as well as swapping out thread list in Conpherence for pinning eventually.

Test Plan

Add a menu item, chat in room, log into other account, see room count. Room count disappears after viewing.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley added inline comments.
src/applications/search/menuitem/PhabricatorConpherenceProfileMenuItem.php
50–51

(Do we need these both? We probably shouldn't, but can fix that eventually...)

This revision is now accepted and ready to land.Apr 12 2017, 8:04 PM
src/applications/search/menuitem/PhabricatorConpherenceProfileMenuItem.php
50–51

Oddly yes, I get a fatal otherwise, but I also will use the images when I implement this in full Conpherence.

This revision was automatically updated to reflect the committed changes.

Also, is unread count meaningful/valid when you haven't joined a thread? It's vaguely possible it does something super broken like "slowly count every message, display 29,239", since the only other place we use it (I think?) is the menu, which only shows threads you're part of.

Oh, I didn't test that. I assumed it wouldn't return anything if you weren't a participant. Will follow up.

I bet it's fine, but this code is definitely all a touch shaky.