cabennett85/gittest — Issue #1518: Notification counts in header should clear when user views the notifications dropdown
Author: cabennett85
Created: 2012-03-02 00:53:20+00:00
State: open

Next step for notifications:

When a user views the notifications in the dropdown, the notification count in the header should clear.

Motivation:

We're essentially doing this similar to how Facebook does it. If the user sees the notifications, we should clear them so that the user can tell what's new since they last seen them. Otherwise the counts won't be as valuable if they are always showing something new.

Implementation:

Neil and I talked about this - we'll essentially store a "last viewed" datetime for the notification dropdown. We should have a separate one for the mail dropdown, friends dropdown, and activity dropdown. Notifications that are new are the ones that occurred after this timestamp.

Note: This should not affect the timestamps that are used in the "new for you" section on the profile.