-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Add badge counts & highlights to NotifPanel #3383
Labels
Comments
ara4n
added
I18n
T-Defect
S-Tolerable
Low/no impact on users
P1
ui/ux
and removed
I18n
labels
Mar 8, 2017
this depends on having NotifPanel able to distinguish highlights from non-highlight notifs - and actually display a count! |
ara4n
changed the title
Nobody can find NotifPanel or FilePanel
Add badge counts & highlights to NotifPanel or FilePanel
Apr 23, 2017
ara4n
changed the title
Add badge counts & highlights to NotifPanel or FilePanel
Add badge counts & highlights to NotifPanel
Sep 18, 2018
turt2live
added a commit
to matrix-org/matrix-react-sdk
that referenced
this issue
Dec 6, 2018
Fixes element-hq/element-web#3383 This achieves the result by counting up the number of highlights across all rooms and setting that as the badge above the icon. If there are no highlights, nothing is displayed. The red highlight on the bell is done by abusing how the Tinter works: because it has access to the properties of the SVG that we'd need to override it, we give it a collection of colors it should use instead of the theme/tint it is trying to apply. This results in the Tinter using our warning color instead of whatever it was going to apply. The RightPanel now listens for events to update the count too, otherwise when the user receives a ping they'd have to switch rooms to see the change.
Fixed by matrix-org/matrix-react-sdk#2336 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Oddvar, Tom, and many others simply don't know it exists.
The text was updated successfully, but these errors were encountered: