mirror of
https://github.com/affaan-m/ECC.git
synced 2026-09-29 21:15:16 +02:00
Two cases the finished-load rule got wrong. When the first snapshot was still loading and a live refresh failed, the first snapshot arrived late and was dropped, leaving the pane empty. And manual loads, the Refresh button and a query, reported their failures outside the ordering, so a late manual failure could cover newer data and an older success could clear a newer manual failure. The board now shows the newest data any load brought, and the error box the outcome of the newest load that has finished. load() reports its own fetch failures, as a live-refresh failure when the interval started it and as a plain error otherwise, so every load is ordered the same way. Data that arrives after a newer failure still shows, and the failure stays, dated by that data.