-
Notifications
You must be signed in to change notification settings - Fork 117
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
Dynamically adjusting the visibleRoomsView's timeline limit based on … #507
Conversation
Generated by 🚫 Danger Swift against 3fb4666 |
Codecov ReportBase: 40.91% // Head: 40.91% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## develop #507 +/- ##
===========================================
- Coverage 40.91% 40.91% -0.01%
===========================================
Files 289 289
Lines 16496 16516 +20
Branches 10889 10904 +15
===========================================
+ Hits 6749 6757 +8
- Misses 9440 9451 +11
- Partials 307 308 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
If it works, we need to add those sentences somewhere in the documentation. There are super clear. |
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.
LGTM
6c884f6
to
3fb4666
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
…the app state
Requires matrix-org/matrix-rust-sdk#1399 and #502
This will start the app with
visibleRooms[timelineLimit=0]
, then, as soon as that receives updates, switch tovisibleRooms[timeline=1]
+allRooms
and later, once the initial data has been displayed, switch tovisibleRooms[timeline=20]
+allRooms
After that, while scrolling and chaning the visible range the timeline limit with be set to 1 and then set again to 20 when the scrolling has stopped to precache room history