lbry-desktop/static
infinite-persistence 82bb785f9d
Upload: add tab-locking
## Issue
- The previous code does detect uploads from multiple tabs, but it was done by handling the CONFLICT error message from the backend. At certain corner-cases, this does not work well. A better way is to not allow resumption while the same file is being uploading from another tab.

- When an upload from 1 tab finishes, the GUI on the other tab does not remove the completed item. User either have to refresh or click Cancel. Clicking Cancel results in the 404 backend error. This should be avoided.

## Approach
- Added tab synchronization and locking by passing the "locked" and "removed" information through `localStorage`.

## Other considered approaches
- Wallet sync -- but decided not to pollute the wallet.
- 3rd-party redux tab syncing -- but decided it's not worth adding another module for 1 usage.
2021-12-08 09:16:27 +08: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 Upload: add tab-locking 2021-12-08 09:16:27 +08: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