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

PWA #179

Closed
5 tasks done
maraf opened this issue Nov 4, 2018 · 5 comments
Closed
5 tasks done

PWA #179

maraf opened this issue Nov 4, 2018 · 5 comments
Assignees

Comments

@maraf
Copy link
Owner

maraf commented Nov 4, 2018

  • Use service worker to cache assets.
  • Cache categories locally.
  • Cache currencies locally.
  • Cache profile info locally.
  • Create local "bag" for adding expenses offline.

As categories and currencies change infrequently, we can always show last cache and update in background.

Also, we can store etag for categories and currencies list queries and return 304 from API if they didn't change. This approach can be generalized and used for all queries, as transfer data optimization.

@maraf maraf added this to the blazor-v1.10.0 milestone Dec 12, 2019
@maraf maraf self-assigned this Dec 25, 2019
maraf added a commit that referenced this issue Dec 25, 2019
maraf added a commit that referenced this issue Dec 25, 2019
maraf added a commit that referenced this issue Dec 25, 2019
maraf added a commit that referenced this issue Dec 25, 2019
@maraf
Copy link
Owner Author

maraf commented Dec 25, 2019

maraf added a commit that referenced this issue Dec 28, 2019
maraf added a commit that referenced this issue Dec 28, 2019
maraf added a commit that referenced this issue Dec 28, 2019
@maraf
Copy link
Owner Author

maraf commented Dec 28, 2019

There is a problem with deserialization of category list using System.Text.Json.

@maraf
Copy link
Owner Author

maraf commented Feb 6, 2020

When there are any local expenses, we should display this information somewhere (possibly in the main menu or as a "panel" on all pages). Also when these are posted to the server, we should display some progress.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant