daffodil icon indicating copy to clipboard operation
daffodil copied to clipboard

[FEAT] As a user, I need to be informed when there's an update to the PWA so that I don't see stale content.

Open xelaint opened this issue 4 years ago • 1 comments

:bulb: Feature request

Feature Name

As a user, I need to be informed when there's an update to the PWA so that I don't see stale content.

The Desired Behavior

  1. Toast Component (#2499)
  2. Caching functionality to service worker

Your Use Case

As a developer, I would like to let users know if there is an update to the PWA app.

Prior Work

Environment


Daffodil version: X.Y.Z
Angular version: X.Y.Z 

 
For Tooling issues:
- Node version: XX  
- Platform:  

Others:

xelaint avatar Jan 04 '22 19:01 xelaint

Angular provides the SwUpdate service for this functionality. Its interface looks pretty good; it is likely sufficient to be directly called from the component.

griest024 avatar Jan 06 '22 23:01 griest024