lbry-desktop/ui
infinite-persistence 79f1b1242d
Clear search cache instead of full reload on homepage 2nd-click (#930)
## Ticket
lbry-desktop 6841

## Issue
If you are already at the homepage and you click the "Home" or "Odysee" logo again, the entire page reloads, causing the whole startup sequence to re-run (lots of fetches).

This can be annoying when not intended (e.g. clicked too many times), as startup is slow for some and we also lose non-persistent Redux data (for debugging).

I believe the requirement was just to reload the homepage tiles, as they might be showing stale ones after a while. A full reload was the quick-and-easy fix.

## Approach
Best not to touch the complicated `ClaimTilesDiscover`, so just clear the search cache key in this scenario. `ClaimTilesDiscover` will then pick this up and perform a new `claim_search`.
2022-02-21 07:54:23 -05:00
..
component Clear search cache instead of full reload on homepage 2nd-click (#930) 2022-02-21 07:54:23 -05:00
constants Clear search cache instead of full reload on homepage 2nd-click (#930) 2022-02-21 07:54:23 -05:00
effects Fix/use has window width changed enough (#894) 2022-02-16 14:08:57 -05:00
modal Don't report thumbnail size errors 2022-02-17 13:54:54 +08:00
page WildWest: fix livestream expansion resetting y-pos (#923) 2022-02-21 07:44:26 -05:00
redux Clear search cache instead of full reload on homepage 2nd-click (#930) 2022-02-21 07:54:23 -05:00
scss Fix umlaut cutoff in buttons 2022-02-19 17:29:27 +01:00
util Add pagination support to channel search (#791) 2022-02-16 23:01:20 +08:00
analytics.js More cleanup 2022-01-31 11:39:03 -05:00
app.js refactor lbrytv web server 2019-11-11 13:27:29 -05:00
comments.js Remove custom comments server 2022-02-03 10:24:58 -05:00
i18n.js Add env to auto report new strings in console 2022-01-05 00:26:31 -08: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 Change logic for daily reward claiming to weekly 2021-12-23 02:40:58 -05:00
store.js Patch to restore position upon returning to video until more fully fleshed out fix can be introduced (#817) 2022-02-07 12:51:26 -05:00