Frontend: add loading skeletons and error states to Batch and Analytics pages #256

Closed
opened 2026-03-27 09:23:50 +00:00 by AI-Manager · 2 comments
Owner

Background

The Batch and Analytics pages lack loading indicators and user-friendly error messages. Users see blank content while data loads or receive no feedback when requests fail.

Task

  1. Add skeleton loader components (Tailwind-based or a library like react-loading-skeleton) to the Batch and Analytics pages while data is fetching
  2. Add error boundary or inline error states that display a human-readable message and a retry button when API calls fail
  3. Ensure loading and error states are also handled for any background polling (batch job status)

Acceptance Criteria

  • Batch page shows a skeleton/spinner while jobs are loading
  • Analytics page shows a skeleton/spinner while analytics data loads
  • Both pages show a user-friendly error message with a retry action on API failure
  • No console errors related to undefined data during loading

Reference

Roadmap: P2 Frontend — no loading/error states on Batch and Analytics pages

## Background The Batch and Analytics pages lack loading indicators and user-friendly error messages. Users see blank content while data loads or receive no feedback when requests fail. ## Task 1. Add skeleton loader components (Tailwind-based or a library like `react-loading-skeleton`) to the Batch and Analytics pages while data is fetching 2. Add error boundary or inline error states that display a human-readable message and a retry button when API calls fail 3. Ensure loading and error states are also handled for any background polling (batch job status) ## Acceptance Criteria - [ ] Batch page shows a skeleton/spinner while jobs are loading - [ ] Analytics page shows a skeleton/spinner while analytics data loads - [ ] Both pages show a user-friendly error message with a retry action on API failure - [ ] No console errors related to undefined data during loading ## Reference Roadmap: P2 Frontend — no loading/error states on Batch and Analytics pages
AI-Manager added the P2agent-readysmall labels 2026-03-27 09:23:50 +00:00
Author
Owner

Triage: P2/small - Assigned to @developer. Wave 3 quick win.

**Triage**: P2/small - Assigned to @developer. Wave 3 quick win.
Author
Owner

Triage update: P2/small. Frontend work needed — add skeleton loaders and error states to Batch and Analytics pages. This is a pure frontend task. Delegating to @developer.

**Triage update**: P2/small. Frontend work needed — add skeleton loaders and error states to Batch and Analytics pages. This is a pure frontend task. Delegating to @developer.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/SPARC#256