-
Notifications
You must be signed in to change notification settings - Fork 279
feat(ui): RoomListService
re-enables share_pos
#4741
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
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4741 +/- ##
=======================================
Coverage 86.14% 86.15%
=======================================
Files 292 292
Lines 34295 34295
=======================================
+ Hits 29544 29547 +3
+ Misses 4751 4748 -3 ☔ View full report in Codecov by Sentry. |
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.
Might be a bit premature to review without manual testing or some code tests 😇
Do you want me to test on android first? |
Yes please, that would be amazing 🙏 |
I've linked a rageshake with some issues where the initial loading sometimes takes several seconds and what's more troublesome, some rooms never get a display name: on a first attempt it seemed like the issue was solved after a few seconds, then I restarted the app, saw those rooms with no display name again but this time the name never loaded. |
thanks for testing! the display name issue might be #4051 which becomes more visible, now that we're not getting multiple syncs at start. |
Spotted a very slow response from the server, taking around 8 seconds:
And much later:
It takes 28ms to fully process the response (including i/o access for storing the next pos), so the Rust 🦀 SDK is Blazingly 😎 Fast 🚀 . |
I'm afraid I can reproduce all 3 reasons why we disabled this in the first place: Logs for the delayed pagination:
|
Thanks for testing, Doug! |
WIP
The idea is the following: if we keep the sliding sync
pos
, first off, the homeservers will be happier because they don't have to re-compute a session every time, and second, the overall user experience may be better as we receive much lesslimited
responses from the homeservers.I don't know why it was creating slowness at some moment. My hope it that the problem has resolved by itself because many refactorings happened since then 🤞.
share_pos()
insideRoomListService
#4256pos
token so that it gets reused across app restarts #3936