element-hq / element-hq/element-web

Notification panel is empty and stays empty even after new notifications come in

Open
#24,614 5 comments 0 reactions 0 assignees View on GitHub
A-Notif-Panel A-Notifications O-Occasional S-Minor T-Defect
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

### Steps to reproduce

*As originally reported by @Elliria in https://github.com/vector-im/element-web/issues/24532#issuecomment-1434069184,*

1. Start with a fresh account and a blank notification panel (empty state, "You're all caught up").
- Or alternatively, page-load the app with the notification panel open. This is a [separate Element bug](https://github.com/vector-im/element-web/issues/24663) but is an easy way to get into this state
1. Get some mentions in a public room (not encrypted)
1. Notice that the notification panel doesn't include those mentions that are plainly visible in the app

Mentions not included in notifications panel (screenshot from the @EricGitterTester perspective):

![](https://user-images.githubusercontent.com/558581/220723594-5fbc8e43-d90e-4df9-8a7e-3fdaab3fe9ab.png)

And after a refresh (and switching between rooms), the mentions appeared and new mentions that happen also appear in the list.

![](https://user-images.githubusercontent.com/558581/220723721-5874e4dd-7648-40a1-a38d-1819eb171c59.png)

While I understand this panel is populated with whatever `/notifications` returns, this feels like it may be an Element problem where it doesn't properly gather notifications once it's shown the empty state.

### Outcome

#### What did you expect?

Mentions are included in notifications panel

#### What happened instead?

All mentions missing

### Operating system

Windows 10

### Browser information

Chrome Version 110.0.5481.100

### URL for webapp

https://app.gitter.im/

### Application version

Gitter version: 1.11.23 Olm version: 3.2.12

### Homeserver

gitter.im

### Will you send logs?

No

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.