Public Lab

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

https://github.com/publiclab/image-sequencer/issues/890 https://github.com/publiclab/image-sequencer/issues/349 started making a lot of offline webapp (Progressive Web App or PWA) improvements, which is great;

https://github.com/publiclab/image-sequencer/issues/605 https://github.com/publiclab/image-sequencer/issues/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:

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) displaying a banner or a prompt to refresh the page once a new version has successfully been fetched 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!

Task tags

  • image-sequencer
  • hall-of-fame

Students who completed this task

az, HarshK

Task type

  • code Code
  • web Design
  • assessment Outreach / Research
close

2019