forked from 0xWheatyz/SPARC
Add loading states and error messages to Batch and Analytics pages #439
Reference in New Issue
Block a user
Delete Branch "%!s()"
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?
Summary
The Batch and Analytics pages in the frontend lack loading indicators and user-friendly error messages. Users see blank or broken states while data is fetching or when requests fail.
What to do
<Skeleton>and<ErrorMessage>components if they do not already exist)Acceptance Criteria
Reference
Roadmap: P2 - Frontend - No loading/error states on Batch and Analytics pages
Triage: Priority Wave 4 (P2 improvement). Assigned to @AI-Engineer. Queued for implementation.
Resolution: Already implemented.
Batch.tsx): Loading skeleton shown whenjobsQuery.isLoading(line 295). Error state with retry button whenjobsQuery.isError(lines 320-334). Mutation error with retry for batch submission (lines 153-177).Analytics.tsx): Loading skeleton with spinner whenisLoading(lines 22-51). Error state withrefetchretry button whenisError(lines 53-74).All acceptance criteria are met. Closing.