5638f64831
## Ticket 1329 The existing nudge to refresh the webpage only happens when the app cannot find the specific javascript file in the server. As we don't purge the files on each build, the browser typically uses the cached version of the app, which could be weeks behind (based on the error logs). ## Approach Poll the current version periodically (set to 1 hour for now) and invoke the nudge when a newer version is detected. We typically don't need to bump `MINIMUM_VERSION` unless there is an urgent need to make users move away from older versions (e.g. API changes, mistakes, etc.) ## Trade-offs Wanted to put the value in a separate file called `.min.version` so that the env's history won't be polluted with version bumps, but not sure how to implement with minimal code without having to read from the file. Getting from the env is the easiest to implement (per my limited knowledge). |
||
---|---|---|
.. | ||
app.js | ||
blocked.js | ||
claims.js | ||
coinSwap.js | ||
collections.js | ||
comments.js | ||
content.js | ||
file.js | ||
file_info.js | ||
livestream.js | ||
notifications.js | ||
publish.js | ||
reactions.js | ||
reportContent.js | ||
rewards.js | ||
search.js | ||
settings.js | ||
subscriptions.js | ||
sync.js | ||
tags.js | ||
user.js | ||
wallet.js | ||
websocket.js |