1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-23 15:22:41 +01:00
phorge-phorge/webroot/rsrc
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
..
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 - fix 0 messages in header race condition 2015-03-16 14:28:25 -07:00