bsky-app/src/state
dan 57be2ea15b
Don't kick to login screen on network error (#4911)
* Don't kick the user on network errors

* Track online status for RQ

* Use health endpoint

* Update test with new behavior

* Only poll while offline

* Handle races between the check and network events

* Reduce the poll kickoff interval

* Don't cache partially fetched pinned feeds

This isn't a new issue but it's more prominent with the offline handling. We're currently silently caching pinned infos that failed to fetch. This avoids showing a big spinner on failure but it also kills all feeds which is very confusing. If the request to get feed gens fails, let's fail the whole query.

Then it can be retried.
2024-08-13 18:51:49 +01:00
..
cache Migrate local thread mutes (#4523) 2024-06-19 00:05:59 +03:00
dialogs Fix dialogs state references, fixes Android back button (#3314) 2024-03-21 12:06:39 -05:00
messages [🐴] Option to share via chat in post dropdown (#4231) 2024-05-31 11:10:00 -05:00
modals Composer - replace threadgate modal with alf dialog (#4329) 2024-06-24 23:15:11 +01:00
models/media Share Extension/Intents (#2587) 2024-02-27 15:22:03 -08:00
persisted [Videos] Video player - PR #2 - better web support (#4732) 2024-08-07 18:47:51 +01:00
preferences [Videos] Video player - PR #2 - better web support (#4732) 2024-08-07 18:47:51 +01:00
queries Don't kick to login screen on network error (#4911) 2024-08-13 18:51:49 +01:00
session Don't kick to login screen on network error (#4911) 2024-08-13 18:51:49 +01:00
shell Show just-posted replies above OP replies (#4901) 2024-08-08 19:19:58 +01:00
a11y.tsx Add PlatformInfo module (#4877) 2024-08-05 12:21:34 -07:00
events.ts Don't kick to login screen on network error (#4911) 2024-08-13 18:51:49 +01:00
feed-feedback.tsx Remove .withProxy() calls (#4929) 2024-08-13 00:20:39 -07:00
invites.tsx [Persisted] Make broadcast subscriptions granular by key (#4874) 2024-08-06 01:30:52 +01:00
lightbox.tsx Use non-reactive callbacks for some methods (#1948) 2023-11-16 22:18:37 -08:00
userActionHistory.ts Include follow-based suggestions in interstitial (#4889) 2024-08-08 15:49:34 +01:00
util.ts Revert to old modal on android (#4458) 2024-06-11 05:10:57 +02:00