HomePhabricator

Mark all read button should always start invisible

Authored by Mooeypoo.

Description

Mark all read button should always start invisible

Whether the button should appear or not is updated when the badge
is updated, based on having unread notifications. But during construction
the button should be hidden.

When we do update the badge, the button should only appear if there
are unread messages and if the current widget is not 'markReadWhenSeen'
to avoid having the button 'flash' while notifications are marked
read.

Bug: T113629
Change-Id: I002db9e3d8990b5a2cd67bf5d120b1c7eb454362

Details

Committed
CatropeSep 28 2015, 8:37 PM
Parents
rECHO390dc4afa258: Merge "Rewrite browser tests for Echo"
Branches
Unknown
Tags
Unknown
References
refs/changes/79/241779/2
ChangeId
I002db9e3d8990b5a2cd67bf5d120b1c7eb454362