Page MenuHomePhabricator

Clean up Conpherence Transactions and notifications
ClosedPublic

Authored by chad on Apr 13 2017, 3:40 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Apr 12, 1:05 PM
Unknown Object (File)
Fri, Mar 29, 10:36 AM
Unknown Object (File)
Mar 28 2024, 5:58 PM
Unknown Object (File)
Mar 10 2024, 3:29 PM
Unknown Object (File)
Mar 3 2024, 7:30 AM
Unknown Object (File)
Feb 13 2024, 8:03 PM
Unknown Object (File)
Feb 11 2024, 12:36 AM
Unknown Object (File)
Feb 6 2024, 3:51 AM
Subscribers

Details

Summary

Does a few things. Turns off feed stories (again), removes "action" transactions from notificiations, and only updates message count on actual messages. This feels a bit cleaner and less spammy... I guess... I think @epriestley will really like it and do me a favor or something.

Test Plan

Pull up two windows. test a message, see message count on second screen. Edit a topic or title, get no notification. At all. Ever.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

These feel weird to me not because they feel spammy, but because they're putting super private information in feed most of the time. Like 95% of the time when I see a Conpherence-related story in feed it's about a private room, and they're super rare, so I'm like "are policies screwed up?". Also weird to send a private message to one other person talking about a coworker behind their back and have it show up in feed immediately (although I think the removal of "first message" eliminates this):

Screen Shot 2017-04-13 at 5.42.47 AM.png (177×452 px, 24 KB)

This isn't really a problem unique to Conpherence, but I think with other types of stories they're common and most of them are public so it doesn't feel as weird.

These stories also just aren't very useful, since everyone who can see them (at least, the "new room" ones) gets a Conpherence notification anyway.

src/applications/conpherence/controller/ConpherenceNotificationPanelController.php
23

(What's the reasoning on this?)

This revision is now accepted and ready to land.Apr 13 2017, 12:46 PM
src/applications/conpherence/controller/ConpherenceNotificationPanelController.php
23

We batch 100 latest transactions, then loop to see which have a message. If you have 1 active thread and 4 really old threads, we don't have a message to show you. This is legacy stuff, I think maybe the right fix is to have a cache for "last-message" so it always gets filled.

This revision was automatically updated to reflect the committed changes.

I'll attempt a better fix here shortly.