Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing indicator new notifications #370

Open
Octavie opened this issue Aug 6, 2021 · 2 comments
Open

Missing indicator new notifications #370

Octavie opened this issue Aug 6, 2021 · 2 comments

Comments

@Octavie
Copy link

Octavie commented Aug 6, 2021

I keep opening the notification page myself every hour of something, but it would be nice to have some indication if there are new notifications. I believe the Messages Left-Bar-Button does have one.

There is an isUnread property, however the ngClass seems not set when there are unread notifications?

left-bar.component.html:
<left-bar-button
[link]="'/' + globalVars.RouteNames.NOTIFICATIONS"
[buttonLabel]="'Notifications'"
[isUnread]="globalVars.hasUnreadNotifications"
>

left-bar-button.component.html:
[ngClass]="{
'left-bar__dot-unread': isUnread,
'left-bar__dot-inactive': !rla.isActive,
'left-bar__dot-active': rla.isActive
}"

Note: for Messages there seems to be a different css class: notification?

@maebeam
Copy link
Contributor

maebeam commented Aug 6, 2021

This indicator is currently disabled for performance reasons. We will be able to bring it back when the postgres migration completes (few weeks)

@Octavie
Copy link
Author

Octavie commented Aug 7, 2021

Check! Thanks for the explanation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants