Skip to content

Have data ready on app startup #477

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

Open
gnprice opened this issue Jan 5, 2024 · 2 comments
Open

Have data ready on app startup #477

gnprice opened this issue Jan 5, 2024 · 2 comments
Labels
a-model Implementing our data model (PerAccountStore, etc.) beta feedback Things beta users have specifically asked for
Milestone

Comments

@gnprice
Copy link
Member

gnprice commented Jan 5, 2024

This is the successor to the zulip-mobile issue zulip/zulip-mobile#5490. The main goal here is:

  • When the user opens the app, we should typically have fresh up-to-date server data to show them.

In zulip-flutter, the current behavior is that we don't store server data at all between runs of the app. Effectively this means it's a lot like the web or desktop app: if you open Zulip in a fresh browser tab, it will similarly take some time (up to like 10 seconds for a large organization like chat.zulip.org, even on a good network) before the app is available.

For discussion, see zulip/zulip-mobile#5490 and this chat thread.

@gnprice gnprice added a-model Implementing our data model (PerAccountStore, etc.) beta feedback Things beta users have specifically asked for labels Jan 5, 2024
@gnprice gnprice added this to the Post-launch milestone Jan 5, 2024
@gnprice gnprice modified the milestones: M6: Post-launch, M7: Future Dec 20, 2024
@chrisbobbe
Copy link
Collaborator

From beta feedback yesterday:

https://chat.zulip.org/#narrow/channel/48-mobile/topic/cache.20messages.20for.20offline.20use/near/2010675

I wish the app would cache messages more. Right now both this and the old version are nigh unusable offline or in spotty Internet

Greg replied:

I think this is basically another angle on #477, Have data ready on app startup. It's the same feature, but a bit of a different user story for why it's desired: rather than about not waiting for like 5–10 seconds for the data to load, it's about being able to use the app at all (albeit read-only) when not connected.

@PIG208
Copy link
Member

PIG208 commented Dec 24, 2024

This was brought up again in response to the comment here:

One more issue for mobile internet with throatling applied (slow data transfer).
I observerved it takes forever to load Zulip content. At least from time to time. Initial screen offers to use other account. And it helps to use alternative realm hosted on Zulip Cloud.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a-model Implementing our data model (PerAccountStore, etc.) beta feedback Things beta users have specifically asked for
Projects
Status: No status
Development

No branches or pull requests

3 participants