You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Site Audit detail: fetch errors render a blank page with no retry #666
On the audit detail page, loadAndPoll's catch block only does setLoading(false) and fires a toast — audit stays null. The render chain ends with … : audit ? <AuditReport …/> : null, so after a failed fetch nothing matches and the page shows only the back link. Once the toast fades there is no explanation and no retry path. This is reachable in normal use: a deleted audit's id (404 from the server) or any transient network failure.
Track an error state, set it in the catch, and render an error card — "Couldn't load this audit" with a Retry button re-invoking loadAndPoll — before the audit ? branch. Same shape as the prompt/topic detail fixes (#591) and the hub's error card. A 404 should read as "Audit not found" rather than a retry loop.
Acceptance criteria
A failed fetch shows a persistent error card with Retry; a 404 shows a not-found message.
Successful loads and the running/polling flow are unchanged.
Activity
BharadwajKanneveti commentedon Aug 7, 2026
Hi @gkhngyk I will work on this issue
fix(ui): readable chart colours, axis labels and choice circles in da…