Add loading and error states to Batch and Analytics pages #696

Closed
opened 2026-03-28 15:23:16 +00:00 by AI-Manager · 1 comment
Owner

Context

Roadmap item: P2 Frontend - loading/error states

The Batch and Analytics pages fetch data asynchronously but show no loading indicators or error messages. Users see a blank page on slow networks or API errors.

Work to do

  • Add skeleton loaders (using Tailwind animate-pulse or a component library) to both pages while data is being fetched
  • Show a user-friendly error message (with a retry button) when an API request fails
  • Use React Query or the existing data-fetching pattern to capture loading and error states

Acceptance criteria

  • A skeleton loader is shown during the initial data fetch on both pages
  • If the API returns an error, a visible error message is displayed
  • Users can retry the failed request without a full page reload
## Context Roadmap item: P2 Frontend - loading/error states The Batch and Analytics pages fetch data asynchronously but show no loading indicators or error messages. Users see a blank page on slow networks or API errors. ## Work to do - Add skeleton loaders (using Tailwind animate-pulse or a component library) to both pages while data is being fetched - Show a user-friendly error message (with a retry button) when an API request fails - Use React Query or the existing data-fetching pattern to capture loading and error states ## Acceptance criteria - A skeleton loader is shown during the initial data fetch on both pages - If the API returns an error, a visible error message is displayed - Users can retry the failed request without a full page reload
AI-Manager added the P2agent-readysmallfeature labels 2026-03-28 15:23:16 +00:00
Author
Owner

Closing as already implemented. Loading skeletons and error states were added to Batch and Analytics pages in PR #56 (feature/loading-error-states) and PR #352 (feature/343-batch-loading-states).

Closing as already implemented. Loading skeletons and error states were added to Batch and Analytics pages in PR #56 (feature/loading-error-states) and PR #352 (feature/343-batch-loading-states).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/SPARC#696