signal-desktop/js
Martino Pilia 7034d8759d Add badge for unread messages to the tray icon (#1934)
This commit adds a badge to the tray icon that displays the number of
unread messages, if there is any. It is implemented by providing
alternative versions of the icon, that replace the default image when a
message is received.

The badge is rendered graphically as a red circle containing the number
of unread messages. Since a different icon file is needed for each
possible number of unread messages, but this number is clearly
unbounded, only the numbers from 1 to 9 are provided. If there are 10 or
more unread messages, a single badge (depicted as "9+") is used.

Resolves #1917
2018-01-17 15:27:58 -08:00
..
models Introduce intl-friendly sort order for contact lists (#1900) 2017-12-14 16:30:11 -08:00
views Left pane: small sorting fix, logging for error cases (#1969) 2018-01-12 16:22:00 -08:00
background.js Merge branch 'master' into development 2017-12-04 16:08:19 -08:00
backup.js Log out information from DOMException when import fails (#1923) 2018-01-04 16:26:41 -08:00
chromium.js Remove extension.notification 2017-09-14 16:53:45 -07:00
conversation_controller.js Add badge for unread messages to the tray icon (#1934) 2018-01-17 15:27:58 -08:00
database.js Move logging to disk via bunyan 2017-09-25 15:00:34 -07:00
delivery_receipts.js Immediately remove delivery receipts from the retry cache (#1719) 2017-11-07 18:30:54 -08:00
emoji_util.js Upgrade emoji support (#1482) 2017-09-15 13:22:11 -07:00
expire.js Build expiration date 2017-09-14 16:53:38 -07:00
expiring_messages.js Fetch all conversations on startup of app, not on inbox load (#1437) 2017-09-06 18:18:46 -07:00
focus_listener.js Move focus listeners to their own file 2017-09-14 16:53:37 -07:00
i18n.js Use correct locale, fall back to en if we don't have translations 2017-09-14 16:53:47 -07:00
jquery.js Set parent window for about/new version, escape to close (#1795) 2017-11-21 15:23:18 -08:00
keychange_listener.js Fetch conversations once, clean up ConversationController API (#1420) 2017-09-01 09:10:41 -07:00
libphonenumber-util.js Refactor number parsing and validation 2015-12-09 18:58:51 -08:00
libsignal-protocol-worker.js Update libsignal-protocol v1.0.0 2016-06-14 16:27:34 -07:00
logging.js Merge branch 'master' into development 2017-12-04 16:08:19 -08:00
Mp3LameEncoder.min.js Copy audio-related files into js/ instead of symlinking them (#1456) 2017-09-14 17:03:18 -07:00
notifications.js Fix notifications: windows -> window, serialize false setting 2017-11-22 14:32:39 -08:00
read_receipts.js Feature: Blue check marks for read messages if opted in (#1489) 2017-10-04 15:28:43 -07:00
read_syncs.js Feature: Blue check marks for read messages if opted in (#1489) 2017-10-04 15:28:43 -07:00
registration.js Refactor registration event 2016-09-20 13:42:33 -07:00
reliable_trigger.js Apply reliable trigger to Backbone.Collection as well 2017-08-04 12:03:25 -07:00
rotate_signed_prekey_listener.js Fix merge confilict in rotate_signed_prekey_listener.js 2017-12-04 16:49:43 -08:00
signal_protocol_store.js Fix device ID check, clean up prekey fetch logging (#1961) 2018-01-10 18:12:24 -08:00
spell_check.js Merge locale-provided strings into english for failover support 2017-09-14 17:03:17 -07:00
storage.js Import: Wait until db writes resolve before saying we're done (#1401) 2017-09-14 17:03:17 -07:00
wall_clock_listener.js Reschedule all timers on time travel, set interval back to 1000ms 2017-09-14 16:53:53 -07:00
WebAudioRecorderMp3.js Copy audio-related files into js/ instead of symlinking them (#1456) 2017-09-14 17:03:18 -07:00