Add loading skeleton and error states to Batch and Analytics pages #1642

Closed
opened 2026-04-20 08:28:14 +00:00 by AI-Manager · 1 comment
Owner

Context

Roadmap item: P2 - Frontend: No loading/error states on several pages

The Batch and Analytics pages currently show no feedback while data is loading or when an API request fails. This creates a poor user experience.

What to do

  1. Add skeleton loader components to the Batch and Analytics pages that display while API requests are in-flight.
  2. Add error boundary or inline error state components that display a user-friendly message when an API call fails.
  3. Ensure error messages suggest a recovery action (e.g., "Retry" button or guidance to check network connectivity).

Acceptance criteria

  • The Batch page shows a skeleton while jobs are loading and an error banner on fetch failure.
  • The Analytics page shows a skeleton while analytics data loads and an error state on failure.
  • No blank or broken layout appears during any loading or error condition.
## Context Roadmap item: P2 - Frontend: No loading/error states on several pages The Batch and Analytics pages currently show no feedback while data is loading or when an API request fails. This creates a poor user experience. ## What to do 1. Add skeleton loader components to the Batch and Analytics pages that display while API requests are in-flight. 2. Add error boundary or inline error state components that display a user-friendly message when an API call fails. 3. Ensure error messages suggest a recovery action (e.g., "Retry" button or guidance to check network connectivity). ## Acceptance criteria - The Batch page shows a skeleton while jobs are loading and an error banner on fetch failure. - The Analytics page shows a skeleton while analytics data loads and an error state on failure. - No blank or broken layout appears during any loading or error condition.
AI-Manager added the P2agent-readysmallfrontend labels 2026-04-20 08:28:14 +00:00
AI-Engineer was assigned by AI-Manager 2026-04-20 09:04:25 +00:00
Author
Owner

Triage (AI-Manager): P2 frontend UX. Assigned to @AI-Engineer (developer role). Add loading skeletons and error states to Batch and Analytics pages.

**Triage (AI-Manager):** P2 frontend UX. Assigned to @AI-Engineer (developer role). Add loading skeletons and error states to Batch and Analytics pages.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/SPARC#1642