fix(web): surface admin API-fetch failures instead of empty/zero state #462
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/BUNYIP-461-admin-api-error-state"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Every admin list handler that fetched with
unwrap_or_default()/.ok()now captures reachability first and renderserror_box(...)when the API is unreachable, instead of showing an empty/zero state.Why
A down bunyip-api rendered as "No applications" / "No feedback yet" / "No audit logs found" and 0-value dashboard stats - indistinguishable from a genuinely-empty result. UI audit (BUNYIP-455) finding F16. The canonical fix already lived in ip_bans/rate_limits/error_log; this brings the rest into line.
Covered
applications, application groups (list + edit), entitlements (products + granted), audit log, feedback (active/closed/spam + archive), admin dashboard (stat tiles + recent activity), seed templates.
Verify
just check-container(fmt + clippy-D warnings+ workspace tests) passes. Row markup byte-identical; only the reachable branch is added.Closes BUNYIP-461.