1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-14 02:42:40 +01:00
phorge-phorge/webroot/rsrc/js/application/aphlict
Bob Trahan c21301d153 Conpherence - fix 0 messages in header race condition
Summary:
Fixes T7545. Turns out we had the right logic to handle this basically, and just needed to variablize the CSS class that gets added / removed as appropos.

Note the new behavior is to keep the icon highlighted just with no number. This emulates how it would work if e.g. there was no unread message in the first place and you just clicked the message icon to invoke the message menu.

Test Plan: had a durable conpherence open for user A with user B. used a separate browser to send message as user B. reloaded as user A - saw new message in conpherence durable column and the "1" unread icon. I then clicked the "1" and saw it disappear as expected

Reviewers: chad, epriestley

Reviewed By: epriestley

Subscribers: Korvin, epriestley

Maniphest Tasks: T7545

Differential Revision: https://secure.phabricator.com/D12091
2015-03-16 14:28:25 -07:00
..
Aphlict.js Multiplex AJAX calls 2015-01-16 07:05:31 +11:00
behavior-aphlict-dropdown.js Conpherence - fix 0 messages in header race condition 2015-03-16 14:28:25 -07:00
behavior-aphlict-listen.js Add support for playing sounds 2015-03-10 14:20:00 -07:00
behavior-aphlict-status.js Minor tidying of Aphlict code 2015-01-15 08:08:08 +11:00