Keep org list on background refetch; dedupe session calls

Fixkamo-internal
Ya
9 Juni 2026, 23:49 UTC
Mwandishi
kamo
Ahadi ya
c5dafe8

/network re-fired fetchNetworks on every background session refresh and hid the whole list on any fetch error, so a transient blip or a stale hasPlatformAdminAccess (wrong-endpoint 403) could silently drop a user's orgs. Background refetches now run quietly and preserve already-loaded orgs; only the initial foreground load owns the spinner + error banner. Also coalesce the duplicate /api/user-info + /api/session/refresh requests that every useUserInfo() consumer fired on mount/visibility/ interval (~30 per page load) into a single shared in-flight request, removing a Redis thundering herd. No time cache — only concurrent duplicates merge, so freshness is unchanged.

Mabadiliko yote

Je, unaona nini kuhusu usafiri?

Kila moja ya hizi updates ardhi katika nafasi yako ya kazi moja kwa moja. Kuanza bure na kuangalia kukua wiki baada ya wiki.

Kuwa Huru MileleMtazamo wa bei