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.
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
Updated logic to handle unread messages case #25935
Updated logic to handle unread messages case #25935
Changes from all commits
fab7506
47dd5cd
922fbf3
85dddae
b9f1f17
ec2e0fb
3646848
c71ecae
ebdeddb
de5b8fe
c483c10
8925515
7149558
89d15d2
748c8ad
a434c3a
f40773b
c784057
51f8117
eee1e83
f1de924
c8d4853
c9722d9
8782bf7
d3ddefd
cea0759
3ff86e2
3630dac
57978b6
6546ba5
6b2beed
dc93b9e
95cc451
cdb1b80
5dde6f2
2b83ba6
c4541fb
58e2f9c
12a92a7
823f3b7
d1a347c
0a578dd
8bb02a4
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
@gedu @MonilBhavsar Hey I'm working on a bug related to unread markers and I'm having trouble wrapping my head around this cache. What problem/scenario does it fix specifically? Like is there a scenario where when we switch away from a report and then navigate back, we want the unread marker to persist?
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.
NAB, we can remove this line
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.
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.
When there is a single panel, in the tests, seems that it keeps all components in memory, so I need to reset the state to make it work, "simulating" the same as what the app does