lbry-desktop/ui/redux/actions
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
..
app.js Fix wrong param for selector (#874) 2022-02-15 10:35:39 -05:00
blocked.js Additional pop up menu options 2021-06-15 13:47:56 -04:00
claims.js Clear search cache instead of full reload on homepage 2nd-click (#930) 2022-02-21 07:54:23 -05:00
coinSwap.js CoinSwap: websocket + multi-coin 2021-04-13 14:02:25 -04:00
collections.js fix RESOLVE_URIS_COMPLETED, to have one large action instead of hundr… (#798) 2022-02-07 12:39:12 -05:00
comments.js Fixes 2022-02-08 12:35:40 -05:00
content.js Refactor fileRenderIninitiator component 2022-02-08 12:35:40 -05:00
file.js Fix doAbandonClaim (#699) 2022-01-14 14:26:03 -05:00
file_info.js Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
livestream.js Add a better solution for 304 browser bug + update naming conventions to better articulate what's happening (#603) 2022-01-06 12:49:49 -05:00
notifications.js Defer notification/categories 2021-12-29 09:15:06 -05:00
publish.js Bump thumbnail size to 5MB & check size before upload. 2022-02-09 11:14:46 -05:00
reactions.js Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
reportContent.js update reports endpoint. 2022-02-09 15:06:38 -05:00
rewards.js Change logic for daily reward claiming to weekly 2021-12-23 02:40:58 -05:00
search.js Add back support for Winning Uri 2021-12-09 15:35:40 -05:00
settings.js i18n: restore ability to retrieve new i18n strings 2022-01-03 10:36:12 +08:00
subscriptions.js Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
sync.js Sync: fix new user sign up flow 2022-01-05 04:00:12 -05:00
tags.js Remove content_tags and related functions 2021-12-13 11:54:53 -05:00
user.js Defer user/invite_status from startup 2022-01-21 09:19:17 -05:00
wallet.js [New Feature] Stickers (#131) 2021-10-28 16:25:34 -04:00
websocket.js [Live Chat] Break down componets for Page Layout + Add ability to Pop Out chat window + Hide chat option (#681) 2022-01-14 15:24:16 -05:00