This repository has been archived by the owner on Sep 11, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 831
Display rooms & threads as unread (bold) if threads have unread messages. #9763
Merged
Merged
Changes from 13 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
511fbd7
Display rooms as unread (bold) if threads have unread messages.
clokep ad4feef
Display threads in the threads list as unread (bold).
clokep 82fdbac
Add a badge to the threads icon if any threads are unread.
clokep 06c6a5f
Merge remote-tracking branch 'upstream/develop' into unread-threads
clokep c324fe7
Merge remote-tracking branch 'upstream/develop' into unread-threads
clokep b8a42ca
Add an extra check for uninitialized timelines.
clokep 2daf604
Attempt to appease linter.
clokep 8e7dc94
More linting fixes.
clokep 22afd72
Rename variable.
clokep 5ca3fe1
Fix tests.
clokep 3ef2830
Merge remote-tracking branch 'upstream/develop' into unread-threads
clokep 771d6da
Update tests
germain-gg dd1fe22
Merge branch 'develop' into unread-threads
a92e181
Merge branch 'develop' into unread-threads
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are mostly copied from
useUnreadNotifications
:matrix-react-sdk/src/hooks/useUnreadNotifications.ts
Lines 40 to 53 in ad4feef