Toast design for unread messages + updated permalink view

Description

See current design: https://projects.invisionapp.com/share/7VN045JZU69#/screens/309890683

But the above is missing some cases we should consider, including but not limited to:

1. Enter a channel that is read
2. Enter a channel that is unread
3. Mark a post as unread
4. New messages posted in a channel that you are viewing when you are scrolled up
5. When the toast is already showing, new messages posted in a channel that you are viewing when you are scrolled up
6. Jump to a post/permalink

  • Jump to a permalink in a read channel

  • Jump to a permalink in an unread channel

  • Jump to a permalink in a read channel that receives new messages while I'm viewing the permalink

Other considerations:
1. Rules for clearing the toast
2. How "Mark as read" should work given technical considerations of how we currently mark channels as read as soon as they are opened
3. Mobile toast? https://mattermost.atlassian.net/browse/MM-13169

QA Test Steps

None

Status

Mana

2

Assignee

Eric Sethna

Reporter

Eric Sethna

Epic Link

None

Fix versions

Mattermost Team

UX

Sprint

Labels

None

GitHub Issue

None