Skip to content
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

Reloading app with no IndexedDB available might show error temporily due to timeout #203

Open
xMartin opened this issue Oct 10, 2022 · 0 comments
Labels

Comments

@xMartin
Copy link
Owner

xMartin commented Oct 10, 2022

No IndexedDB available usually means Firefox private mode. Tab IDs are present in local storage but data needs to be fetched from backend.

Error: "Error: Tab data missing. Are you offline? Try refreshing." or, if on tabs view, tab names might load one by one.

This happens due to possible timeout cancelling the initial replication leaving the tab data in incomplete state (no info doc, yet) until syncing ran successfully. initialLoadingDone is true prematurely then.

The initial timeout is useful if data is present locally, so we show the old data and fetch in the background to not make the user wait for too long if network is slow. But if there's no data at all locally, it doesn't make sense. Should we distinguish between no data present and some?

@xMartin xMartin added the bug label Oct 10, 2022
@xMartin xMartin changed the title Reloading app with no IndexedDB available shows error temporily Reloading app with no IndexedDB available might show error temporily due to timeout Oct 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant