Page MenuHomePhabricator

Create a param to explicitly specify the number that shows up on the icon(s)
Open, Needs TriagePublic

Description

I have a bundled notification but it's not expandable, so I see "3" on the icon and the user sees only 1 actual alert and (specific to my case), there have been 6 login attempts. This is quite confusing.

Screen Shot 2017-04-11 at 2.54.42 PM.png (1,070×422 px, 76 KB)

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

@Niharika - did you see in betalabs? Did you have some other unread alerts along with bundled failed login attempts?

I re-checked it in betalabs - actual count seems to be correct - each attempted login is counted as one notification.

Screen Shot 2017-04-18 at 9.39.34 AM.png (624×386 px, 76 KB)

Screen Shot 2017-04-18 at 9.33.46 AM.png (556×410 px, 63 KB)

@Etonkovidova Yes, it is correct now because we did some hacky stuff in our code to accommodate for this. It'd still be nice to either count unexpandable bundles as 1 or let them specify the count they should show up as.