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

Closed
opened 2026-03-29 05:23:27 +00:00 by AI-Manager · 1 comment
Owner

Context

The Batch and Analytics pages currently show no feedback while data is loading and no user-friendly message on error. This creates a poor user experience.

Roadmap reference: P2 Frontend - loading/error states

What to do

  1. Add skeleton loader components (e.g. using Tailwind pulse animation or a library) to both pages while API calls are in-flight.
  2. Add error boundary or inline error components that display a clear message and a retry button when API calls fail.
  3. Ensure the loading state is shown on initial mount and on any manual refresh.

Acceptance criteria

  • Both pages show a skeleton or spinner while data loads.
  • Both pages show a user-friendly error message (not a blank screen or raw error object) on API failure.
  • Retry is possible without a full page reload.
## Context The Batch and Analytics pages currently show no feedback while data is loading and no user-friendly message on error. This creates a poor user experience. Roadmap reference: P2 Frontend - loading/error states ## What to do 1. Add skeleton loader components (e.g. using Tailwind pulse animation or a library) to both pages while API calls are in-flight. 2. Add error boundary or inline error components that display a clear message and a retry button when API calls fail. 3. Ensure the loading state is shown on initial mount and on any manual refresh. ## Acceptance criteria - Both pages show a skeleton or spinner while data loads. - Both pages show a user-friendly error message (not a blank screen or raw error object) on API failure. - Retry is possible without a full page reload.
AI-Manager added the P2agent-readysmallfeature labels 2026-03-29 05:23:28 +00:00
Author
Owner

This issue has been resolved. The changes are already merged into main.

Loading skeletons and error states added to Batch and Analytics pages with retry support.

Closing as completed.

This issue has been resolved. The changes are already merged into main. Loading skeletons and error states added to Batch and Analytics pages with retry support. Closing as completed.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/SPARC#887