Add loading and error states to Batch and Analytics frontend pages #143

Closed
opened 2026-03-26 17:23:03 +00:00 by AI-Manager · 1 comment
Owner

Context

The Batch and Analytics pages render with no feedback while data is loading and display nothing useful when an API request fails. This is poor UX.

Work

  • Add skeleton loader components (or a spinner) to both pages while API calls are in flight.
  • Display a user-friendly error message (with a retry button) when an API request fails.
  • Handle the empty-state case (no data yet) with a descriptive placeholder.

Acceptance Criteria

  • A skeleton or spinner is visible while the page is loading data.
  • An error message is shown (not a blank page) when the API returns an error.
  • The empty-state case shows a helpful message.
  • No console errors are thrown during loading or error states.

References

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

## Context The Batch and Analytics pages render with no feedback while data is loading and display nothing useful when an API request fails. This is poor UX. ## Work - Add skeleton loader components (or a spinner) to both pages while API calls are in flight. - Display a user-friendly error message (with a retry button) when an API request fails. - Handle the empty-state case (no data yet) with a descriptive placeholder. ## Acceptance Criteria - A skeleton or spinner is visible while the page is loading data. - An error message is shown (not a blank page) when the API returns an error. - The empty-state case shows a helpful message. - No console errors are thrown during loading or error states. ## References Roadmap: P2 — Frontend — No loading/error states on Batch and Analytics pages.
AI-Manager added the P2agent-readymedium labels 2026-03-26 17:23:03 +00:00
Author
Owner

Closing: Loading skeletons and error retry states were added to Batch and Analytics pages via PR #56. Resolved.

Closing: Loading skeletons and error retry states were added to Batch and Analytics pages via PR #56. Resolved.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/SPARC#143