1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-20 09:18:48 +02:00
phorge-phorge/webroot/rsrc
Bob Trahan 8fe78c9029 Conpherence - update the "unread" count in notifications panel aggressively
Summary:
Fixes T7561. Basically everytime we load some transactions in the thread manager, kick off an async thread to update the notification panel.

Should I consolidate this little bit of code into something like this._handleTransactionResponse(r)... ?  I just want to keep the JS clear for other engineers and I wasn't sure if that was hiding a bit too much detail.

Test Plan: user a opened durable column. user b sent user a a few messages. reloaded user a page and noted the "N" count became N-1 as the message loaded. Switched messages and saw N-2, N-3, etc as I loaded up the messages.

Reviewers: chad, epriestley

Reviewed By: epriestley

Subscribers: Korvin, epriestley

Maniphest Tasks: T7561

Differential Revision: https://secure.phabricator.com/D12099
2015-03-17 13:40:36 -07:00
..
css Normalize 'conpherence-edited' UI between full and column 2015-03-14 13:14:00 -07:00
externals Improve Conpherence column textarea JS behaviors 2015-03-14 12:00:17 -07:00
favicons Add HiDPI favicons 2014-11-07 17:07:38 -08:00
image Make it easier to add payment methods for subscription autopay 2015-03-02 13:01:08 -08:00
js Conpherence - update the "unread" count in notifications panel aggressively 2015-03-17 13:40:36 -07:00