lbry-desktop/ui
infinite-persistence 6043b6101b ClaimTilesDiscover: pause visual update until new results are fetched
## Issue
GUI fix for 5979 `claim search runs twice sometimes and "refreshes" view`

The search query might encounter minor alterations after rendered (e.g. for the case of 5979, the `moderation.Blocklist` data came late). The code currently resets the result to 0 before initiating `claim_search`, so we see the GUI blink.

## Idea
There is a possibility that the query-change does not alter the final results in the end. Instead of reseting to the results to zero, hold on to the previous results until the fetch is done.

## Known issue
The tiles no longer blink if there is no change, but the "LIVE" indicator still does. I didn't want to propagate the info too deep, so leaving as is for now. It can be considered a feature ("blinking LIVE indicator" :))

## Results
- No blinking if results stay the same.
- Minimal tile-shifting if new ones are added or removed.
- In the current Odysee homepage, reduced React commits from 88 to 76 (save some CPU cycles).
2021-05-27 13:50:59 -04:00
..
component ClaimTilesDiscover: pause visual update until new results are fetched 2021-05-27 13:50:59 -04:00
constants Add/implement SettingsCreatorPage 2021-05-26 15:38:29 -04:00
effects Fix blank gif avatars (#6060) 2021-05-14 11:00:07 -04:00
modal allow sending directly to a channel or content address (#5990) 2021-05-20 15:30:40 -04:00
page Creator Settings now require a minimum staked LBC. 2021-05-26 15:38:29 -04:00
redux fix: ignore flow linter promise allsettled 2021-05-27 12:17:23 -04:00
scss Add sign-in graphics for SIMPLE_SITE 2021-05-27 14:21:16 +08:00
util allow sending directly to a channel or content address (#5990) 2021-05-20 15:30:40 -04:00
analytics.js integrate some Odysee code with master 2021-04-27 19:56:30 -04:00
app.js refactor lbrytv web server 2019-11-11 13:27:29 -05:00
comments.js Commentron Settings API 2021-05-26 15:38:29 -04:00
i18n.js Revert "Simplify language lists" 2021-04-06 15:42:27 -04:00
index.jsx When a new reward is acquired, only close modals if the reward comes from reward_code 2021-01-08 08:16:41 -07: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 use redux for livestream claim setup 2021-04-23 14:51:09 -04:00
rewards.js When a new reward is acquired, only close modals if the reward comes from reward_code 2021-01-08 08:16:41 -07:00
store.js CoinSwap: websocket + multi-coin 2021-04-13 14:02:25 -04:00