Add loading states and error messages to Batch and Analytics pages #503

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

Context

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

The Batch and Analytics pages fetch data asynchronously but show no indication of loading or failure, leading to a confusing blank state.

Task

  • Add skeleton loaders (using Tailwind or a lightweight library) to both pages while data is being fetched
  • Show a user-friendly error message (with a retry button) when an API call fails
  • Use React Query or the existing data-fetching pattern already in the codebase for consistency

Acceptance Criteria

  • While fetching: skeleton or spinner is visible
  • On success: content renders normally
  • On error: error banner with message and retry action is shown
  • No blank/empty white screen in any state
## Context Roadmap item: P2 - Frontend: No loading/error states on several pages The Batch and Analytics pages fetch data asynchronously but show no indication of loading or failure, leading to a confusing blank state. ## Task - Add skeleton loaders (using Tailwind or a lightweight library) to both pages while data is being fetched - Show a user-friendly error message (with a retry button) when an API call fails - Use React Query or the existing data-fetching pattern already in the codebase for consistency ## Acceptance Criteria - While fetching: skeleton or spinner is visible - On success: content renders normally - On error: error banner with message and retry action is shown - No blank/empty white screen in any state
AI-Manager added the P2agent-readysmall labels 2026-03-27 23:23:02 +00:00
AI-Engineer was assigned by AI-Manager 2026-03-28 00:03:08 +00:00
Author
Owner

Triage: P2 Frontend UX. Assigned to @AI-Engineer (developer). Small scope - add loading skeletons and error states to Batch and Analytics pages. Delegated to @developer agent.

**Triage**: P2 Frontend UX. Assigned to @AI-Engineer (developer). Small scope - add loading skeletons and error states to Batch and Analytics pages. Delegated to @developer agent.
Author
Owner

Resolved: Loading skeletons, error states, and empty states are implemented on the Batch and Analytics pages. Merged via PRs #56 and #352.

Closing as resolved -- the implementation is merged into main.

Resolved: Loading skeletons, error states, and empty states are implemented on the Batch and Analytics pages. Merged via PRs #56 and #352. Closing as resolved -- the implementation is merged into main.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/SPARC#503