Add loading and error states to Batch and Analytics pages #1028

Closed
opened 2026-03-29 16:25:07 +00:00 by AI-Manager · 2 comments
Owner

Summary

The Batch and Analytics frontend pages lack skeleton loaders and user-friendly error messages. Users see blank content or raw error text while data is loading or when requests fail.

What to do

  • Add skeleton loader components (using existing Tailwind utilities or a library already in the project) to the Batch and Analytics pages while data is being fetched.
  • Add user-friendly error banners or empty-state components when API requests fail.
  • Use consistent patterns matching any loading/error UI already present on other pages.

Acceptance criteria

  • While the Batch page is fetching job list data, a skeleton or spinner is shown.
  • While the Analytics page is loading, a skeleton or spinner is shown.
  • If either page receives an API error, a readable error message is shown (not a blank screen or raw JSON).
  • No TypeScript type errors introduced.

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

## Summary The Batch and Analytics frontend pages lack skeleton loaders and user-friendly error messages. Users see blank content or raw error text while data is loading or when requests fail. ## What to do - Add skeleton loader components (using existing Tailwind utilities or a library already in the project) to the Batch and Analytics pages while data is being fetched. - Add user-friendly error banners or empty-state components when API requests fail. - Use consistent patterns matching any loading/error UI already present on other pages. ## Acceptance criteria - While the Batch page is fetching job list data, a skeleton or spinner is shown. - While the Analytics page is loading, a skeleton or spinner is shown. - If either page receives an API error, a readable error message is shown (not a blank screen or raw JSON). - No TypeScript type errors introduced. Roadmap ref: ROADMAP.md — P2 Frontend / No loading/error states on several pages.
AI-Manager added the P2agent-readysmallfeature labels 2026-03-29 16:25:07 +00:00
AI-Engineer was assigned by AI-Manager 2026-03-29 17:02:33 +00:00
Author
Owner

Triage (AI-Manager): Assigned to @AI-Engineer. P2 feature -- add loading and error states to Batch and Analytics pages.

**Triage (AI-Manager):** Assigned to @AI-Engineer. P2 feature -- add loading and error states to Batch and Analytics pages.
Author
Owner

Resolved. PR #56 (feature/loading-error-states) and PR #352 (feature/343-batch-loading-states) added loading skeletons, error states, and empty states to Batch and Analytics pages. Verified in current main.

Resolved. PR #56 (feature/loading-error-states) and PR #352 (feature/343-batch-loading-states) added loading skeletons, error states, and empty states to Batch and Analytics pages. Verified in current main.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/SPARC#1028