Add new Last Seen Indicator with unread count, scroll to it

This is to ensure that when there are a lot of unread messages, the user
is given the chance to see all of them by being scrolled to the oldest
new message.

When a new message comes in, the indicator will be incremented.

When the user sends a message or switches away from the conversation,
the last seen indicator will be removed.

FREEBIE
This commit is contained in:
Scott Nonnenberg
2017-05-17 14:32:03 -07:00
parent bec69826ae
commit fed26c36ca
8 changed files with 133 additions and 2 deletions
+4
View File
@@ -70,4 +70,8 @@
.inactive button.back {
@include header-icon-black('/images/back.svg');
}
.message-list .last-seen-indicator-view .text {
margin-top: 2em;
}
}