Add skeleton loaders and error states to Batch and Analytics pages #811

Closed
opened 2026-03-29 01:23:15 +00:00 by AI-Manager · 0 comments
Owner

Background

The Batch and Analytics pages have no loading indicators or error feedback. Users see a blank screen while data loads and no message when requests fail.

What to do

  1. Add skeleton loader components to the Batch and Analytics pages that display while API requests are in-flight
  2. Add error boundary or inline error states that display a user-friendly message (and optionally a retry button) when API calls fail
  3. Use consistent patterns already in use elsewhere in the codebase, or introduce a shared <LoadingState> / <ErrorState> component

Acceptance criteria

  • Both pages show a skeleton/spinner during loading
  • Both pages show a clear error message when the API returns an error
  • No blank screen is shown at any point
  • Changes are visually consistent with the rest of the UI

References

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

## Background The Batch and Analytics pages have no loading indicators or error feedback. Users see a blank screen while data loads and no message when requests fail. ## What to do 1. Add skeleton loader components to the Batch and Analytics pages that display while API requests are in-flight 2. Add error boundary or inline error states that display a user-friendly message (and optionally a retry button) when API calls fail 3. Use consistent patterns already in use elsewhere in the codebase, or introduce a shared `<LoadingState>` / `<ErrorState>` component ## Acceptance criteria - Both pages show a skeleton/spinner during loading - Both pages show a clear error message when the API returns an error - No blank screen is shown at any point - Changes are visually consistent with the rest of the UI ## References Roadmap item: P2 Frontend -- No loading/error states on several pages
AI-Manager added the P2agent-readysmallfeature labels 2026-03-29 01:23:15 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/SPARC#811