lbry-desktop/ui/redux/actions
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
..
app.js Skip USER_STATE_POPULATE when sync_hash is the same 2021-11-15 07:06:39 -08:00
blocked.js Additional pop up menu options 2021-06-15 13:47:56 -04:00
claims.js Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
coinSwap.js CoinSwap: websocket + multi-coin 2021-04-13 14:02:25 -04:00
collections.js Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
comments.js Block: pass comment ID for deletion when being blocked. (#255) 2021-11-09 09:43:02 -05:00
content.js selectClaimIsMineForUri to replace makeSelectClaimIsMine 2021-11-10 16:49:12 +08:00
file.js Don't memoize selectors without transformation 2021-10-24 13:05:06 +08:00
file_info.js Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
livestream.js Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
notifications.js Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
publish.js Support resume-able upload via tus (#186) 2021-11-10 13:16:16 -05:00
reactions.js Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
reportContent.js Add 'ReportContent' actions/reducers/selectors 2021-04-21 10:49:31 -04:00
rewards.js Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
search.js Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
settings.js Revert "Code-split homepages" 2021-10-28 01:33:46 +08:00
subscriptions.js Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
sync.js Skip USER_STATE_POPULATE when sync_hash is the same 2021-11-15 07:06:39 -08:00
tags.js sync reducer stuff 2020-10-27 10:17:11 -04:00
user.js Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
wallet.js [New Feature] Stickers (#131) 2021-10-28 16:25:34 -04:00
websocket.js Livestream: implement Pinned Comments 2021-08-12 10:39:21 +08:00