Comment 4 for bug 1071640

Revision history for this message
Robert Carr (robertcarr) wrote : Re: GMail webapps shows time rather than count in messaging menu when no unread emails

I think it sets a bad precedent to require this logic in the userscript as we can't count on the web to be well behaved. Furthermore each additional guideline we have to place on userscript authors adds an additional pain.

I think it should be filtered in the context daemon (IndicatorView).

Filtering it in the context daemon as opposed to the API has a small benefit. Namely imagine the following state.

GMail, interest 1: ShowIndicator(count -> 3)
(time passes)
GMail, interest 2: ShowIndicator(count -> 0)

The indicator should be filtered from the view.