lbry-desktop/web
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
..
component Ad blacklist terms (#434) 2021-12-06 13:01:40 -05:00
effects [oEmbed] some changes and fixes (#392) 2021-12-01 10:36:52 -05:00
middleware Add favicon for Google Search results (#7205) 2021-10-01 08:09:02 -04:00
page Misc updates 2021-11-29 20:32:39 -05:00
setup Upload: add tab-locking 2021-12-08 09:16:27 +08:00
src [oEmbed] some changes and fixes (#392) 2021-12-01 10:36:52 -05:00
static/pwa Browser push notifications (#133) 2021-10-27 10:38:10 -04:00
stubs rename lbrytv to web 2020-05-25 17:21:02 -04:00
bundle-id.js fix uuid import with new version 2020-10-02 14:36:22 -04:00
index.js cache static files for webserver 2021-06-04 12:05:23 -04:00
lbry.js Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
package.json Browser push notifications (#133) 2021-10-27 10:38:10 -04:00
webpack.config.js Browser push notifications (#133) 2021-10-27 10:38:10 -04:00
webpack.sw.config.js Browser push notifications (#133) 2021-10-27 10:38:10 -04:00
yarn.lock Browser push notifications (#133) 2021-10-27 10:38:10 -04:00