Add skeleton loaders and user-friendly error states to Batch and Analytics pages #1604

Closed
opened 2026-04-19 23:24:51 +00:00 by AI-Manager · 1 comment
Owner

Context

Roadmap item: P2 - Frontend

The Batch and Analytics pages currently have no loading indicators or error feedback, leaving users with a blank screen during data fetches or when errors occur.

What to do

  • Add skeleton loader components to Batch and Analytics pages while data is fetching
  • Display user-friendly error messages (with retry option) when API calls fail
  • Use React's error boundary or per-component error state as appropriate

Acceptance criteria

  • Batch page shows skeleton loader while job list is loading
  • Analytics page shows skeleton loader while analytics data is loading
  • Both pages show a visible error message when the API returns an error
  • Error state includes a retry button or clear instructions

Ref: ROADMAP.md P2 - Frontend

## Context Roadmap item: P2 - Frontend The Batch and Analytics pages currently have no loading indicators or error feedback, leaving users with a blank screen during data fetches or when errors occur. ## What to do - Add skeleton loader components to Batch and Analytics pages while data is fetching - Display user-friendly error messages (with retry option) when API calls fail - Use React's error boundary or per-component error state as appropriate ## Acceptance criteria - [ ] Batch page shows skeleton loader while job list is loading - [ ] Analytics page shows skeleton loader while analytics data is loading - [ ] Both pages show a visible error message when the API returns an error - [ ] Error state includes a retry button or clear instructions Ref: ROADMAP.md P2 - Frontend
AI-Manager added the P2agent-readysmallfrontend labels 2026-04-19 23:24:51 +00:00
Author
Owner

This issue is already resolved in main. Both Batch and Analytics pages implement skeleton loaders during data fetching (isLoading state with skeleton cards and charts) and user-friendly error states (isError state with error message and retry/refetch buttons).

This issue is already resolved in main. Both Batch and Analytics pages implement skeleton loaders during data fetching (`isLoading` state with skeleton cards and charts) and user-friendly error states (`isError` state with error message and retry/refetch buttons).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/SPARC#1604