lbry-desktop/ui
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 Upload: add tab-locking 2021-12-08 09:16:27 +08:00
constants Upload: add tab-locking 2021-12-08 09:16:27 +08:00
effects Remove use-history-nav.js 2021-11-09 16:03:37 +08:00
modal Un-authenticated resolve (#341) 2021-11-24 09:33:34 -05:00
page Fix category page labels not being translated (#423) 2021-12-04 12:08:13 -05:00
redux Upload: add tab-locking 2021-12-08 09:16:27 +08:00
scss updated the transform origin (#395) 2021-12-01 13:01:21 -05:00
util Upload: add tab-locking 2021-12-08 09:16:27 +08:00
analytics.js [oEmbed] some changes and fixes (#392) 2021-12-01 10:36:52 -05:00
app.js
comments.js Comment Moderation - time based bans 2021-09-03 07:17:56 +08:00
i18n.js Revert "Simplify language lists" 2021-04-06 15:42:27 -04:00
index.jsx [oEmbed] some changes and fixes (#392) 2021-12-01 10:36:52 -05:00
lbry.js Un-authenticated resolve (#341) 2021-11-24 09:33:34 -05:00
logWarningConsoleMessage.js new lbc icon 2020-09-29 17:12:32 -04:00
native.js working 2020-12-16 10:52:22 -05:00
reducers.js Support resume-able upload via tus (#186) 2021-11-10 13:16:16 -05:00
rewards.js Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
store.js Additional GA events via redux/lbryio hook 2021-10-22 10:56:43 +08:00