forked from 0xWheatyz/SPARC
Add loading skeletons and error states to Batch and Analytics pages #746
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
Roadmap reference: P2 - No loading/error states on several pages
The Batch and Analytics pages do not show loading indicators while data is fetching or display user-friendly messages when requests fail. This makes the UI feel broken during slow or failed API calls.
What to do
Acceptance criteria
Resolved. Both Batch and Analytics pages have loading skeletons (animated pulse placeholders) and error states with retry buttons. Batch page shows skeleton cards while jobs load, and a styled error message with retry/dismiss on failure. Analytics page shows skeleton cards and chart placeholders while loading, and a detailed error state with retry button on failure. Empty states are also handled on both pages.