1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-23 15:22:41 +01:00
phorge-phorge/src
epriestley addc2c8764 Determine unread count correctly when rendering notification panel
Summary:
Currently, when rendering the panel we count the number of unread notifications in the last 15, but this means we can never render a number larger than 15. If the user has more unread notifications than that, or unread notifications older than the most recent 15, there will be a flash of the higher number and then it will update to the lower number afterward.

Instead, count all unread notifications. This uses the same method used to render both numbers.

Test Plan: Loaded a page, checked the menu, nothing exploded.

Reviewers: btrahan, jungejason, vrana

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T974

Differential Revision: https://secure.phabricator.com/D2811
2012-06-20 13:20:41 -07:00
..
aphront Add a list of all notifications 2012-06-18 14:07:38 -07:00
applications Determine unread count correctly when rendering notification panel 2012-06-20 13:20:41 -07:00
docs fix typo 2012-06-20 10:03:21 -07:00
infrastructure Add --verbose support to phd 2012-06-19 12:56:41 -07:00
storage Don't log lost connection retries 2012-06-13 14:42:34 -07:00
view Show only one "reload" popup, use 'alert' style, click to reload 2012-06-18 14:07:45 -07:00
__celerity_resource_map__.php Fix dropdown for file whose diff is not displayable 2012-06-19 18:28:28 -07:00
__phutil_library_init__.php Distinguish between aphront and phabricator. 2011-01-22 17:45:28 -08:00
__phutil_library_map__.php Add a "differential.createrawdiff" Conduit method 2012-06-20 12:35:04 -07:00