# Add chat mentions and a notifications panel \(\#3121\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/a5836b033733525e08f9226723dcd0770488ce4a)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: a5836b033733525e08f9226723dcd0770488ce4a

Requested commit: a5836b033733525e08f9226723dcd0770488ce4a

Commit: a5836b033733525e08f9226723dcd0770488ce4a

Tree: de3690e26f0b9ec6dcafba5867c0629941db75e9

Author: Max Brunsfeld

Committer: GitHub

## Message

```
Add chat mentions and a notifications panel (#3121)

### Todo

* Displaying notifications
    * [x] show them in panel
    * [x] indicate read/unread status
    * [x] allow requesting more by scrolling down
    * [ ] style the panel
    * [x] style the status bar icon
* Chat mentions
    * [x] highlight mentions when editing message
    * [x] persist mentions
    * [x] highlight mentions when rendering saved messages
* Creating notifications
    * [x] contact request received
    * [x] contact request accepted
    * [x] channel invitation received
    * [x] mentioned in a chat message
* [x] Indicate responses to notifications
* Mark notifications as read
* [x] when viewing a contact request acceptance in the notification
panel
    * [x] responding to contact invite
    * [x] responding to channel invite
    * [x] viewing a channel message mention
* [x] Replace previous notifications with auto-dismissing,
non-interactive toasts

### Release Notes:

- Added a notification panel, which displays notifications about contact
requests and channel invitations.
- Added the ability to `@`-mention users in the chat, so that they will
be notified of your message.
```

## Parents

- [ef1a69156d624b4cb3879f8b2f52640f426f9657](https://git.cafe/gitcafe/zed/commit/ef1a69156d624b4cb3879f8b2f52640f426f9657?format=markdown)

- [4d491ca3a155868430ab46be16561e3e31400ff8](https://git.cafe/gitcafe/zed/commit/4d491ca3a155868430ab46be16561e3e31400ff8?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/a5836b033733525e08f9226723dcd0770488ce4a?format=markdown)
