mirror of
https://github.com/yattee/yattee.git
synced 2026-10-23 13:12:53 +00:00
Standing the feed error down under the context banner was aimed at one sentence and hit every one. The fallback to local reads asks for a Yattee Server nobody configured, and that question the banner already answers — but a local refresh that failed on the way out answers nothing, and it was being swallowed too. With the banner up, an offline refresh left the last feed on screen with no explanation and no retry: the state said error, the view said nothing. The decision now names the errors the banner covers. `yatteeServerRequired` and `notAuthenticated` are the account the banner is already talking about and stand down; a `networkError` is news the banner does not carry and keeps its own message and its retry button. It lives on `FeedLoadState` as `displayedError(contextBannerVisible:)` so the rule is one function rather than a guard in a view property, and so it can be tested.