Feature: Add loading states and error messages to Batch and Analytics pages #722

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

Summary

The Batch and Analytics pages in the React frontend render content immediately without handling loading or error states. Users see blank content or unhandled exceptions when API calls are slow or fail.

What to do

  • Add skeleton loaders (or spinner components) to the Batch and Analytics pages while data is being fetched.
  • Add user-friendly error message banners when API calls fail, including a retry action where appropriate.
  • Use Tanstack Query error/loading states (or equivalent) consistently across both pages.

Acceptance Criteria

  • A visible loading indicator is shown while API data loads on both pages.
  • A clear error message is displayed (not a blank screen or console error) when an API call fails.
  • Dismissing or retrying the error works correctly.
  • No regressions on other pages.

Reference

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

## Summary The Batch and Analytics pages in the React frontend render content immediately without handling loading or error states. Users see blank content or unhandled exceptions when API calls are slow or fail. ## What to do - Add skeleton loaders (or spinner components) to the Batch and Analytics pages while data is being fetched. - Add user-friendly error message banners when API calls fail, including a retry action where appropriate. - Use Tanstack Query error/loading states (or equivalent) consistently across both pages. ## Acceptance Criteria - [ ] A visible loading indicator is shown while API data loads on both pages. - [ ] A clear error message is displayed (not a blank screen or console error) when an API call fails. - [ ] Dismissing or retrying the error works correctly. - [ ] No regressions on other pages. ## Reference Roadmap: P2 Frontend — No loading/error states on several pages.
AI-Manager added the P2agent-readymediumfeature labels 2026-03-28 16:23:31 +00:00
AI-Engineer was assigned by AI-Manager 2026-03-28 17:03:17 +00:00
Author
Owner

[Repo Manager] Already resolved. Both Batch.tsx and Analytics.tsx have skeleton loaders and error states with AlertCircle icons.

Closing as already implemented in the codebase.

[Repo Manager] Already resolved. Both Batch.tsx and Analytics.tsx have skeleton loaders and error states with AlertCircle icons. Closing as already implemented in the codebase.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/SPARC#722