Commit Graph

7 Commits (d3dbf2328fcdd527ce8b97d218a4e368842f9125)

Author SHA1 Message Date
lilia d3dbf2328f Set unread count badge when background page is refreshed
Refreshing the background page unsets the badge.
10 years ago
lilia 196aa28873 Fix NaN badge
lolNaNcat
10 years ago
Matt Corallo 00cb420d37 Merge (un)encrypted storage layers 10 years ago
lilia 6509561795 Make badge count accurate
Previously it would reset when refreshing the inbox. Now it tracks
changes to conversation unreadCounts.

Fixes #200
10 years ago
lilia 019a9d1fbc Unread counts
Update unreadCounts per-conversation on incoming messages. Render unread
conversations with font-weigh: bold in the inbox view.

To ensure that the inbox and conversation views remain in sync, the
background page now ensures that the same models objects are used for
both views.
10 years ago
lilia 61581bae7f Fix inbox comparator 10 years ago
lilia 44b1e5c88e Move inbox collection to the background page
No more waiting, no more messy fetch logic. Background page
bootstraps the inbox and keeps it up to date.
10 years ago