lbry-desktop/ui/redux/actions
infinite-persistence 5638f64831
New version nudge (#1793)
## 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).
2022-07-05 09:14:32 -04:00
..
app.js New version nudge (#1793) 2022-07-05 09:14:32 -04:00
blocked.js Geo blocklist - reimplement with backend support (#1089) 2022-03-14 15:15:30 -04:00
claims.js Change collection item fetch-page from 5 to 50 (#1732) 2022-06-22 08:04:22 -04:00
coinSwap.js CoinSwap: websocket + multi-coin 2021-04-13 14:02:25 -04:00
collections.js Fix #798: fix action dispatch order in doFetchItemsInCollections 2022-03-12 08:54:43 -05:00
comments.js Undo the channel-clamping and let user figure out from Toast 2022-05-06 11:31:42 -04:00
content.js 1318: Persist recsys data for send after tab close 2022-05-24 13:52:50 -04:00
file.js Fix flow for User/UserState 2022-03-17 13:12:18 +08:00
file_info.js Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
livestream.js Remove polling, still happen on channel pages (#1558) 2022-06-09 14:43:45 -04:00
notifications.js Defer notification/categories 2021-12-29 09:15:06 -05:00
publish.js Update thumbnail paths (#1747) 2022-06-23 22:33:32 +02:00
reactions.js Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
reportContent.js update reports endpoint. 2022-02-09 15:06:38 -05:00
rewards.js Remove 'many_downloads' auto-claim (let user manually claim) (#1795) 2022-07-05 06:36:23 -04:00
search.js Recsys: capture and use x-uuid from search results (#1727) 2022-06-22 09:43:54 -04:00
settings.js Automatically set default channel on sign up (#1559) 2022-05-24 06:18:26 -04:00
subscriptions.js More sidebar optimizations 2022-03-22 08:46:27 -04:00
sync.js Add 'lastViewedAnnouncement' into wallet. 2022-05-20 00:04:06 +08:00
tags.js Remove content_tags and related functions 2021-12-13 11:54:53 -05:00
user.js Fix user membership state for incognito. 2022-05-30 19:03:21 +08:00
wallet.js Preorder content functionality (#1743) 2022-06-23 20:58:32 -04:00
websocket.js Refactor and fix websocket connection behavior 2022-04-29 10:43:30 -04:00