lbry-desktop/ui
infinite-persistence 38c13cf5ef Skip USER_STATE_POPULATE when sync_hash is the same
## Changes
- doHandleSyncComplete: only call doGetAndPopulatePreferences when there is new data.
- But for that to work, we'll need to populate preferences at least once. We'll do that in doSignIn.
- We can also remove the "sync/prefs ready" mechanism that was mainly meant for Desktop.

Then came another problem: while trying to spark changes between 2 tabs, `sync/get` was saying "no change" despite the local and server hash being different. I think it is because the both `sync_hash + sync/get` combo is operating on server data, so the hash is the same. I'm guessing this is why we ended up just running doGetAndPopulatePreferences every time before PR, since this flag wasn't correct in this scenario.

- Updated `data.changed` to consider both API results and comparison with local hash.
2021-11-15 07:06:39 -08:00
..
component Skip USER_STATE_POPULATE when sync_hash is the same 2021-11-15 07:06:39 -08:00
constants Support resume-able upload via tus (#186) 2021-11-10 13:16:16 -05:00
effects Remove use-history-nav.js 2021-11-09 16:03:37 +08:00
modal selectClaimIsMineForUri to replace makeSelectClaimIsMine 2021-11-10 16:49:12 +08:00
page Attempt to speed up sidebar menu for mobile (#283) 2021-11-12 10:59:11 -05:00
redux Skip USER_STATE_POPULATE when sync_hash is the same 2021-11-15 07:06:39 -08:00
scss Support resume-able upload via tus (#186) 2021-11-10 13:16:16 -05:00
util Attempt to speed up sidebar menu for mobile (#283) 2021-11-12 10:59:11 -05:00
analytics.js Videojs component refactor (#240) 2021-11-12 09:56:46 -05:00
app.js refactor lbrytv web server 2019-11-11 13:27:29 -05:00
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 Support resume-able upload via tus (#186) 2021-11-10 13:16:16 -05:00
lbry.js Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08: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