lbry-desktop/ui
infinite-persistence ce9a1c128c
Show-page: fix "no content found" flicker (#1546)
* Show-page: split out some effects

Break apart the large effect for easier tweaking, abiding by the 1-action-per-effect guideline.

This also fixes the dependency list. After checking with Haffa, the exclusion of `pathname` and `hash` from the list is probably to avoid hitting `doResolveUri`. This should no longer be an issue after the split, so no suppression needed.

* Show-page: fix "no content found" flicker

## Issue
1539: "Recently been seeing a flicker of "content not found" when direct loading content or channel links on mobile"

## Cause
`doResolveUri` can only be called after the initial mount (in the effect), so at first render, `isResolvingUri` won't be set yet, so we briefly ended up in the "no content found" path.

## Change
Factor out the logic that determines if we should send `doResolveUri`. This allows us to know that the upcoming effect will be sending `doResolveUri`, so we can hold off displaying "no content found".

* Show-page: don't delay the spinner when resolving

## Reason
The delay causes a blank page + footer, which looks bad.
2022-05-24 06:39:21 -04:00
..
component Automatically set default channel on sign up (#1559) 2022-05-24 06:18:26 -04:00
constants Clean up @odysee membership channel definition 2022-05-23 10:53:24 +08:00
contexts Category: Hide "Repost" from ContentType filter, except for WildWest 2022-04-25 08:49:46 -04:00
effects ClaimList: Factor out infinite-scroll and batch-resolve handling into an effect. 2022-05-16 07:57:24 -04:00
modal Add announcement modal and open it after prefs sync'd. 2022-05-20 00:04:06 +08:00
page Show-page: fix "no content found" flicker (#1546) 2022-05-24 06:39:21 -04:00
redux Automatically set default channel on sign up (#1559) 2022-05-24 06:18:26 -04:00
scss Remove relative paths in sass (#1540) 2022-05-20 09:07:32 -04:00
util Add announcement modal and open it after prefs sync'd. 2022-05-20 00:04:06 +08:00
analytics.js more analytics + fixes (#1476) 2022-05-17 10:47:44 -04:00
app.js
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 Re-design comment threads (#1489) 2022-05-16 06:22:13 -04:00
lbry.js Revert "Temporarily prevent invalid get calls until we figure it out" (#1529) 2022-05-18 20:37:53 -04:00
logWarningConsoleMessage.js
native.js
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 Add 'lastViewedAnnouncement' into wallet. 2022-05-20 00:04:06 +08:00