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

Offline support #9

Open
cuibonobo opened this issue Mar 1, 2022 · 2 comments
Open

Offline support #9

cuibonobo opened this issue Mar 1, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@cuibonobo
Copy link
Owner

cuibonobo commented Mar 1, 2022

While the client is connected, it should save images and metadata the local browser. The app should populate itself from this store if the connection is not available or is very slow.

@cuibonobo cuibonobo added the enhancement New feature or request label Mar 1, 2022
@cuibonobo
Copy link
Owner Author

The localStorage API only allows strings and has strict data limits. A library that interfaces with IndexedDB would be more feasible here.

@cuibonobo cuibonobo added the P1 label Apr 2, 2022
@cuibonobo cuibonobo changed the title Save image data to localStorage for offline viewing Offline support Apr 2, 2022
@cuibonobo
Copy link
Owner Author

The initialization behavior should be gathering metadata and images and putting them in a local store. When updates are received, they should also update the local store. Visiting the page without a network connection will retrieve the locally-stored values and display those while periodically re-checking the connection.

@cuibonobo cuibonobo removed the P1 label Apr 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant