1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-13 18:32:41 +01:00
phorge-phorge/webroot/rsrc/js/application/conpherence
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
..
behavior-durable-column.js Improve chat column behavior for newline in empty text box 2015-03-16 06:44:07 -07:00
behavior-menu.js Conpherence - add draft support to column and refine sending message user workflow 2015-03-11 15:54:07 -07:00
behavior-pontificate.js Conpherence - introduce ConpherenceThreadManager 2015-03-10 12:20:29 -07:00
behavior-quicksand-blacklist.js Generalize URI pattern blacklist for Quicksand 2015-03-10 15:32:15 -07:00
behavior-widget-pane.js Conpherence - introduce ConpherenceThreadManager 2015-03-10 12:20:29 -07:00
ConpherenceThreadManager.js Conpherence - update the "unread" count in notifications panel aggressively 2015-03-17 13:40:36 -07:00