lbry-desktop/static
infinite-persistence 87c3dcc057
SyncFatalError: show nag instead of hard-crashing. (#331)
* SyncFatalError: show nag instead of hard-crashing.

## Issue
When sync fails, we crash the app.

## Ticket
Maybe closes 39 "Better handle both internal and web backend interruptions / downtime"

## Approach
I'm tackling this from the standpoint that (1) sync errors are not that fatal -- we'll just lost a few recent changes (2) network disconnection is the common cause.

## Changes
- If we are offline:
    - Inform user through a nag. All other status is meaningless if we are offline.
- If we are online:
    - If api is STATUS_DOWN, show the existing crash page.
    - If there is a sync error, show a nag saying settings are now potentially unsynchronized, and add a button to retry sync.
    - If there is a chunk error, nag to reload.

* Attempt to detect `status=DOWN`

Previous code resolves the status to either "ok" or "not", which makes the app unable to differentiate between the "degraded" (nag) and "down" (crash) states.
2021-11-22 09:30:43 -05:00
..
font/v1 updates font files with normalized line height versions 2020-04-23 10:47:06 -04:00
img Add favicon for Google Search results (#7205) 2021-10-01 08:09:02 -04:00
webworkers update webworkers 2019-11-25 11:40:19 -05:00
app-strings.json SyncFatalError: show nag instead of hard-crashing. (#331) 2021-11-22 09:30:43 -05:00
index-electron.html Add direction 2020-07-29 17:54:10 -04:00
index-web.html fix syntax 2021-11-19 11:30:28 -05:00
opensearch.xml Implement OpenSearch support 2020-08-12 13:35:49 -04:00
robots.txt robots.txt defaults to disallow 2020-10-12 23:33:29 -04:00