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

Expand out offline app features for smoother cache clearing and version tracking #1364

Closed
jywarren opened this issue Dec 17, 2019 · 4 comments · Fixed by #1384
Closed

Expand out offline app features for smoother cache clearing and version tracking #1364

jywarren opened this issue Dec 17, 2019 · 4 comments · Fixed by #1384
Labels
gci-candidate Issue being considered for gci hall-of-fame help wanted

Comments

@jywarren
Copy link
Member

#890 #349 started making a lot of offline webapp (Progressive Web App or PWA) improvements, which is great;

#605 #761 also get at a lot of these, and the issues we'd like to improve on.

I'd like to suggest we go through and implement each of the recommendations from this blog post, so as to make cache and version management very clear:

https://publiclab.org/notes/warren/08-19-2019/ui-principles-for-offline-apps

The key parts are:

  1. displaying a version number unobtrusively at the bottom of the page (an NPM version number AND/OR a publication date, or at least a Git hash)
  2. displaying a banner or a prompt to refresh the page once a new version has successfully been fetched
  3. consider displaying a version number faintly in the upper right corner, or by the page title, so that screenshots of the app can capture it

Right now, we only see this, and this v3 never changes -- so we have no idea a) if it needs clearing and b) what version we are on and c) what version is available. Let's solve this!

image

@jywarren jywarren changed the title Expand out PWA features for smoother cache clearing and version tracking Expand out offline app features for smoother cache clearing and version tracking Dec 17, 2019
@SidharthBansal
Copy link
Member

Published

@harshkhandeparkar
Copy link
Member

I want to claim this task but I can't find it on the dashboard. Is it published?

@anthony-zhou
Copy link
Member

@harshkhandeparkar I already claimed the task and am working on it.

@harshkhandeparkar
Copy link
Member

harshkhandeparkar commented Dec 22, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gci-candidate Issue being considered for gci hall-of-fame help wanted
Projects
None yet
4 participants