-
Notifications
You must be signed in to change notification settings - Fork 862
Notification diffing #4220
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
Notification diffing #4220
Conversation
ea97e6b to
401d0cc
Compare
b715e9f to
1c35109
Compare
- this allows us to only synchronise of the event list modifications rather than the entire notification creation/rendering which should in turn reduce some of our ANRs #4214
…ed event id - this state will be used to diff the currently rendered events against the new ones
… allow us to dismiss notifications from removed events
…cting the processed type when creating the notifications
401d0cc to
ea8629e
Compare
|
There is a lot PR to be reviewed, I'm wondering if it's worth creating sub PR like that. Also I'm afraid I will have to review the same code when reviewing the PR which want to be merged on develop. |
|
@bmarty that was my plan 😅 I can close the pending PRs if it's makes the review chain simpler *all PRs merge into feature/adm/notification-redesign In order finally the feature PR for feature/adm/notification-redesign, which would be for testing or a code review if people want to review all the changes in a single PR instead of broken down |
|
closing to avoid ordering confusion |
Fixes notification related ANR [ANR] NotificationDrawerManager.setCurrentRoom #4214
Fixes the serialised event list becoming out of sync with the currently rendered notifications, eg receiving multiple room invites
event listandcurrently rendered eventsdiffing, this allows us to remove out of sync notifications