• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

zulip / zulip-mobile / 7334
47%

Build:
DEFAULT BRANCH: master
Ran 07 Nov 2018 09:18PM UTC
Jobs 1
Files 365
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
7334

push

travis-ci

gnprice
android notif: Clear notification when all its messages are read.

Implements the Android side of #2634.  iOS still to go.

This isn't yet the ideal behavior -- if you get notified about two
messages and then read one of them, we'd like to update the
notification to reflect only what's still unread.  But it handles the
common case, for a 90% solution: you get some messages that notify
you, then you go catch up on that conversation.

The ideal behavior will wait for a broader overhaul of our Android
notifications code, which we're due for for a number of reasons
already.  The reason that blocks doing the right thing here is that
the data structure we currently keep around (in `conversations`) isn't
nearly adequate for it: when generating the text and metadata of the
notification, in `getNotificationBuilder`, we rely heavily on the
specific GCM message we just received (`getProps()`) for a number of
details including the sender's avatar, the message's topic if
applicable, and the time the message was sent.  After we're finished
handling that message, that data is gone, and we're unable to use it
in future updates.

1398 of 2930 branches covered (47.71%)

Branch coverage included in aggregate %.

4803 of 6561 relevant lines covered (73.21%)

38.17 hits per line

Jobs
ID Job ID Ran Files Coverage
1 7334.1 (COVERALLS_REPO_TOKEN=4eYQDtWoBJlDz2QkxoQ2UcnmJFcOB7zkv) 07 Nov 2018 09:18PM UTC 0
65.34
Travis Job 7334.1
Source Files on build 7334
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #7334
  • a09ddeac on github
  • Prev Build on master (#3719)
  • Next Build on master (#7336)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc