-
-
Notifications
You must be signed in to change notification settings - Fork 669
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
Conversation list should use cache if no connection #2725
Comments
Fixes zulip#2725 Previously we incorrectly showed a loading spinner if users data was loading regardless of wether we had user data already. For better user experience and to be consistent with the rest of the app's behavior, show the cached data while updating the user data. Show spinner only if no data is cached.
Fixes zulip#2725 Previously we incorrectly showed a loading spinner if users data was loading regardless of wether we had user data already. For better user experience and to be consistent with the rest of the app's behavior, show the cached data while updating the user data. Show spinner only if no data is cached.
The loading indicator on an empty unread messages list during `session.loading` is redundant, following the introduction of LoadingBanner in this series of commits. Now, we can display the "No unread messages" text as our best guess at the current state, even though we know it's stale, since we're also displaying a loading indicator above. Fixes: zulip#3387 Fixes: zulip#3025 Fixes: zulip#2725
I think in this issue the loading indicator is (was) the status quo, and it's asking to show the cached data. We now do show the cached data, so this was done some time ago. And that's a problem 😉, namely #3387, because we don't give any indication that we're loading new data and what's visible is stale. |
12 days ago, I think, in #3822. |
Hmm, yeah, thanks for the correction! I guess I was misled by too-hastily reading #3387, which is a year old and asks for the loading indicator (but doesn't actually say whether the status quo was that we showed cached data, or prematurely-cleared data, or what -- just, we didn't indicate we were loading fresh data.) |
If there is data for the conversation list, but trying to load users a loading indicator is shown.
Instead, it should show the previously loaded data.
The text was updated successfully, but these errors were encountered: