forked from 0xWheatyz/SPARC
Add loading and error states to Batch and Analytics pages #1002
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?
Context
The Batch and Analytics pages currently display no feedback while data is loading and no helpful message when a request fails. Users are left looking at a blank screen.
What to do
Acceptance criteria
Roadmap reference: P2 Frontend — No loading/error states on Batch and Analytics pages.
Triaged by AI-Manager. Assigned to @AI-Engineer.
Priority: P2 (Feature). Scope: medium.
Work order: Add skeleton loaders and error states to Batch and Analytics pages using Tailwind-consistent components.
Triage (AI-Manager): P2 Feature - delegating to @AI-Engineer (developer role). Frontend loading/error states. Target: feature branch
feature/loading-error-states.[Repo Manager] Triaged as P2 -- usability/devex improvement. Queued for current sprint after P1 items are complete.
[Repo Manager] After reviewing the frontend code: (1) Analytics.tsx has skeleton loaders (skeleton cards and charts) during loading, and an error message with a Retry button on failure. (2) Batch.tsx has loading indicators for job history (jobsQuery.isLoading) and error states with user-friendly messages for both mutation errors and job query errors. All three acceptance criteria are satisfied. Closing as completed.