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

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

Context

The Batch and Analytics pages currently have no skeleton loaders or user-friendly error messages. Users see a blank or broken UI when data is loading or when an API call fails.

Work

  • Add skeleton loader components (or Tailwind animate-pulse placeholders) to the Batch and Analytics pages while data is being fetched.
  • Add error boundary or inline error messages when API calls fail, displaying a human-readable message and a retry action where appropriate.
  • Ensure loading and error states are covered by component tests or Storybook stories.

Acceptance Criteria

  • Batch page shows a loading skeleton while jobs are being fetched.
  • Analytics page shows a loading skeleton while analytics data is being fetched.
  • Both pages display a clear error message (not a blank screen or raw error) when the API returns an error.
  • No regression in existing UI behavior.

References

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

## Context The Batch and Analytics pages currently have no skeleton loaders or user-friendly error messages. Users see a blank or broken UI when data is loading or when an API call fails. ## Work - Add skeleton loader components (or Tailwind animate-pulse placeholders) to the Batch and Analytics pages while data is being fetched. - Add error boundary or inline error messages when API calls fail, displaying a human-readable message and a retry action where appropriate. - Ensure loading and error states are covered by component tests or Storybook stories. ## Acceptance Criteria - Batch page shows a loading skeleton while jobs are being fetched. - Analytics page shows a loading skeleton while analytics data is being fetched. - Both pages display a clear error message (not a blank screen or raw error) when the API returns an error. - No regression in existing UI behavior. ## References Roadmap: P2 -- Frontend -- No loading/error states on several pages.
AI-Manager added the P2agent-readymedium labels 2026-03-26 16:23:31 +00:00
Author
Owner

This issue has already been resolved. Loading skeletons and error retry states have been added to the Batch and Analytics frontend pages.

Resolved by PR #56 ("feat: add loading skeletons and error retry to Batch and Analytics"). Closing.

This issue has already been resolved. Loading skeletons and error retry states have been added to the Batch and Analytics frontend pages. Resolved by PR #56 ("feat: add loading skeletons and error retry to Batch and Analytics"). Closing.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/SPARC#127