-
Notifications
You must be signed in to change notification settings - Fork 155
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
Do not display empty room list state before the loading one #2402
Do not display empty room list state before the loading one #2402
Conversation
📱 Scan the QR code below to install the build (arm64 only) for this PR. |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## develop #2402 +/- ##
========================================
Coverage 72.31% 72.32%
========================================
Files 1364 1364
Lines 32236 32232 -4
Branches 6297 6295 -2
========================================
- Hits 23312 23311 -1
+ Misses 5659 5658 -1
+ Partials 3265 3263 -2 ☔ View full report in Codecov by Sentry. |
I tried using a simpler solution and keeping the |
98d8faf
to
e0e1be4
Compare
I pulled this in but noticed that my room list is truncated to only ~2 screens worth of rooms. Scrolling to the bottom doesn't load more. Also, strangely, many rooms are missing even when I search for them |
2ad3343
to
1262a48
Compare
The pagination logic was affected by the changes in the PR. I've rolled back those changes, since they caused some other side effects and went back to the initial implementation. |
80ff7e8
to
e2ff547
Compare
Quality Gate passedIssues Measures |
Type of change
Content
RoomList.State
).RoomList.State
to transparently decide whether to display the empty, loading, or loaded state with no flickers in the room list screen.Motivation and context
When the room list took a bit longer than expected to load, the empty screen could be seen for a moment before the loading one appeared.
Tests
With an account having a single room in the room list, test:
Tested devices
Checklist